Práce s geoprostorovými daty v Pythonu
Joris Van den Bossche
Open source software developer and teacher, GeoPandas maintainer
IPIS: International Peace Information Service
Obrazek: G.A.O, volné dílo, z Wikimedia Commons
Čtení souborů: geopandas.read_file("path/to/file.geojson")
Podporované formáty:
.shp, .dbf, .shx, .prj, ...).gpkg)& databáze PostGIS!
Zápis GeoDataFrame do souboru metodou 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')
Práce s geoprostorovými daty v Pythonu