alex_bn_lee

导航

上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 247 下一页

2023年11月6日 #

[936] Save a GeoDataFrame as a Shapefile

摘要: In GeoPandas, you can save a GeoDataFrame as a Shapefile using the to_file method. Here's how to do it: import geopandas as gpd # Create or load a Geo 阅读全文

posted @ 2023-11-06 11:51 McDelfino 阅读(65) 评论(0) 推荐(0)

2023年11月3日 #

[935] Python Programming in QGIS3

摘要: ref: Getting Started With Python Programming (QGIS3) ref: 1.4.1. Using PyQGIS in standalone scripts 阅读全文

posted @ 2023-11-03 13:03 McDelfino 阅读(17) 评论(0) 推荐(0)

[934] Run the python file directly (ArcGIS Pro)

摘要: ref: The Edit with IDLE and Run with ArcGIS Pro options are not available in the context menu when right-clicking Python files Description In some ins 阅读全文

posted @ 2023-11-03 11:00 McDelfino 阅读(31) 评论(0) 推荐(0)

2023年11月2日 #

[933] In ArcPy, how to get the geometry of a feature from a shapefile

摘要: In ArcPy, you can get the geometry of a feature from a shapefile using the SearchCursor or UpdateCursor and the SHAPE@ token to access the geometry of 阅读全文

posted @ 2023-11-02 10:37 McDelfino 阅读(59) 评论(0) 推荐(0)

[932] In ArcPy, how to get the extent of a shapefile

摘要: In ArcPy, you can get the extent of a shapefile using the Describe function and the extent property. Here's how you can do it: import arcpy # Set the 阅读全文

posted @ 2023-11-02 10:32 McDelfino 阅读(90) 评论(0) 推荐(0)

上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 247 下一页