raster_tools.Vector.to_crs#

Vector.to_crs(crs)[source]#

Transform the vector coordinates to the specified crs.

Parameters

crs (str, pyproj.CRS) – The crs to transform the vector coordinates to. The value can be anything accepted by pyproj.CRS.from_user_input(), such as an EPSG string (eg “EPSG:4326”) or a WKT string.

Return type

The transformed vector(s).