Project

General

Profile

StandardNames » History » Version 4

Maarten Plieger, 08/05/2016 08:00 AM

1 1 Maarten Plieger
h1. StandardNames (standard_name,units)
2 2 Maarten Plieger
3 4 Maarten Plieger
* standard_name - Comma separated list of standard_names to match. * will apply this style to all layers.
4 3 Maarten Plieger
* units - Optional, units to match to
5 2 Maarten Plieger
6 2 Maarten Plieger
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
7 2 Maarten Plieger
8 2 Maarten Plieger
<pre>
9 3 Maarten Plieger
<Style name="air_temp_celsius">
10 3 Maarten Plieger
  <StandardNames standard_name="air_temperature,temperature" units="Celsius"/>
11 2 Maarten Plieger
 ...
12 2 Maarten Plieger
</Style>
13 2 Maarten Plieger
14 3 Maarten Plieger
<Style name="air_temp_kelvin">
15 3 Maarten Plieger
  <StandardNames standard_name="air_temperature,temperature" units="Kelvin"/>
16 2 Maarten Plieger
 ...
17 2 Maarten Plieger
</Style>
18 2 Maarten Plieger
  
19 2 Maarten Plieger
</pre>