苏小测

导航

 

2020年5月23日

摘要: 这里的程序是指GDAL安装后提供的exe文件或py脚本等,可直接通过命令行等方式运行。 Raster programs gdalinfo: 列出栅格数据集信息. gdal_translate: 栅格格式转换. gdaladdo: 建立或重建金字塔. gdalwarp: 影像重投影和变形工具. gda 阅读全文
posted @ 2020-05-23 21:17 苏小测 阅读(585) 评论(0) 推荐(0) 编辑
 
摘要: 阅读全文
posted @ 2020-05-23 21:15 苏小测 阅读(296) 评论(0) 推荐(0) 编辑
 
摘要: 阅读全文
posted @ 2020-05-23 21:14 苏小测 阅读(153) 评论(0) 推荐(0) 编辑
 

2020年3月25日

摘要: 有时候在vscode里自动安装python language server 很慢,可以下载nupkg,如 https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.5.45.nu 阅读全文
posted @ 2020-03-25 21:39 苏小测 阅读(5295) 评论(0) 推荐(1) 编辑
 

2020年2月24日

摘要: https://gis.stackexchange.com/questions/146855/gdal-array-savearray-leaves-dataset-open-in-python Saving and closing datasets/datasources To save and 阅读全文
posted @ 2020-02-24 14:51 苏小测 阅读(2361) 评论(0) 推荐(0) 编辑
 

2020年2月21日

摘要: 300多万要素记录的某图层,根据某字段统计各分类值的数量 方法1:FeatureClassToNumPyArray、numpy.unique uni=np.unique(nd) for i in uni: print i[0],np.sum(nd==i) 方法2:SearchCursor、Count 阅读全文
posted @ 2020-02-21 10:53 苏小测 阅读(512) 评论(0) 推荐(0) 编辑
 

2020年1月4日

摘要: xlrd可以读xls、xlsx; xlwt可以写xls; openpyxl可以读写xlsx 以下摘自 https://stackoverflow.com/questions/58328776/differences-between-xlwings-vs-openpyxl-reading-excel- 阅读全文
posted @ 2020-01-04 16:02 苏小测 阅读(8699) 评论(0) 推荐(1) 编辑
 

2019年12月25日

摘要: 分析工具——相交,选择待检查的图层, 用删除重复工具,删除几何相同的重复图斑,剩余的即为重叠图斑 阅读全文
posted @ 2019-12-25 09:31 苏小测 阅读(922) 评论(0) 推荐(0) 编辑
 

2019年12月24日

摘要: 用64位python进行arcpy字段计算时,注意不要用VB表达式 阅读全文
posted @ 2019-12-24 14:43 苏小测 阅读(562) 评论(0) 推荐(0) 编辑
 

2019年12月16日

摘要: https://blog.csdn.net/mgicshen/article/details/23929935 python的默认中文内部编码为unicode,而windows用的是GBK,也称cp936(因为在标准的936页),也称ANSI(windows记事本里把它划归为ANSI)。linux用 阅读全文
posted @ 2019-12-16 15:19 苏小测 阅读(1116) 评论(0) 推荐(0) 编辑