What is the data source for the layers? Is it a database? If so, would
SQL Views offer a solution?
On Tue, Feb 10, 2015 at 4:29 AM, Roel De Nijs <[email protected]>
wrote:
> Hi list,
>
>
>
> We send a WMS GetMap-request (through OpenLayers) to geoserver for a set
> of layers. The number of comma-seperated values in the layers parameter
> ranges from 1 to 30.
>
>
>
> Some of our users are only allowed to see the objects of a certain
> geographic area like a city or a state. To implement this requirement, we
> currently add a cql_filter to the request and so for each layer (in the
> layers parameter) we add something like “WITHIN(the_geom, wktOfArea)”. This
> wktOfArea can get quite big and is thus repeated for every layer (resulting
> in a very big request). It works, but it’s slow.
>
>
>
> Are there any alternatives to implement this requirement? What’s
> considered tob e the best approach? I noticed the querylayer module (cross
> layer filtering) and because the cities and states are defined in a
> seperate geoserver layer, I assume this could be a (good) alternative...
>
>
>
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users