Take the 2-minute tour ×
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

<Rule>
    <PointSymbolizer>
     <Graphic>
       <ExternalGraphic>
         <OnlineResource
           xlink:type="simple"
           xlink:href="http://server/directory/image.png" />
         <Format>image/png</Format>
       </ExternalGraphic>
       <Size>28</Size>
     </Graphic>
   </PointSymbolizer>
</Rule>

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

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.