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

Search filter for stac collection and item level #5

Open
xinli-cai opened this issue Nov 30, 2022 · 5 comments
Open

Search filter for stac collection and item level #5

xinli-cai opened this issue Nov 30, 2022 · 5 comments
Assignees

Comments

@xinli-cai
Copy link
Member

This is a feedback from the Tuesday demo related to the geo.ca search. When a user searches for a STAC record on geo.ca, the user can turn a filter so that it only shows the collection level results or item level results. @bo-lu any suggestions?

@bo-lu
Copy link
Member

bo-lu commented Nov 30, 2022

Yes, I believe we created a flag in geocore to indicate the "source system". For example, we currently only have FGP datasets but can have other systems like STAC.

@xinli-cai
Copy link
Member Author

Great! I found the 'sourceSystemName' in the geocore template. For STAC, maybe we can have it as STAC-catalog, STAC-collection, and STAC-item?
How does the search pick up the 'sourceSystemName'? I can add the mapping to stac accordingly.

@bo-lu
Copy link
Member

bo-lu commented Nov 30, 2022

I would write something like 'CCMEO Datacube STAC - XX'. Where XX is either catalog, collection or item. On the UI side, we can then use regular expression to capture that it is from a 'STAC'

@xinli-cai xinli-cai self-assigned this Dec 1, 2022
@xinli-cai
Copy link
Member Author

I noticed that the current GeoCore on geo.ca does not have the field 'sourceSystemName', see an example. I also checked @indiciumx's documentation about GeoCore format, and the 'sourceSystemName' is not included. Can I get some help on the format of this field? Is it a string formatted as 'en; fr'?

@xinli-cai
Copy link
Member Author

Or, we can use the 'environmentDescription' field to distinguish FGP HNAP and STAC records? Something like 'environmentDescription': 'en; fr'?

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

2 participants