opengeospatial / sensorthings

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

Compatibility between OData and STA #136

Open hylkevds opened 2 years ago

hylkevds commented 2 years ago

At the last TC meeting I gave a little demo of using STA/OData in Excel.

Here are the differences I found so far: STA OData 4.0 OData 4.01
Self Links @iot.selfLink @odata.id @id
NavLinks @iot.navigationLink @odata.navigationLink @navigationLink
ID property @iot.id id (@ and . confuse clients) id (@ and . confuse clients)
Context @odata.context @context
Flexible Properties property type ANY not supported, cast to Edm.String Edm.Untyped
Time Interval/Value phenomenonTime, validTime not supported, use phenomenonTime.start and phenomenonTime.end not supported, use phenomenonTime.start and phenomenonTime.end
Non existing entities 404 Not Found 204 No Content 204 No Content

Things that STA has that can not easily be mapped to OData:

Our test endpoint, for people that would like to try it out:

It's the same server instance, so the database in these three endpoints is the same.

Related to #72 Also in the FROST wiki.

hylkevds commented 2 years ago

Some more progress: