pystac-ext-raster
Raster extension for PySTAC
What it is and what it does
pystac-ext-raster is a PySTAC extension package that implements the STAC Raster Extension specification. It provides a standardized way to describe raster band metadata within PySTAC catalogs and items, including properties like data type, statistics, histograms, spatial resolution, nodata values, and measurement units. This allows geospatial data providers to document raster imagery in a consistent, machine-readable format.
The package targets versions 1.1.0 and 1.0.0 of the Raster Extension specification. It is typically used by developers building or consuming STAC catalogs that contain raster imagery, enabling them to attach and query detailed band-level metadata. The package version tracks the extension specification version it implements, with post-releases used for code updates that don't change the target specification.
Use it for:
- Document raster band statistics and data types in STAC items for satellite or aerial imagery archives.
- Standardize nodata value and spatial resolution metadata across a collection of raster datasets.
- Enable automated validation of raster band properties in STAC catalog workflows.
- Query and filter raster imagery by band characteristics (e.g., data type, histogram information) in STAC-based systems.
- Integrate raster metadata into geospatial data discovery platforms using STAC standards.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extends PySTAC with the Raster Extension specification, enabling standardized metadata for raster band properties including data type, statistics, histograms, spatial resolution, nodata values, and units.
Yes. This is a lightweight, actively maintained extension for a widely-used geospatial standard. Install it if you are building or consuming STAC catalogs that include raster imagery and need standardized band metadata. The permissive Apache license, low install friction, and recent maintenance activity make it a safe choice for production use.
Install
pystac-ext-raster on PyPI
pip
pip install pystac-ext-rasteruv
uv add pystac-ext-rasterpoetry
poetry add pystac-ext-rasterInstalling pystac-ext-raster
Before you install
Low friction install with a single runtime dependency (pystac-core). Actively maintained as of 2026-08-10 with recent release activity.
License in practice
Apache-2.0 permissive license allows use in most projects, including commercial, with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install pystac-ext-raster
import pystac
from pystac.extensions.raster import RasterExtension
# Access raster extension on a PySTAC item
raster = RasterExtension.ext(item)
Requires Python 3.10 or later and pystac-core as a runtime dependency.
Verify before relying
- Whether this package is typically used as a direct dependency or primarily through pystac-core's extension loading mechanism.
- Compatibility details with specific PySTAC versions beyond the minimum Python 3.10 requirement.
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,901/month — #2,410 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac_ext_raster-1.1.1-py3-none-any.whl
Keywords: STAC, catalog, imagery, pystac, raster
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
pystac-ext-classificationProvides PySTAC extension support for…
permissive · top 5,000 on PyPI
pystac-ext-datacubeExtends PySTAC to support the Datacube…
permissive · top 5,000 on PyPI
pystac-ext-eoExtends PySTAC to add Electro-Optical extension…
permissive · top 5,000 on PyPI
pystac-ext-fileExtends PySTAC to add File Info Extension…
permissive · top 5,000 on PyPI
pystac-ext-gridExtends PySTAC to describe gridded data…
permissive · top 5,000 on PyPI
pystac-ext-projectionExtends PySTAC to add geospatial projection…
permissive · top 5,000 on PyPI
pystac-ext-timestampsAdds support for the Timestamps Extension to…
permissive · top 5,000 on PyPI
rio-stacrio-stac creates valid STAC Items from raster…
permissive · top 15,000 on PyPI
pystac-ext-viewExtends PySTAC with the View Geometry…
permissive · top 5,000 on PyPI
pystac-ext-mgrsAdds MGRS (Military Grid Reference System)…
permissive · top 5,000 on PyPI