StandardNames » History » Version 4

Version 3 (Maarten Plieger, 06/10/2013 02:26 PM) → Version 4/5 (Maarten Plieger, 08/05/2016 08:00 AM)

h1. StandardNames (standard_name,units)

* standard_name - Comma separated list of standard_names to match. * will apply this style to all layers. match
* units - Optional, units to match to

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_celsius">
<StandardNames standard_name="air_temperature,temperature" units="Celsius"/>

<Style name="air_temp_kelvin">
<StandardNames standard_name="air_temperature,temperature" units="Kelvin"/>