onstove.VectorLayer.reproject#

VectorLayer.reproject(crs: CRS | int, output_path: str = None)[source]#

Wrapper for the geopandas.GeoDataFrame.to_crs method.

Parameters:
crs: pyproj.CRS or int

The value can be anything accepted by geopandas.GeoDataFrame.to_crs, such as an authority string (eg “EPSG:4326”), a WKT string or an EPSG int.

output_path: str, optional

A folder path where to save the output dataset. If not defined then the reprojected dataset is not saved.