Lavorare con i dati geospaziali in Python
Joris Van den Bossche
Open source software developer and teacher, GeoPandas maintainer
IPIS: International Peace Information Service

Immagine: Connormah, CC BY-SA 3.0, da Wikimedia Commons
IPIS: International Peace Information Service
Immagine: G.A.O, pubblico dominio, da Wikimedia Commons
Lettura dei file: geopandas.read_file("path/to/file.geojson")
Formati supportati:
.shp, .dbf, .shx, .prj, ...).gpkg)E database PostGIS!
Scrivere un GeoDataFrame su file con il metodo 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')
Lavorare con i dati geospaziali in Python