Canadian-Geospatial-Platform/stac-to-geocore

Search filter for stac collection and item level

Opened this issue · 5 comments

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 commented

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.

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 commented

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'

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'?

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