mgrs.utms_to_epsgs()
Convert UTM zones and hemispheres to numeric EPSG codes.
Usage
mgrs.utms_to_epsgs(
zone,
hemisphere,
)Accepts scalars, lists, or arrays. zone and hemisphere are broadcast against each other with NumPy, so a scalar hemisphere pairs with an array of zones and vice versa.
Returns
NDArray[np.integer]- EPSG codes (326xx for north, 327xx for south).
Raises
ValueError-
If any zone is outside 1-60 or any hemisphere is not
'N'/'S'.