[OpenLayers-Users] vector layer clustering LOD

Ian Turton ijturton at gmail.com
Thu Jul 14 07:17:11 EDT 2011


On 14 July 2011 11:34, Christian Ledermann
<christian.ledermann at gmail.com> wrote:
> I try to display a map of water bodies on a global map.
> The problem is that some a very big (like the amazon, nile, caspian
> sea) which will show up on a global
> map, and others (like san juan river, lake ohrid, lake skodar, etc)
> are so small (and close together) that in a global map they won't show
> up. so i want to display the bigger water bodies as polygons and the
> smaller ones clustered.
>

Clustering is not what you want - I recommend that you use generalized
layers that you switch using scale dependencies in the SLD. See
http://ian01.geog.psu.edu/geoserver_docs/data/naturalearth/naturalearth_physical.html#water-layers
for a more detailed discussion.

Ian
-- 
Ian Turton


More information about the Users mailing list