Hi,

Try if adding &feature_count=10 helps. By WMS standard the default of 
feature_count=1 but when multiple layers are queried the server should return 
one answer per layer. So in theory your request should work as it is now, but 
make a test anyway and report back.

-Jukka Rahkonen-

Lähettäjä: Alexandre Gacon <[email protected]>
Lähetetty: perjantai 29. marraskuuta 2019 12.33
Vastaanottaja: geoserver-users <[email protected]>
Aihe: [Geoserver-users] WMS GetFeatureInfo on several layers

Hi,

I am trying to send WMS GetFeatureInfo request to my geoserver instance for 
several layers at the same time (both for layers and query_layers parameters).

It seems that only the information of first layer with information at the 
clicked place is returned : is it something expected ?

I know that if I put all my layers in a layer group, I have this behavior but I 
want to be able to decide which layer to put in my request based on the 
visibility choices of the user.

--
Alexandre Gacon
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to