Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've got some Point data we're displaying in a WMS layer using geoserver 2.2 (same problem on 2.3.1). We style it with the following SLD

           xlink:href="http://server/directory/image.png" />

The problem is that when I click on the edge of the image displayed, the getFeatureInfo returns nothing. When I click dead-center or near-center, I get my data. I have checked that the image is indeed 28px by 28px

I have added a buffer parameter to the getFeatureInfo request and that "solves" it but my images are different sizes in other layers so that's not a satisfying solution.

Any idea why geoserver might not be computing the buffer correctly ? Thanks

share|improve this question
  1. I fix the problem by publish again layer and use cycle graphic style and set radius big then graphic icon
  2. I use new layer_name above for getfeature only and insert it into "nameGetFeature: new_layer" for your layer to show
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.