mozilla-sensorweb / sensorthings

Node implementation of the OGC SensorThings API
Mozilla Public License 2.0
14 stars 9 forks source link

Observations without resultTime should be allowed #178

Closed albertopq closed 7 years ago

albertopq commented 7 years ago

GIven the Compliance test:

https://github.com/opengeospatial/ets-sta10/blob/master/src/main/java/org/opengis/cite/sta10/createUpdateDelete/Capability2Tests.java#L187

a POST to /Observations with the body

{ "phenomenonTime": "2015-03-01T00:40:00.000Z", "result": 8, "Datastream": { "@iot.id": 1 }, "FeatureOfInterest": { "@iot.id": 1 } }

should work.