Hi,
It there really a need to adjust "LAYERS"? We keep it to whatever is happens
to be and change only the "QUERY_LAYERS" on the client side. Actuallly we
capture the last used WMS GetMap and construct a new GetFeatureInfo by using it
as a template and adding the constant QUERY_LAYERS and X and Y parameters from
the mouse click. That works for us but the WMS server in this case is
Mapserver and not Geoserver.
-Jukka Rahkonen-
Andrea Aime wrote:
There is no "configuration" you can do to perform what you're looking for, but
if you up to programming, you can build a plugin implenetation, called a
DispatcherCallback,
in which you replace on the fly the name of the raster layer with the name of
the vector layer
in both the layers and query_layers portion of the request.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users