Open mikebotts opened 7 years ago
this doc works fine:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="C:fakepathlocGML.xml"?>
<sml:PhysicalComponent xmlns:sml="http://www.opengis.net/sensorml/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:swe="http://www.opengis.net/swe/2.0">
<gml:description> Static Location - Temperature sensor on my window </gml:description>
<sml:outputs>
<sml:OutputList>
<sml:output name="temp">
<swe:Quantity definition="http://sweet.jpl.nasa.gov/2.2/quanTemperature.owl#Temperature">
<swe:uom code="Cel"/>
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
<sml:position>
<gml:Point gml:id="stationLocation" srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:coordinates>50.77966452021205 79.94671874999985</gml:coordinates>
</gml:Point>
</sml:position>
</sml:PhysicalComponent>
Do you have some not working examples? I remember problems with some document containing a EPSG code which was not supported by OpenLayer, in that case,the position would be 0,0: ToCheck
Even for gml:Point, the location is always 0,0 on the map. Also locations given using SWE Common Vectors (byLocation, byPosition) are not yet supported by map.