Open matthesrieke opened 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".
mmm, it was suggested to use
<swe:label>Nitrogen dioxide (air)</swe:label>
Any reason against it?? @matthesrieke
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?
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?
will check that. if it can be joined in the query it most likely should work.
Relates to: http://taskman.eionet.europa.eu/issues/15599
<swe:field name=""mg.m-3"">
should be something like