# identifying single overlaping features from a GeoServer layer

I'm trying to use GeoServer to display features from a PostGis table the url will look similar to this.

Example URL

Localhost:8080/geoserver/cite/wms?service=WMS&version=1.1.0&request=GetMap&layers=cite:Layer1, cite:Layer2& styles=&bbox……..width=512,heaight=430&srs=EPSG:4326&application/openlayers

&FILTER= (<Filter xmlns="http://www.opengis.net/ogc">
<FeatureId fid=”Layer1.1234”></FeaturId>
<FeatureId fid=”Layer1.5678”></FeaturId></Filter>)
(<Filter xmlns="http://www.opengis.net/ogc">
<FeatureId fid=”Layer2.345”></FeaturId></Filter>)


When I click on a polygon I need to highlight a single polygon if two (or more) polygons overlap i need to be able to step through each polygon in turn showing just it's attributes.

At present I click on a feature and the attributes for the entire layer are shown in my example I use PostGis I've also tried this using a shapefile and the same thing happens.

Any help would gratefully received ThanX Holly

• Check the GeoServer logs to see if there is an error parsing your filter – tomfumb Apr 4 '12 at 21:18