Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map always shows location as 0, 0; Other Location source types not supported #23

Open
mikebotts opened this issue Feb 1, 2017 · 1 comment

Comments

@mikebotts
Copy link
Member

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.

@mdhsl
Copy link
Member

mdhsl commented May 22, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants