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:[email protected]] Gesendet: Donnerstag, 14. August 2014 13:16 An: Sebastian Marsky; [email protected]<mailto:[email protected]> 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: http://demo.opengeo.org/geoserver/wms?BBOX=44.3115939344240175,-103.93616932504362182,44.55018319949628136,-103.57561215835877988&CRS=EPSG:4326&QUERY_LAYERS=topp:states,og:streams&SERVICE=WMS&HEIGHT=714&REQUEST=GetFeatureInfo&STYLES=&I=775&J=246&WIDTH=1079&FEATURE_COUNT=10&VERSION=1.3.0&FORMAT=image/png&LAYERS=topp:states,og:streams&buffer=100 -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!
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
