Closed Tomvbe closed 2 months ago
Currently we return geojson as wkt in the following format:
"http://www.w3.org/ns/locn#geometry": { "@value": "LINESTRING (100 0, 101 1, 102 2)", "@type": "http://www.opengis.net/ont/geosparql#wktLiteral" },
However @rorlic told us that we often end up mapping this to a blank node, it would be better to immediately return this in the below format:
RDF+WKT (GeoSPARQL)
:Resource locn:geometry [ a sf:Point; gsp:asWKT "<http://www.opengis.net/def/crs/OGC/1.3/CRS84> Point(-0.001475 51.477811)"^^gsp:wktLiteral ] .
This is documented more in detail here: https://semiceu.github.io/Core-Location-Vocabulary/releases/w3c/#locn:geometry
I already did some initial work on this branch https://github.com/Informatievlaanderen/VSDS-Linked-Data-Interactions/tree/feat/geo-wkt-as-blank-node
Currently we return geojson as wkt in the following format:
However @rorlic told us that we often end up mapping this to a blank node, it would be better to immediately return this in the below format:
RDF+WKT (GeoSPARQL)
This is documented more in detail here: https://semiceu.github.io/Core-Location-Vocabulary/releases/w3c/#locn:geometry