®

Space and Time Topics for the W3C Workshop on Data Models for Transportation

George Percivall CTO, Chief Engineer Open Geospatial Consortium [email protected] Space and Time for W3C Transportation Data

● Spatial Data on the Web - Best Practices ● Sensors, Observations and Measurements ● Moving Objects

Additional Topics • Coordinate Reference Systems • Discrete Global Grids • Road Geometry

OGC® Spatial Data on the Web Best Practices

https://www.w3.org/TR/sdw-bp/ OGC® Best Practice - Spatial Data

▪ Use spatial data encodings that match your target audience ▪ Provide geometries on the Web in a usable way ▪ Provide geometries on the Web at the right level of accuracy, precision, and size ▪ Choose coordinate reference systems to suit your user’s applications ▪ State how coordinate values are encoded ▪ Describe relative positioning ▪ Include spatial metadata in dataset metadata ▪ Describe the positional accuracy of spatial data

OGC® Coordinate Reference Systems

• Coordinate • Coordinate Reference System – one of a sequence of N numbers – coordinate system related to designating the position of a point in real world by a datum N-dimensional space • Examples • Coordinate Systems – Geographic – Cartesian 2D and 3D – Geocentric – Spherical (3D), Polar (2D) – Vertical – Cylindrical – Engineering – Linear - along a path – Image – Ellipsoidal – Temporal – Derived CRS, e.g., projections

OGC® Reference ISO 19111 and OGC Abstract Spec Topic 2 Time Ontology in OWL

OGC® Allen Temporal Interval Algebra

OGC® Semantic Sensor Network Ontology

Relationships between - sensors/ actuators/ sampling and - observations/ actuations/samplings Modular architecture supports judicious use of "just enough" semantics for diverse applications. An OWL-2 DL ontology

Aligned with OGC/ISO Observations https://www.w3.org/TR/vocab-ssn/ and Measurements https://portal.opengeospatial.org/files/74883

OGC® Observations and Measurements

• OGC SWE* defines Observations, relevant entities, and their relationships

• Syntactic interoperability and Semantic interoperability

*OGC (SWE) Standards deployed in operational implementations for more than a decade

® OGC 9 Sensors and Observation

OGC® Actuation

OGC® OGC SensorThings Open, geospatial-enabled API to interconnect IoT devices, data, and applications over the Web

Part I – Sensing (adopted) Part II – Tasking (adopted)

Part III – Rules Engine (in development) Part IV – Stateless Extension (in development)

https://www.opengeospatial.org/standards/sensorthings

OGC® OGC SensorThings Data Model

(OGC and ISO 29156) OGC® 2. SensorThings API resource interfaces for accessing sensor data, tasking actuators and detect events

OGC Applications or MQTT, HTTP SensorThings Devices API

1. Standard Data Model based on ISO/OGC Observation and Measurement

® OGC 14 OGC Moving Features

• Moving features, e.g. vehicles, pedestrians, airplanes, ships • CSV, JSON, XML encodings

OGC® http://docs.opengeospatial.org/is/16-120r3/16-120r3.html Spatial Temporal Geometry

OGC Moving Features Standard implements ISO 19141

OGC® http://docs.opengeospatial.org/is/16-120r3/16-120r3.html Moving Features: one trajectory, one geometry

Operations between a trajectory object and a geometry object of which geometry is stable

Examples: Trajectory object •intersects time •distanceWithin •intersection Intersection Intersects Geometry object y

x http://docs.opengeospatial.org/is/16-120r3/16-120r3.html OGC® Moving Features: Two trajectories

Operations between two trajectory objects from the spatio-temporal viewpoint nearest time Approach Examples: distance •distanceWithin Within •intersection •nearestApproach y

x Trajectory object OGC® http://docs.opengeospatial.org/is/16-120r3/16-120r3.html Connected & Autonomous Vehicles

Jeremy Morley, Chief Geospatial Scientist Ordnance Survey - OGC Future Directions, Leuven, 25 June 2019 OGC® Space and Time Topics for the W3C Workshop on Data Models for Transportation Additional Topics

OGC® OGC®

Discrete Global Grids

Slide source: Matthew B. J. Purss, Robert Gibb, Faramarz Samavati, Perry Peterson, Jin Ben, Roger Lott

OGC® Analysis without Maps

• Traditional GIS and image analysis approaches assume flat earth geometries = simpler code… but data is warped to fit the “flattened” view of the Earth. – OK for local scales (where approximate Earth surface is relatively flat) – But Fails at larger scales (where curvature of the Earth becomes significant.)

OGC® Discrete Global Grid Systems

“…a that uses a hierarchical tessellation of cells to partition and address the globe. DGGS are characterized by the properties of their cell structure, geo-encoding, quantization strategy and associated mathematical functions.” – OGC DGGS Standard

OGC® Standardising Discrete Global Grid Systems

Different Cell Shapes

Unique Cell Indices • Hierarchy-based, Space-filling Curve, Axes-based or Encoded Address

nD Spatial Analyses ↓ 1D Array Processes

00 01 02 03 10 11 12 13 20 21 22 23 30 31 32 33

OGC® Simple Geometries for

OGC simple features (ISO 1923) geometries are restricted to 0, 1 and 2-dimensional geometric objects that exist in 2-dimensional coordinate space (R2).

OGC® © 2016 Open Geospatial Consortium Topological Relations between Spatial Objects

B A/B A B A B A

Equals Touches Overlaps Contains

A B A B A B A

Within Disjoint Intersects Crosses

OGC Simple Features

OGC® © 2016 Open Geospatial Consortium OGC InfraGML - Roads

•For exchanging the output of a design with someone who is likely to use the design for purposes other than completing the road design. •Road specifies that part of a Facility which is a single segment of road that is continuous, non-overlapping, and non-branching (though it may contain intersections with other roads) •Road can be represented with RoadElements, 3D StringLines, or 3D surfaces and layers, or sets of each of these •Road is dependent upon Facility and LandFeature

OGC®

RoadCrossSection RC

•A CrossSection describes how a Road looks, in a 2D cross section view, at some specific location along its length. •CrossSections can have CrossSectionElements and/or Areas, defined by CrossSectionPoints •RoadCrossSection is dependent upon Road

OGC® CityGML – Street Modeling

CityGML and Streets of New York – Proposal for Detailed Street Modelling C. Beil & T. H. Kolbe ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume IV-4/W5, 2017 12th 3D Geoinfo Conference 2017, 26–27 October 2017, Melbourne, Australia

OGC® Using location, we connect people, communities, technology and decision making to create a sustainable future for us, our kids and future generations • By specializing in making location more Findable, Accessible, Interoperable and Reusable • Via a proven collaborative and agile process combining Comprehensive standards, innovation and partnerships global community-driven forward- looking Communities- Partnerships expertise in location Tech & Market & Alliances Domains

Process for Standards & Innovation OGC®