opengeospatial / ets-sta10

Repository for the Executable Test Suite for OGC Sensor Things API
Other
6 stars 8 forks source link

Removed posting a HistoricalLocation from createEntities #11

Closed tebben closed 8 years ago

tebben commented 8 years ago

Removed posting a HistoricalLocation from createEntities, this is not allowed according to the SensorThings spec

hylkevds commented 8 years ago

In version 15-078r5 (version 1.0):

The HistoricalLocation can also be created, updated and deleted. One use case is to migrate historical observation data from an existing observation data management system to a SensorThings API system.

which version of the spec are you using?

tebben commented 8 years ago

Sorry, I'm using version 15-078 V 0.9.4 of the spec and was reading 8.3.3 - Req8 and assumed it was forbidden for an user to create a HistoricalLocation at all: "The current Location of the Thing SHALL only be added to HistoricalLocation automatically by the service, and SHALL not be created as HistoricalLocation directly by user." You are right, beneath this requirement it says you can create, update and delete a HistoricalLocation.