raster_tools.Vector.save#
- Vector.save(path, **fiona_kwargs)[source]#
Save the vector data to a file.
By default, an ESRI shapefile is written.
- Parameters
path (str) – Output location to save the vector data to.
**fiona_kwargs (keyword args) – Keyword arguments to pass on to
fiona.open()
such aslayer='name'
,driver='GPKG'
, ormode='a'
- Returns
Returns a new vector pointing to the saved location.
- Return type