[Geoserver-users] 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!

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@anonymised.comnet
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!