Project

General

Profile

StandardNames » History » Version 2

« Previous - Version 2/5 (diff) - Next » - Current version
Maarten Plieger, 06/10/2013 02:25 PM


StandardNames (standard_name,units)

  • standard_name
  • units

Styles can be assigned automatically to a Layer by configuring one or more StandardNames element(s). When the Layers standard_name matches with one of the names configured in a Style, this Style will also be assigned to that Layer. Optionally the units attribute can also be used to discriminate in for example temperature layers with units in Kelvin and units in Celsius

<Style name="air_temp_c">
  <StandardNames standard_name="air_temperature" units="Celsius"/>
 ...
</Style>

<Style name="air_temp_c">
  <StandardNames standard_name="air_temperature" units="Kelvin"/>
 ...
</Style>