mgrs.utms_to_epsgs()

Convert UTM zones and hemispheres to EPSG codes.

Usage

Source

mgrs.utms_to_epsgs(
    zone,
    hemisphere,
)

Inputs follow NumPy broadcasting rules.

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