opengeospatial / WaterQualityIE

7 stars 6 forks source link

FROST WQ Data Model: Aligning property/attribute naming & datatypes #39

Open unep-gwdc opened 9 months ago

unep-gwdc commented 9 months ago

The current FROST WQ data model has a couple of naming inconsistencies:

hylkevds commented 9 months ago

Thanks for looking over the data model in such detail!

Temporal attributes: Good point, we should make it consistent. Simplest is just time, but Datastream and Observation have multiple times, so they still need specific ones. So the most consistent would be using only specific times. At the moment we can't change the STA core ones, but I've added this topic to the agenda for the discussions for version 2.

Spatial attributes: That's a bit of FROST implementation details leaking through. FeatureOfInterest/feature and Location/location are actually of type ANY, so users can also use WKT or FG-JSON if they like. FROST can currently only use the values in $filter if it is GeoJSON. I'll update the model to correctly list ANY. (and fix FROST so it outputs ANY)

Datastream.observationType: Yes, it should be a ValueCode. I'll fix the image. That's also a todo in FROST.

depthUom: Yes, proper alignment would be better.