salem.transform_geopandas¶
-
salem.
transform_geopandas
(gdf, to_crs=<pyproj.Proj object>, inplace=True)[source]¶ Reprojects a geopandas dataframe.
Parameters: gdf : geopandas.DataFrame
the dataframe to transform (must have a crs attribute)
to_crs : crs
the crs into which the dataframe must be transformed
inplace : bool
the original dataframe will be overwritten (default)
Returns: A projected dataframe