--- id: pystac-ext-mgrs version: "1.0.1" license: Apache-2.0 license_treatment: permissive maintenance: active --- # pystac-ext-mgrs — MGRS extension for PySTAC License: permissive · Maintenance: active · Downloads: 4.0M/mo ## 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 above — 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 pip install pystac-ext-mgrs uv add pystac-ext-mgrs poetry add pystac-ext-mgrs ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 4.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags MGRS grid reference system, PySTAC extension MGRS, military grid coordinates, UTM zone latitude band, STAC geospatial metadata, raster imagery cataloging, geospatial data tagging, geospatial, stac-extension, metadata [View on SkillFed](https://skillfed.io/packages/pystac-ext-mgrs) · [View on PyPI](https://pypi.org/project/pystac-ext-mgrs/)