2011/4/27 Andrés Maneiro <[email protected]>:
> Hello,
>
> to address performance issues with the server I am working with, one of
> the things I'd like to do is to publish multiple data sources with
> different levels of generalization depending on the scale.
>
> So, imagine I have 3 different scale ranges: low (country scale), medium
> (state scale) and high (neighborhood scale). At country scale hospitals
> will be not rendered, at medium range it will be displayed as points and
> in high scale polygons will be showed.
>
> Is it possible to configure geoserver to ask for a layer and depending
> on the scale it serves one or other? Is only possible to achieve that
> behaviour by means of openlayers/javascript?
>

scale dependant SLD and a Layer group will do this - see
http://ian01.geog.psu.edu/geoserver_docs/data/naturalearth/naturalearth_physical.html
for a discussion on how I did it.


Ian

-- 
Ian Turton

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to