polartoolkit.region_ll_to_xy#
- region_ll_to_xy(region, hemisphere=None, epsg=None)[source]#
Convert region in format [lon_min, lon_max, lat_min, lat_max] to projected meters in the north or south polar stereographic projections.
- Parameters:
region (tuple[float, float, float, float]) β region boundaries in format [xmin, xmax, ymin, ymax] in decimal degrees
hemisphere (str, optional,) β set projection based on βnorthβ or βsouthβ hemispheres, by default None
epsg (str | None, optional) β set projection from EPSG code string (β3031β), by default None
- Returns:
region boundaries in format [x_min, x_max, y_min, y_max]
- Return type: