Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 Answer 1

  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.