Работа с геопространственными данными в Python
Joris Van den Bossche
Open source software developer and teacher, GeoPandas maintainer
IPIS: International Peace Information Service

Изображение: Connormah, CC BY-SA 3.0, с Wikimedia Commons
IPIS: International Peace Information Service
Изображение: G.A.O, общественное достояние, с 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