Hi,

There  two parameters &layers= and &query_layers=.  The layer (or list of 
layers) in &query_layers must appear also in &layers but not vice versa. You do 
not need to query all the layers, put the name of the one you are interested in 
into query_layers.

-Jukka Rahkonen-

raphsus wrote:

> My simple application gives me the following error "QUERY_LAYERS contains
> layers not cited in LAYERS. It should be a proper subset of those instead". 
> Yes, i
> do not want to query all layers so under the 'layers' parameter under 'get
> feature info' i skipped adding a layer.
> What should be the correct approach? How can i get rid of the error message?
> 
> Thanks
> 
> 
> 
> 
> --
> View this message in context: http://osgeo-
> org.1560.x6.nabble.com/GetFeatureInfo-to-Geoserver-
> tp3802214p5147541.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse Turn
> processes into business applications with Bonita BPM Community Edition Quickly
> connect people, data, and systems into organized workflows Winner of BOSSIE,
> CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to