Project

General

Profile

Thinning

Sometimes there can be so much point data that the rendered point data items can overlap. It is possible to define the minimum wanted empty space around an element by the Thinning element with a radius attribute, which describes the minimum distance in pixels. The points are drawn in the order in which the occur in the data file. If a new point is closer than radius pixels from one of the previous points it will not be drawn. There is no other way to prioritize the drawing order.

<Style>
  <Point ..../>
  <Thinning radius="40"/>
  <RenderMethod>pointthin</RenderMethod>
  ...
<Style>

Example with no thinning:

Example with thinning:

nothin.png View (9.53 KB) Ernst de Vreede, 06/16/2015 08:41 AM

thin.png View (6.95 KB) Ernst de Vreede, 06/16/2015 08:41 AM