writeGeoJson
Writes this GeoDataFrame into a GeoJSON file.
Each Feature in the resulting GeoJSON file corresponds to a single row in this GeoDataFrame:
"geometry"value is taken from thegeometrycolumn.other column values are stored as "properties" of the corresponding names and with the corresponding structure.
According to the specification, the CRS in GeoJSON should be WGS 84; the deprecated "crs" field is written for now.
Parameters
a String path to GeoJSON file
Writes this GeoDataFrame into a GeoJSON file.
Each Feature in the resulting GeoJSON file corresponds to a single row in this GeoDataFrame:
"geometry"value is taken from thegeometrycolumn.other column values are stored as "properties" of the corresponding names and with the corresponding structure.
According to the specification, the CRS in GeoJSON should be WGS 84; the deprecated "crs" field is written for now.
Parameters
a Path to GeoJSON file
Writes this GeoDataFrame into a GeoJSON file.
Each Feature in the resulting GeoJSON file corresponds to a single row in this GeoDataFrame:
"geometry"value is taken from thegeometrycolumn.other column values are stored as "properties" of the corresponding names and with the corresponding structure.
According to the specification, the CRS in GeoJSON should be WGS 84; the deprecated "crs" field is written for now.
Parameters
a GeoJSON file