Project

General

Profile

Point » History » Version 4

Ernst de Vreede, 06/15/2015 03:31 PM

1 3 Ernst de Vreede
h1. Point(pointstyle,fillcolor,linecolor,textcolor,textformat,fontfile,fontsize,discradius,textradius,dot,anglestart,anglestop,plotstationid)
2 1 Ernst de Vreede
3 1 Ernst de Vreede
h2. Configuration of rendering point data
4 3 Ernst de Vreede
5 3 Ernst de Vreede
The Point element is defines the rendering of point data. A Layer with point data can contain one or more NetCDF variables (Variable elements). If there are exactly two Variable elements the layer is assumed to contain wind speed and direction (see [[Vector]]). 
6 3 Ernst de Vreede
There are a lot of rendering possibilities for point data. 
7 3 Ernst de Vreede
8 3 Ernst de Vreede
9 3 Ernst de Vreede
The *pointstyle* attribute defines the style of point rendering and can have one of the values "point", "disc", "volume" or "symbol".
10 3 Ernst de Vreede
Point data can be rendered:
11 3 Ernst de Vreede
* as a text on the map on or around the station's location (single and multiple Variables) "point"
12 3 Ernst de Vreede
* as text on a coloured disc (one Variable): "disc"
13 3 Ernst de Vreede
* as a kind of fuzzy cloud: "volume"
14 3 Ernst de Vreede
* as a symbol determined by the point value and a set of SymbolInterval definitions: "symbol"
15 3 Ernst de Vreede
16 3 Ernst de Vreede
The *plotstationid* attribute defines if the stationid is plotted together with the data.
17 3 Ernst de Vreede
18 3 Ernst de Vreede
Appearance of a text is determined by the *textcolor*, *fontfile* and *fontsize* attributes. The value is formatted by the printf-style format string of the *textformat* attribute. 
19 3 Ernst de Vreede
20 3 Ernst de Vreede
h3. Pointstyle plot
21 3 Ernst de Vreede
22 3 Ernst de Vreede
When more than 2 Variables are defined in a layer, the values get plotted in a circle around the station's location. The values are plotted starting at the angle defined by the *anglestart* attribute and are *anglestep* degrees apart. The distance of the text from the station's location is defined by the *textradius* attribute.
23 3 Ernst de Vreede
24 3 Ernst de Vreede
If *discradius* is defined to be larger than 0 a circle is drawn at the station's location in a color determined by the data value and the Style's Legend.If *discradius* is 0 then the data's value is plotted centered at the station's location.
25 3 Ernst de Vreede
The attribute *linecolor* specifies a color for the edge of the circle. Making the *linecolor* transparent (linecolor="0x00000000") draws no line around the circle.
26 3 Ernst de Vreede
27 3 Ernst de Vreede
The attribute *dot* plots a dot at the station's location; this is mostly useful during configuration of a point data style.
28 3 Ernst de Vreede
29 3 Ernst de Vreede
h3. Pointstyle disc
30 3 Ernst de Vreede
31 3 Ernst de Vreede
Pointstyle disc can only handle 1 variable in a layer or 2 in case of wind data.
32 3 Ernst de Vreede
The attribute *discradius* defines the size of the disc on which the value text is drawn, *fillcolor* defines the color of the disc (this color can contain transparency). 
33 3 Ernst de Vreede
34 3 Ernst de Vreede
The attributes *anglestart*, *anglestep*, *linecolor*, *plotstationid* and *textradius* have no meaning here.
35 4 Ernst de Vreede
36 4 Ernst de Vreede
h3. Pointstyle volume
37 4 Ernst de Vreede
38 4 Ernst de Vreede
Pointstyle volume shows a fuzzy disc at the station's location. This style is most useful for events that can occur often and overlap (because the rendered discs are translucent).
39 4 Ernst de Vreede
The base color of the disc is defined by the *fillcolor* attribute. 
40 4 Ernst de Vreede
A station id is plotted if the *plotstationid* attribute has the value true.
41 4 Ernst de Vreede
42 4 Ernst de Vreede
The attributes *anglestart*, *anglestep*, *linecolor* and *textradius* have no meaning here.