opengeospatial / sensorthings

The official web site of the OGC SensorThings API standard specification.
132 stars 28 forks source link

Time Instant, Interval, Object modeling #177

Open hylkevds opened 4 months ago

hylkevds commented 4 months ago

In STAv1.1 we have:

OData only defines TM_Instant (EDM_DateTimeOffset), not intervals.

The proposal is to model TM_Object as a complex property with a start (mandatory) and an end (optional).

Disadvantage is that even if the Observation phenomenonTime is an instant, you'll still see an object with a "start" property.

hylkevds commented 4 months ago

A second point is the names we use for times. Currently the proposal has:

This is rather inconsistent, since sometime just time is used, while sometimes the name is spelled out completely (deploymentTime, samplingTime). For the Datastream and Observation it is obvious a shorter name can not be used, since there are multiple times, but Deployment, HistoricalLocation, PreparationStep and Sampling all only have one time.

We could either

  1. Use time for these four times
  2. Use the full name for these four, but what name to use?
    • historicalLocationTime and preparationStepTime are very ugly.
    • HistoricalLocation/arrivalTime? That would be semantically clearer.
    • PreparationStep/executionTime?
hylkevds commented 3 months ago

There is a preference for the short versions. Also samplingLocation -> location