
地理信息
依然小公主
迭代升级中
展开
-
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 · 640 阅读 · 0 评论 -
arcpy
https://conda.anaconda.org/esri/linux-64 https://www.giserdqy.com/arcgis/arcpy/31441/ https://blog.youkuaiyun.com/allenlu2008/article/details/83901070 conda install -c esri arcgis-server-10.6-py3原创 2019-11-19 17:00:53 · 362 阅读 · 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 · 2010 阅读 · 0 评论