mss_dataserver.postprocess.util.reproject_polygons¶
-
mss_dataserver.postprocess.util.reproject_polygons(df, src_proj, dst_proj)[source]¶ Reproject the coordinates of shapely polygons.
- Parameters
df (
geopandas.GeoDataFrame) – The dataframe containing the polygons.src_proj (
pyproj.Proj) – The source coordinate system projection.dst_proj (
pyproj.Proj) – The destination coordinate system projection.
- Returns
The dataframe containing the polygons with the reprojected coordinates.
- Return type
geopandas.GeoDataFrame