geoutils.Vector.get_metric_crs#
- Vector.get_metric_crs(local_crs_type='universal', method='centroid')[source]#
Get local metric coordinate reference system for the vector (UTM, UPS, or custom Mercator or Polar).
- Parameters:
local_crs_type (
Union[Literal['universal'],Literal['custom']]) – Whether to get a “universal” local CRS (UTM or UPS) or a “custom” local CRS (Mercator or Polar centered on centroid).method (
Union[Literal['centroid'],Literal['geopandas']]) – Method to choose the zone of the CRS, either based on the centroid of the footprint or the extent as implemented ingeopandas.GeoDataFrame.estimate_utm_crs(). Forced to centroid if local_crs=”custom”.
- Return type: