Skip to main content
Write a GeoDataFrame to the Feather format. Any geometry columns present are serialized to WKB format in the file. Feather is a single-file format with no distributed writer, so this collects the entire GeoDataFrame to the driver and delegates to GeoPandas. It should only be used if the resulting GeoDataFrame is expected to be small. Requires ‘pyarrow’ >= 0.17.

Signature

Parameters

str, path object
required
Local file path to write to.
bool | None
default:"None"
If True, always include the dataframe’s index(es) as columns in the file output. If False, the index(es) will not be written to the file. If None, the index(es) are written as columns. Unlike GeoPandas, this also applies to a RangeIndex, because Sedona always converts it into a general Index.
str | None
default:"None"
Name of the compression to use. Use "uncompressed" for no compression. By default uses LZ4 if available, otherwise uncompressed.
('0.1.0', '0.4.0', '1.0.0', '1.1.0', None)
default:"None"
GeoParquet specification version; if not provided will default to latest supported stable version.
Additional keyword arguments passed to pyarrow.feather.write_feather.
See also
  • GeoDataFrame.to_parquet: write GeoDataFrame to parquet
  • GeoDataFrame.to_file: write GeoDataFrame to file

Examples