Hi,
I made a test by making two copies of all features of the states shapefile and saving the shape. When I open the new topp:states into QGIS and use the GetFeatureInfo tool I am getting three results. Could you repeat the test?
With more t recent Geoserver versions using GetFeatureInfo with overlapping features may be more tricky because of new improvements. Nowadays query should find only features which are visible on the map and I am not sure about what happens if some polygons are hidden below some others.
-Jukka Rahkonen-
···
Sebastian Marsky wrote:
Hi,
ok I should have made that clearer. All geometries are in one single layer.
Von: Rahkonen Jukka (Tike) [mailto:jukka.rahkonen@anonymised.com]
Gesendet: Donnerstag, 14. August 2014 13:16
An: Sebastian Marsky; geoserver-users@lists.sourceforge.net
Betreff: Re: WMS/GetFeatureInfo with overlapping geometries
Hi,
Are both layers included in &layers and &query_layers? Here comes a query that seems to work:
-Jukka Rahkonen-
Sebastian Marsky wrote:
hi,
I’m having a layer containing shapes of all the states within a country and a complete shape of the country’s (outer) border. When running a GetFeatureInfo request, the response just contains the country shape and none of the state shapes, although feature_count is set to 8. I’m using Geoserver 2.2.1.
Do I miss something here? Any hint on that?
Thanks!