Geospatial schemas
Geospatial schemas allow us to model several different geographic types. These geospatial schemas are based on GeoJSON. GeoJSON is a standard format for encoding several geographical data structures using JSON.
The following geometry types are available:
The DTDL geospatial schema's DTMI can be derived from the DTDL term:
dtmi:standard:schema:geospatial:[DTDL term];2
The following example shows a Telemetry
that defines the location of a vehicle. The location is defined by a point:
{ "@type": "Telemetry", "name": "vehiclelocation", "schema": "point" }
This allows us to send a message containing the longitude and latitude coordinates of the vehicle to a digital twin instance using a model containing this object type.
Important note
Geospatial types cannot be used in Property...