⚠️ Our 0.1 release refactored several early-development functions for long-term stability, to update your code see here. ⚠️
Future changes will come with deprecation warnings! 🙂



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).

  • 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 in geopandas.GeoDataFrame.estimate_utm_crs(). Forced to centroid if local_crs=”custom”.

Return type: