UNPKG

@mangosystem/ogc-schemas

Version:

Jsonix XML-JSON mappings for OGC Schemas.

34 lines 1.6 kB
<?xml version="1.0" encoding="UTF-8"?> <sml:PhysicalComponent gml:id="MY_SENSOR" xmlns:sml="http://www.opengis.net/sensorml/2.0" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sensorml/2.0 http://schemas.opengis.net/sensorml/2.0/sensorML.xsd"> <!-- ================================================= --> <!-- System Description --> <!-- ================================================= --> <gml:description> Static Location - Temperature sensor on my window </gml:description> <!-- ================================================= --> <!-- Observed Property = Output --> <!-- ================================================= --> <sml:outputs> <sml:OutputList> <sml:output name="O2"> <swe:Quantity definition="http://sensorml.com/ont/swe/property/DissolvedOxygen"> <swe:label>Dissolved Oxygen</swe:label> <swe:uom code="%"/> </swe:Quantity> </sml:output> </sml:OutputList> </sml:outputs> <!-- ================================================= --> <!-- Station Location --> <!-- ================================================= --> <sml:position> <swe:Text> <swe:value>on the exhaust line after the catalytic converter</swe:value> </swe:Text> </sml:position> </sml:PhysicalComponent>