Signature
Parameters
Whether to retain the index of the GeoSeries as the id property
in the generated GeoJSON. Default is False, but may want True
if the index is just arbitrary row numbers.
If the CRS is set on the active geometry column it is exported as
WGS84 (EPSG:4326) to meet the 2016 GeoJSON specification.
Set to True to force re-projection and set to False to ignore CRS. False by
default.
Returns
Unlike GeoPandas, Sedona’s implementation replaces ‘LinearRing’ with
‘LineString’ in the GeoJSON output.
GeoSeries.to_file: write GeoSeries to file

