DotNetStac
STAC)
.Net library for working with Spatio Temporal Asset Catalogs (Features · Getting started · Documentation · Developing
DotNetStac helps you to work with STAC (catalog, collection, item)
In a nutshell, the library allows import/export of STAC JSON documents (Serialization/Deserialization using Newtonsoft.JSON) to typed object with properties represented in enhanced objects such as geometries, time stamp/period/span, numerical values and many more via STAC extension plugins engine.
Features
Current features
- (De)Serialization engine supporting current and older versions of the specifications with an upgrade mechanism
- Navigation methods to seamlessly traverse a STAC catalog through collections and items
- Enhanced extensions support with plugin system for embedding extension related functions (e.g. sat: orbit file download, sar: interferometric search, eo: calibration parameters)
Other features to come
- STAC API Client
- Importers from other spatio temporal domains (e.g. OGC O&M, Earth Observation profile…)
Getting Started
A dedicated notebook is available to get started. If you want to play directly with the notebook, you can
Documentation
An API documentation site is available at https://terradue.github.io/DotNetStac.
Developing
To ensure development libraries are installed, restore all dependencies
> dotnet restore src
Unit Tests
Unit tests are in the src/DotNetStac.Test
folder. To run unit tests:
> dotnet test src