import arcpy # Create a polyline geometry # array = arcpy.Array([arcpy.Point(459111.6681, 5010433.1285), arcpy.Point(472516.3818, 5001431.0808), arcpy.Point(477710.8185, 4986587.1063)]) polyline = arcpy.Polyline(array) # Open an InsertCursor and insert the new geometry # c = arcpy.da.InsertCursor("C:/data/texas.gdb/counties", ["SHAPE@"]) c.insertRow([polyline]) # Delete cursor object # del c
Geodatabase中逐条生成多边形
关注公众号
获取免费资源
Copyright © Since 2014.
开源地理空间基金会中文分会
吉ICP备05002032号
Powered by TorCMS