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

multiple geometry serialisations for dcat:bbox #64

Open
NielsHoffmann opened this issue Dec 9, 2024 · 3 comments
Open

multiple geometry serialisations for dcat:bbox #64

NielsHoffmann opened this issue Dec 9, 2024 · 3 comments
Labels
3.0.0 Pilot Issues coming from the GeoDCAT-AP 3.0.0 Pilot

Comments

@NielsHoffmann
Copy link

This is an issue for the GeoDCAT-AP 3.0.0 pilot

The XSLT seems to aim for a limited number of configuration parameters at the start of the file (deprecated yes/no for example) so that the rest of the transformation can be done accordingly.

For the dcat:bbox (and the locn:geometry property if deprecated=yes) this approach is not followed.
There are mutliple serialisations written to the output.

However, the GeoDCAT-AP proflie has a 0..1 cardinality defined for those proprerties. So the shacl validations fails on this implementation.

I think it would be good to settle on a preferred geometry serialization for the profile.

@jakubklimek jakubklimek added the 3.0.0 Pilot Issues coming from the GeoDCAT-AP 3.0.0 Pilot label Dec 9, 2024
@hallinpihlatie
Copy link

Does any one have a use case for a 0..N cardinality?
If not, next step I suppose would be to agree which to preserve. Any proposal on this?

@hallinpihlatie
Copy link

Here's an example with the alternatives:

<dct:spatial rdf:parseType="Resource">
<rdf:type rdf:resource="http://purl.org/dc/terms/Location"/>
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"></locn:geometry>
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral">19.08317359 59.4541425831.58672881 70.09229553]]></locn:geometry>
<locn:geometry rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"></locn:geometry>
<locn:geometry rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"></locn:geometry>
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#wktLiteral"></dcat:bbox>
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#gmlLiteral">19.08317359 59.4541425831.58672881 70.09229553]]></dcat:bbox>
<dcat:bbox rdf:datatype="https://www.iana.org/assignments/media-types/application/vnd.geo+json"></dcat:bbox>
<dcat:bbox rdf:datatype="http://www.opengis.net/ont/geosparql#geoJSONLiteral"></dcat:bbox>
</dct:spatial>

@jakubklimek
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 Pilot Issues coming from the GeoDCAT-AP 3.0.0 Pilot
Projects
None yet
Development

No branches or pull requests

3 participants