Praca z danymi geoprzestrzennymi w Pythonie
Joris Van den Bossche
Open source software developer and teacher, GeoPandas maintainer
IPIS: International Peace Information Service
Obraz: G.A.O, domena publiczna, z Wikimedia Commons
Odczyt plików: geopandas.read_file("path/to/file.geojson")
Obsługiwane formaty:
.shp, .dbf, .shx, .prj, ...).gpkg)& bazy danych PostGIS!
Zapis GeoDataFrame do pliku metodą 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')
Praca z danymi geoprzestrzennymi w Pythonie