pystac-ext-mgrs
MGRS extension for PySTAC
What it is and what it does
pystac-ext-mgrs is a PySTAC extension package that implements the MGRS (Military Grid Reference System) specification for geospatial data cataloging. It extends PySTAC's core functionality to allow STAC items and collections to include MGRS grid reference metadata—specifically UTM zone, latitude band, and grid square identifiers—making it easier to organize and query raster imagery and other geospatial datasets using military grid coordinates.
The package targets MGRS extension v1.0.0 and maintains version parity with the specification it implements. It depends on pystac-core as its sole runtime dependency, meaning it integrates directly into existing PySTAC workflows without introducing additional system or library requirements. The package is actively maintained, supports Python 3.10 through 3.13, and carries no known security vulnerabilities.
Use it for:
- Add MGRS grid coordinates to satellite or aerial imagery catalogs for military or defense applications.
- Organize geospatial datasets by UTM zone and latitude band for efficient spatial indexing.
- Standardize metadata across STAC collections that require military grid reference compliance.
- Query and filter raster data by MGRS grid square in PySTAC-based data discovery systems.
- Integrate MGRS metadata into existing PySTAC workflows without replacing core functionality.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds MGRS (Military Grid Reference System) extension support to PySTAC, enabling description of geospatial data using UTM zones, latitude bands, and grid square identifiers.
Yes. The package is actively maintained, carries no security vulnerabilities, has low install friction, and provides a straightforward permissive license. Install it if you need to catalog geospatial data using MGRS grid references within a PySTAC workflow; skip it if your data does not require military grid coordinate metadata.
Install
pystac-ext-mgrs on PyPI
pip
pip install pystac-ext-mgrsuv
uv add pystac-ext-mgrspoetry
poetry add pystac-ext-mgrsInstalling pystac-ext-mgrs
Before you install
Low friction install with a single runtime dependency (pystac-core). Package is actively maintained with a recent release and supports current Python versions (3.10–3.13).
License in practice
Apache-2.0 permissive license allows free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install pystac-ext-mgrs
from pystac_ext_mgrs import mgrs
# Use MGRS extension to add grid reference fields to a PySTAC item
item = mgrs.add_mgrs_fields(item, utm_zone=10, latitude_band='S', grid_square='GG')
Requires Python 3.10 or later; pystac-core must be installed as a runtime dependency.
Verify before relying
- Exact API surface and available functions beyond the extension schema definition.
- Whether the package provides convenience methods or only schema validation/serialization.
- Real-world usage patterns and integration workflows with PySTAC items and collections.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pystac-core |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,981,668/month — #2,423 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac_ext_mgrs-1.0.1-py3-none-any.whl
Keywords: STAC, catalog, imagery, mgrs, pystac, raster
Tags
More Information Analysis packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
networkxNetworkX provides data structures and…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
snowflake-snowpark-pythonSnowpark Python provides APIs to query and…
permissive · top 1,000 on PyPI
pystac-ext-gridExtends PySTAC to describe gridded data…
permissive · top 5,000 on PyPI
mgrsConverts between MGRS (Military Grid Reference…
permissive · top 15,000 on PyPI
pystac-ext-rasterExtends PySTAC with the Raster Extension…
permissive · top 5,000 on PyPI
pystac-ext-viewExtends PySTAC with the View Geometry…
permissive · top 5,000 on PyPI
pystac-ext-satExtends PySTAC to handle satellite-specific…
permissive · top 5,000 on PyPI
pystac-ext-sarExtends PySTAC with fields and validation for…
permissive · top 5,000 on PyPI
pystac-ext-pointcloudExtends PySTAC to support the Point Cloud…
permissive · top 5,000 on PyPI
pystac-ext-eoExtends PySTAC to add Electro-Optical extension…
permissive · top 5,000 on PyPI
pystac-ext-projectionExtends PySTAC to add geospatial projection…
permissive · top 5,000 on PyPI
seekpathSeeK-path generates optimal k-point band paths…
permissive · top 15,000 on PyPI