writeShapefile
Writes this GeoDataFrame into a Shapefile.
The shapefile is written into the specified directory. The resulting files use the directory name as the base file name. For example, writing to roads/ creates roads.shp, roads.shx, roads.dbf, and related files inside that directory.
Each feature in the resulting shapefile corresponds to a single row in this GeoDataFrame:
"geometry"value is taken from thegeometrycolumn.other column values are written as feature attributes.
The CRS is written to the schema if it is defined in this GeoDataFrame. Otherwise, default CRS is used.
If the target directory does not exist, it is created automatically.
Parameters
a String path to a Shapefile directory
Writes this GeoDataFrame into a Shapefile.
The shapefile is written into the specified directory. The resulting files use the directory name as the base file name. For example, writing to roads/ creates roads.shp, roads.shx, roads.dbf, and related files inside that directory.
Each feature in the resulting shapefile corresponds to a single row in this GeoDataFrame:
"geometry"value is taken from thegeometrycolumn.other column values are written as feature attributes.
The CRS is written to the schema if it is defined in this GeoDataFrame. Otherwise, default CRS is used.
If the target directory does not exist, it is created automatically.
Parameters
a Path to a Shapefile directory
Writes this GeoDataFrame into a Shapefile.
The shapefile is written into the specified directory. The resulting files use the directory name as the base file name. For example, writing to roads/ creates roads.shp, roads.shx, roads.dbf, and related files inside that directory.
Each feature in the resulting shapefile corresponds to a single row in this GeoDataFrame:
"geometry"value is taken from thegeometrycolumn.other column values are written as feature attributes.
The CRS is written to the schema if it is defined in this GeoDataFrame. Otherwise, default CRS is used.
If the target directory does not exist, it is created automatically.
Parameters
a Shapefile directory