On 6 February 2014 09:05, Andrea Aime <andrea.a...@geo-solutions.it> wrote:
> On Wed, Feb 5, 2014 at 6:18 PM, Jonathan Moules <
> jonathanmou...@warwickshire.gov.uk> 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.
>
I hadn't created one (I figured it was by design even though it was kind of
annoying). But have now - http://jira.codehaus.org/browse/GEOS-6340
Cheers,
Jonathan
--
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users