![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
地理信息
jingqiulyue
迭代升级中
展开
-
shp解析例子
# import shapefile # import os # file = shapefile.Reader("result/water_mask/layers/Polygon.shp") # # shapes = file.shapes() # filename = 'shp_point_data.txt' # if(os.path.exists(filename)): # os.r...原创 2019-11-20 15:20:38 · 602 阅读 · 0 评论 -
arcpy
https://conda.anaconda.org/esri/linux-64 https://www.giserdqy.com/arcgis/arcpy/31441/ https://blog.csdn.net/allenlu2008/article/details/83901070 conda install -c esri arcgis-server-10.6-py3原创 2019-11-19 17:00:53 · 325 阅读 · 0 评论 -
栅格转shp
import arcpy from arcpy import env env.workspace = "E:/data/temp/data" field = "VALUE" inRaster = "single_" outPolygons = "E:/data/temp/data/shpsingle_" num = 3 while(num <= 300): inRaster +=...原创 2019-11-19 16:15:06 · 1906 阅读 · 0 评论