geodata.mask.convert_shape_crs

geodata.mask.convert_shape_crs#

geodata.mask.convert_shape_crs(shape: shapely.Geometry, src_crs: str, dst_crs: str)#

Convert the CRS of a shape object given its source CRS and destinated CRS.

Parameters:
  • shape (shapely.Geometry) – The shape object to be converted.

  • src_crs (str) – The source CRS of the shape object.

  • dst_crs (str) – The destinated CRS of the shape object.

Returns:

The converted shape object.

Return type:

shapely.Geometry