การทำงานกับข้อมูลเชิงพื้นที่ใน Python
Joris Van den Bossche
Open source software developer and teacher, GeoPandas maintainer
IPIS: International Peace Information Service

Image: Connormah, CC BY-SA 3.0, from Wikimedia Commons
IPIS: International Peace Information Service
Image: G.A.O, public domain, from Wikimedia Commons
อ่านไฟล์: geopandas.read_file("path/to/file.geojson")
รูปแบบที่รองรับ:
.shp, .dbf, .shx, .prj, ...).gpkg)& ฐานข้อมูล PostGIS!
เขียน GeoDataFrame ลงไฟล์ด้วยเมธอด to_file():
# Writing a Shapefile file
geodataframe.to_file("mydata.shp", driver='ESRI Shapefile')
# Writing a GeoJSON file
geodataframe.to_file("mydata.geojson", driver='GeoJSON')
# Writing a GeoPackage file
geodataframe.to_file("mydata.gpkg", driver='GPKG')
การทำงานกับข้อมูลเชิงพื้นที่ใน Python