[OpenLayers-Users] Dealing with large number of WMS layers

Imran Rajjad rajjad at gmail.com
Tue Jun 15 01:59:23 EDT 2010


Hi,

for WMS request , you should use GeoWebcache, pre-render all your
layers at discrete zoom levels, then you can either make a mesh or add
them seperately to Open Layers as overlays with transparent background
in the order that suits you.

regards,
Imran

On Tue, Jun 15, 2010 at 10:49 AM, Dragan Podvezanec
<dragan.podvezanec at gmail.com> wrote:
>
> Hi all.
>
> I'm having a map with 350 different layers (Geoserver WMS connected to
> database).
>
> I tried to use few approaches how to show such big number of layers, and I'm
> having problem with all of them, so I would need some advice how to do this:
>
> 1. Using layer groups at Geoserver
> - I can't use this approach, because user must see any combination of those
> 350 layers. So I can't make layer groups for all combinations
>
> 2. Every layer in it's own request
> - also impossible: when user turns on more than 40 layers, this is 40
> requests and 40 images to fetch from WMS. It gets very slow and unresponsive
>
> 3. Single WMS request with filters
> - this is only way that works: single WMS request with CQL filters, like
> this:
> ...&CQL_FILTER=((ID=1)AND(ID=2))... and so on
>
> This is ok so far, but I'm hitting the URL length limit, and with few more
> layers, this will also not work anymore.
>
> So, do you have any other ideas how to deal with this problem ?
>
>
>
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Dealing-with-large-number-of-WMS-layers-tp5180575p5180575.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
I.R



More information about the Users mailing list