On Wed, Feb 5, 2014 at 6:18 PM, Jonathan Moules <
[email protected]> wrote:

> Hi Casper,
> I'm not sure that that's possible.
>
> What might work however is the following:
>
> Have two layers.
> Visual layer (getMap) - turn off "queryable" for this layer.
> GetFeature layer - Use a "blank" style (so it doesn't actually get drawn).
>
> You may want to group them both into a layer group.
>
> I'm doing something similar and it works, although GeoServer may require
> that *all* layers are queryable if you're putting it in a layer group.
>

Is there a ticket for this btw? Layer groups are just aliases, so we simply
expand them into the list of layers they are made of.
Now, when we do that for query_layers, we could limit the expansion to
those that are queryable, and barf only if none of them
is. Should be easy to implement.

Cheers
Andrea


-- 
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to