-
Notifications
You must be signed in to change notification settings - Fork 445
Description
Description
the support added in #9368 (and #9585) could be improved, because from what i understand as of now (and i think this is undocumented ?), to successfully load a 3dtiles dataset from a CSW search, one needs:
- a single entry with
<dc:format>3D Tiles</dc:format> - a single
<dc:URI>pointing at the JSON dataset url
any other case doesn't work. We have MDs in our geonetwork catalog with several <dc:format> and several<dc:URI>, and only some of them are pointing to 3dtiles. They are properly labeled with protocol="OGC:3DTILES" (which was added in GN upstream in geonetwork/core-geonetwork#6950, which is used in #9021) so i would have expected those URIs to be selected. Afaict with the current code, only the first/only dc:URI is used/tried ?
I've tried fixing our MDs in geonetwork to add the format tag, but i cant remove the other links. So my idea to fix that, avoiding breaking other existing setups:
- if there's several
<dc:format>, select the MD only if3D Tilesis present in the list - if there's only one
<dc:URI>use it regardless of theprotocol(present or not, whatever the value) - if there's several
<dc:URI>, filter only the ones withprotocol="OGC:3DTILES"(there might be several, i have to look at how the CSW search results allow to select within several OGC MD links)
sample datasets, for example:
- in https://ids.craig.fr/mapstore/#/ select 'local catalog', search for '3dtiles', the 2 records have links to 3dtiles (they dont have 3dtiles in the format list now, but that's the same if present, ive tested it).
- https://ids.craig.fr/geocat/srv/fre/catalog.search#/metadata/cd983dca-c7bd-4bf9-bb48-ab8ddf7af8a4 is a sample MD with several links to 3dtiles.
What kind of improvement you want to add?
- Minor changes to existing features