Skip to content

planetlabs/rio-stac-io

Repository files navigation

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 [email protected]:planetlabs/rio-stac-io.git
cd rio-stac-io
pixi shell -e dev

About

Rasterio extension to open STAC Items and ItemCollections using native GDAL drivers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages