Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

geopandas gdf or df to file

#Shapefile
gdf.to_file("countries.shp")
#Geojson
countries_gdf.to_file("countries.geojson", driver='GeoJSON')
Source by geopandas.org #
 
PREVIOUS NEXT
Tagged: #geopandas #gdf #df #file
ADD COMMENT
Topic
Name
1+3 =