write

Contents

write#

write(gdf: GeoDataFrame, path: str | CloudPath | Path, **kwargs) None[source]#

Write vector to disk, managing the common drivers automatically.

Parameters:
  • gdf (gpd.GeoDataFrame) – GeoDataFrame to write on disk

  • path (AnyPathStrType) – Where to write on disk.

Example

>>> write(my_vector, path="my_vector.kml")