Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create STAC catalog in R #131

Open
wiesehahn opened this issue Feb 3, 2023 · 6 comments
Open

create STAC catalog in R #131

wiesehahn opened this issue Feb 3, 2023 · 6 comments

Comments

@wiesehahn
Copy link

Hi,
I find the concept of STAC catalogs quite promising although I have to admit that I still haven't understood many parts. So forgive me if my question or idea is silly.

Lets say I (the institute) have a ton of imagery and other geospatial data (sorted in several folders on network drive until now), and I want to make it searchable for others (internally first but with the aim to provide it online at some point). To my understanding it would be benefitial to create a STAC catalog (with collections,...).

I was wondering if there are helpers or resources on the creation of STAC catalogs from within R?

(As far as I understand rstac is meant to work with existing catalogs)

@OldLipe
Copy link
Contributor

OldLipe commented Feb 4, 2023

Hi @wiesehahn,

Lets say I (the institute) have a ton of imagery and other geospatial data (sorted in several folders on network drive until now), and I want to make it searchable for others (internally first but with the aim to provide it online at some point). To my understanding it would be benefitial to create a STAC catalog (with collections,...).

Indeed, using the STAC specification is beneficial to both the data provider and the users. The specification is well documented and has an active community.

Currently rstac does not support static STAC catalogs, but in the next package update we will include this functionality.

xref #21

@wiesehahn
Copy link
Author

Are there any news regarding this topic?

@OldLipe
Copy link
Contributor

OldLipe commented May 16, 2023

Hi @wiesehahn,

We plan to add support for static catalogs in the next version of rstac (0.9.3 or 1.0.0).

@SteveViss
Copy link

Hi @OldLipe, has anyone made any progress on the feature requested by @wiesehahn?

I was wondering if there are helpers or resources on the creation of STAC catalogs from within R?

The overall idea is to generate catalogs, collections, and items that adhere to the existing STAC specifications (refer to https://schemas.stacspec.org/). Subsequently, these objects could either contribute by being POST to an existing stac-catalog or to a local one. Python is predominantly used in most utilities and tutorials for creating a STAC catalog. I think (maybe I'm wrong), it would be beneficial to include utilities and a vignette in this package that specifically addresses this aspect. If no one is currently working on it and you're open to the idea, I'd be interested in contributing by opening a pull request (PR)! Thanks!

@OldLipe
Copy link
Contributor

OldLipe commented Jan 9, 2024

Hi @SteveViss, thanks for asking!

One of rstac's developer, @rolfsimoes, implemented support for static catalogs. We'll finish testing this week and upload version 1.0.0 of the rstac package.

@wiesehahn
Copy link
Author

Hey,
I am not sure, but I guess we are talking about different things here.

implemented support for static catalogs

you mean to query existing static catalogs?

What I meant in my initial question (and @SteveViss is also referring to) are helper functions to actually create json files which are valid STAC catalogs/collections/items.
Basically exactly what pystac does (see e.g. https://stacspec.org/en/tutorials/2-create-stac-catalog-python/). So far I am not aware of any functions implemented in R to do this. I am not sure how all available STACS are generated but I guess the majority via pystac.

Are there any plans to implement this or is this out of scope for rstac?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants