Skip to content
sgrellet edited this page Jul 9, 2018 · 19 revisions

This wiki summarizes how to use the SensorThings API instances deployed / le wiki récapitule comment utiliser les instances SensorThings API déployées

specification OGC part 1 :

  • http://www.opengeospatial.org/standards/sensorthings
  • ‘Figure 1 Sensing Profile Core Entities’ gives you the model / vous donne le modèle
  • chapters 9.3 et 9.4 provide most of the operator for interaction / vous donnent la majorité des opérateurs pour l’interrogation Ex : ‘Table 9-1 Built-in Filter Operators’ for result operators / pour les comparateurs sur les résultats EX : ‘Table 9-2 Built-in Query Functions’ for spatial operators, date, string / pour les opérateurs spatiaux, date, string…

Query samples / exemples de requêtes

on / sur http://sensorthings.brgm-rec.fr/SensorThingsGroundWater/v1.0/

all / tous les featuresOfInsterest

http://sensorthings.brgm-rec.fr/SensorThingsGroundWater/v1.0/FeaturesOfInterest just taking Piezometers / en ne filtrat que sur les Piezomètres (test on URI http://ressource.brgm-rec.fr/data/Piezometre/) http://sensorthings.brgm-rec.fr/SensorThingsGroundWater/v1.0/FeaturesOfInterest?$filter=startswith(name,%27http%3A%2F%2Fressource.brgm-rec.fr%2Fdata%2FPiezometre%2F%27)

all the observations of one featureOfInterest (with an order by) / toutes les observation d'un featureOfInterest (avec order by)

http://sensorthings.brgm-rec.fr/SensorThingsGroundWater/v1.0/FeaturesOfInterest(1255)/Observations?$orderby=resultTime
http://sensorthings.brgm-rec.fr/SensorThingsGroundWater/v1.0/FeaturesOfInterest(1255)/Observations?$orderby=phenomenonTime

order by asc VS desc

http://sensorthings.brgm-rec.fr/SensorThingsGroundWater/v1.0/FeaturesOfInterest(1255)/Observations?$skip=500&$orderby=phenomenonTime+asc

http://sensorthings.brgm-rec.fr/SensorThingsGroundWater/v1.0/FeaturesOfInterest(1255)/Observations?$skip=500&$orderby=phenomenonTime+desc

Clone this wiki locally