INSIDE-information-systems / OAPIF

OGC API - Features (ex: WFS3) deployment on French Groundwater Information Network features
3 stars 4 forks source link

Serialization of gml:ReferenceType #7

Closed sgrellet closed 5 years ago

sgrellet commented 5 years ago

In the current target_borehole_wfs3_output.json gml:referenceType is encoded like this

becomes "startPoint": { "@href": "http://resource.europe-geology.eu/vocabs/StartPoint/naturalLandSurface", "@title": "naturalLandSurface" },

To align the geoJSON with the upcoming JSON-LD output could we do ? "startPoint": { "@id": "http://resource.europe-geology.eu/vocabs/StartPoint/naturalLandSurface", "name": "naturalLandSurface" },

in ELFIE JSON-LD contexts we mapped "name" to "schema:name".

sgrellet commented 5 years ago

After discussion avec @afeliachi. Changing this would be useless considering how geojson parsers work. It's easiest to create a GUI based on the geojson providing the hyperlink (with href & title). Ex : test under http://geojson.io/