A Java client for interacting with STAC-APIs. The client allows to fetch various STAC objects and maps them to POJOs.
StacClient client = new StacClientImpl(new URL("https://someserver/api/stac/v1/"));
Catalog catalog = client.getCatalog();
Furthermore, searching for items is supported.
QueryParameter parameter = new QueryParameter();
parameter.addCollection("sentinel-2-l2a");
parameter.setDatetime("2022-02-13/2022-04-15");
ItemCollection result = client.search(parameter);
- Declare the dependency
<dependency>
<groupId>io.github.11904212</groupId>
<artifactId>java-stac-client</artifactId>
<version>1.0.0-alpha.0.7</version>
</dependency>
- Simple Features GeoJSON Java (The MIT License (MIT)) - Simple Features GeoJSON Lib
- Jackson Data Processor (Apache License, Version 2.0) - Jackson data-binding functionality and tree-model