Bekerja dengan Data Geospasial di Python
Joris Van den Bossche
Open source software developer and teacher, GeoPandas maintainer
IPIS: International Peace Information Service

Gambar: Connormah, CC BY-SA 3.0, dari Wikimedia Commons
IPIS: International Peace Information Service
Gambar: G.A.O, domain publik, dari Wikimedia Commons
Membaca file: geopandas.read_file("path/to/file.geojson")
Format yang didukung:
.shp, .dbf, .shx, .prj, ...).gpkg)& basis data PostGIS!
Menyimpan GeoDataFrame ke file dengan metode to_file():
# Menyimpan ke Shapefile
geodataframe.to_file("mydata.shp", driver='ESRI Shapefile')
# Menyimpan ke GeoJSON
geodataframe.to_file("mydata.geojson", driver='GeoJSON')
# Menyimpan ke GeoPackage
geodataframe.to_file("mydata.gpkg", driver='GPKG')
Bekerja dengan Data Geospasial di Python