opengeospatial / sensorthings

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

Tasking Core Discussion Paper: Count-Tasking Capability example #99

Open phertweck opened 4 years ago

phertweck commented 4 years ago

There is an inconsistence between the 'OGC SensorThings API Tasking Core Discussion Paper' and the 'OGC® SWE Common Data Model Encoding Standard'.

The Discussion Paper contains an example for representing a 'Count' taskingParameters in TaskingCapability (page 10, section 5.4):

{ "type": "Count", "name": "clean_count", "label": "total count to clean the house", "description": "The total count of house cleaning", "constraint": { "type": "AllowedValues", "interval": [0 10] } }

OGC® SWE Common Data Model Encoding Standard describes on page 41, that the 'interval' in 'AllowdValues' is a list of RealPairs ('interval: RealPair [0..*]'). By this, the interval definition in the discussion paper should be represented as: '"interval": [[0 10]]'