- 博客(3)
- 收藏
- 关注
原创 QGIS使用OGR命令行工具
今日碎碎念:“ogr2ogr -skipfailures -clipsrc e:\experiment...”"-skipfailures"前有空格!忙活一早上。2019/4/5 16:34"cd c:\data\PhiladelphiaBaseLayers" OK没问题。"cd c:\ArcGIS" OK没问题。以上都能成功切换操作路径,但在E盘的数据就不...
2019-04-05 10:55:48
1258
1
原创 postgresql实现矩阵相加,矩阵相乘
两个存储图的稀疏矩阵:graph,graph_2(等我知道怎么改表名...)表graph表graph_2傻孩子首先应老师要求把表graph.x的数据类型由int改成float。矩阵相加注意coalesce(g1.x+g2.x,g1.x,g2.x)as x,相加结果在前。(之前搞错了嘛)老师的方法矩阵相乘...
2018-05-29 19:25:32
1458
1
原创 PostgreSQL-Distance
create table pt_tmp(id int,pt geometry);insert into pt_tmp values(1,'point(1 1)'),(2,'point(2 1)'),(3,'point(2 7)');计算欧式距离:select p1.id as id1,p2.id as id2,st_distance(p1.pt,p2.pt)from pt_tmp p1,p...
2018-04-23 10:15:58
1175
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅