This document proposes OM-JSON, a JSON implementation of the OGC Observations and Measurements (O&M) standard. It provides JSON schemas for representing different types of observations, such as single measurements, time series, geometries, specimens, and collections. Examples are given for each. Issues discussed include how to wrap the encodings for use in APIs/services, differences from other JSON schemas like those from 52North, and potential changes needed to the O&M abstract specification. The motion at the end recommends publishing OM-JSON as an OGC Discussion Paper.
Call Girls in Prashant Vihar, Delhi ๐ฏ Call Us ๐9953056974 ๐ Escort Service
ย
OM-JSON - a JSON implementation of O&M
1. OM-JSON
Simon Cox | Research Scientist | Environmental Information Infrastructures
16 September 2015
LAND AND WATER, DATA61
a JSON implementation of O&M
Peter Taylor | Engineer | Autonomous Systems
2. O&M
OM_Observation
+ phenomenonTime
+ resultTime
+ validTime [0..1]
+ resultQuality [0..*]
+ parameter [0..*]
GF_PropertyType
GFI_Feature
OM_Process Any
+observedProperty
1
0..*
+featureOfInterest 1
0..*
+procedure1 +result
An Observation is an action whose result is an estimate of the value
of some property of the feature-of-interest, obtained using a specified procedure
OGC - SWE DWG - 2015-09-16
Cox, OGC Abstract Specification โ Topic 20: Observations and Measurements 2.0
ISO 19156:2011 Geographic Information โ Observations and measurements
3. OGC - SWE DWG - 2015-09-16
Cox, OGC Implementation โ Observations and Measurements - XML Implementation
5. Why JSON?
OGC - SWE DWG - 2015-09-16
โSo these days, if you want to
interchange tuples or tables of tuples
or numbers and strings, you have
JSON. If you want to do nontrivial
publishing automation, use XML. If
you want to interchange smart bitmaps
of page images, thereโs PDF. I
personally think weโre probably done
with inventing low-level textual
interchange formats.โ
Tim Bray
http://www.tbray.org/ongoing/When/20
1x/2013/02/10/XML-at-15
12. JSON Schema for OM-JSON
OGC - SWE DWG - 2015-09-16
Common types, for
use in other OGC
JSON encodings?
JSON-schema for
TimeseriesML
Collection objects,
carry common
properties
No external
dependencies
13. JSON Schema and validator
โข Adapted version of JSON Schema Lint here:
http://waterml2.csiro.au/om-json/
โข JSON Schema available here:
http://github.com/peterataylor/om-json
OGC - SWE DWG - 2015-09-16
14. Issues
This encoding focuses on the information model
How best to wrap these for use in API/Services?
E.g. using SOS (52North), SensorThings, SensorCloud (CSIRO)
Some (minor) differences in approaches to schema inheritance and
typing.
The 52North schema are quite similar and these could be harmonised
OGC - SWE DWG - 2015-09-16
15. Changes required to Abstract Spec (O&M)
add samplingStrategy to Observation
featureOfInterest used only for the feature with observed property
ObservationCollection, for common properties of member observations
procedure, featureOfInterest, samplingStrategy, observedProperty, phenomenonTime,
resultTime
add samplingElevation to Specimen
vertical offset from a 2-D location a common requirement
SamplingFeatureCollection, for common properties of member sampling features
sampledFeature
OGC - SWE DWG - 2015-09-16
16. Motion:
The SWE DWG recommends that OM-JSON โ OGC 15-100r1 โ be
published as an OGC Discussion Paper
Moved: Simon Cox
Seconded: Jeremy Tandy
Thirded: Josh Lieberman
NOTUC
OGC - SWE DWG - 2015-09-16
17. Discussion points
JSON Schema?
base types for OGC JSON implementations
52North version of JSON for SOS
OM-JSON vs SensorThings
use of GeoJSON for geometry, alternatives
UML๏ JSON rules
OGC - SWE DWG - 2015-09-16
18. LAND AND WATER
Thank youCSIRO Land and Water
Simon Cox
Research Scientist
t +61 3 9545 2365
e simon.cox@csiro.au
w people.csiro.au/C/S/Simon-Cox
CSIRO Data61
Peter Taylor
Engineer
t +61 3 6232 5530
e peter.taylor@csiro.au
w http://people.csiro.au/T/P/Peter-Taylor