UNPKG

@mangosystem/ogc-schemas

Version:

Jsonix XML-JSON mappings for OGC Schemas.

21 lines 1.02 kB
<?xml version="1.0" encoding="UTF-8"?> <sml:PhysicalComponent gml:id="MY_MODEL_INSTANCE" xmlns:sml="http://www.opengis.net/sensorml/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sensorml/2.0 http://schemas.opengis.net/sensorml/2.0/sensorML.xsd"> <gml:description> An example of an instance in which one sets the active mode during installation </gml:description> <!-- reference to the base sensor --> <sml:typeOf xlink:title="urn:net:swe:process:sensorWithModes_ex456" xlink:href="http://www.sensorml.com/sensorML-2.0/examples/xml/SensorWithModes.xml"/> <!-- configuration settings for mode --> <sml:configuration> <sml:Settings> <!-- use mode gml:id as the value --> <sml:setMode ref="modes/threatLevel">lowThreat</sml:setMode> </sml:Settings> </sml:configuration> </sml:PhysicalComponent>