52North / ArcGIS-Server-SOS-Extension

The Sensor Observation Service (SOS) extension for ArcGIS Server is implemented as a so-called Server Object Extension (SOE). It allows querying of observations, procedures/sensors, as well as features observed by sensors. The interface is compliant with the SOS 2.0 standard from OGC.
http://52north.org/arcgisServerSOS
Apache License 2.0
10 stars 5 forks source link

adjust definition of the swe:Field "Pollutant" #21

Open matthesrieke opened 11 years ago

matthesrieke commented 11 years ago

<swe:field name=""mg.m-3""> should be something like

<swe:field name="Pollutant">
<swe:Quantity definition="http://dd.eionet.europa.eu/vocabulary/aq/pollutant/8">
<swe:uom xlink:href="http://dd.eionet.europa.eu/vocabulary/aq/observationunit/mg.m-3" />
<swe:label>Nitrogen dioxide (air)</swe:label>
</swe:Quantity>
</swe:field>
matthesrieke commented 11 years ago

does an encoding like this suffice? @arne-broering

<swe:field name="Pollutant">
    <swe:Quantity definition="http://dd.eionet.europa.eu/vocabulary/aq/pollutant/8">
        <swe:uom xlink:href="http://dd.eionet.europa.eu/vocabulary/aq/observationunit/mg.m-3" code="mg.m-3"></swe:uom>
        <swe:label>Miligrams per cubic metre of ambient air</swe:label>
    </swe:Quantity>
</swe:field>

The swe:label is the Unit.label from the database. field's name is fixed to "Pollutant".

arne-broering commented 11 years ago

mmm, it was suggested to use

<swe:label>Nitrogen dioxide (air)</swe:label>

Any reason against it?? @matthesrieke

matthesrieke commented 11 years ago

this would require static mappings inside the code. the current value of the label is the one defined in the database. I would prefer sticking with that and possibly give advice to adjust the DB?

arne-broering commented 11 years ago

Static mappings would not be desirable, indeed. Question: the table 'dbo.Property' contains a 'label' attribute with the desired values. Can't we take that one?

matthesrieke commented 11 years ago

will check that. if it can be joined in the query it most likely should work.

arne-broering commented 10 years ago

Relates to: http://taskman.eionet.europa.eu/issues/15599