Skip to main content

A rasterio extension to open STAC Items and ItemCollections using native GDAL drivers

Project description

rio-stac-io

From Metadata to Pixels

rio-stac-io is a rasterio extension to open STAC Items and ItemCollections using native GDAL drivers including STACIT, STACTA and GTI. The library is build on top of rasterio and pystac.

Documentation

https://planetlabs.github.io/rio-stac-io

Installation

pip install rio-stac-io

When using the GTI driver you will need to install gti extras. Your GDAL binaries need to be compiled with geoparquet support.

pip install rio-stac-io[gti]

Usage

from pystac_client import Client

import rio_stac_io as stacio

client = Client.open(...)
search = client.search(...)

with stacio.open(search, asset_key="data") as src:
    data = src.read()

Development

This repository requires Pixi v0.52.0 or later.

git clone git@github.com:planetlabs/rio-stac-io.git
cd rio-stac-io
pixi shell -e dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rio_stac_io-0.3.5.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rio_stac_io-0.3.5-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file rio_stac_io-0.3.5.tar.gz.

File metadata

  • Download URL: rio_stac_io-0.3.5.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for rio_stac_io-0.3.5.tar.gz
Algorithm Hash digest
SHA256 cc4db9b248b22ab684d101edf9ded1f563ae8a07544e6bff0699cba0806bd2f6
MD5 952d7c9fe129d107c6462e6044f071cb
BLAKE2b-256 eefbf67f4327675b4e53c24fde5321f7d02fbe2f20e23e05b665062a7093f2cd

See more details on using hashes here.

File details

Details for the file rio_stac_io-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: rio_stac_io-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for rio_stac_io-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 498038d898126a8ff97dd432a7e27280cd393420ca033ed35a558d50cda2646b
MD5 cdb734d7aff2bb33a52ded29316da774
BLAKE2b-256 d1feb4a9e06f0290df7fbebf809c327e395227a6865e687a317e3fae5b7bd8bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page