[OpenLayers-Dev] Buffer/radius in GetFeatureInfo request

Andreas Hocevar ahocevar at opengeo.org
Tue Sep 15 10:34:48 EDT 2009


Hi,

If it is possible for you to upgrade to GeoServer 1.7.6, you will get
intelligent point radius selection for free, without the need to provide
an extra vendorParam. The way it works is that it analyzes the SLD that
created the symbol, and will return all the features that are *visible
on the map* at the spot that you clicked.

Regards,
Andreas.

Ringdahl Niklas wrote:
> Hi list.
>
> I'm using the WMSGetFeatureInfo control to query a point layer, and
> would like to increase the area where a point gets hit. Somewhere I read
> about a vendorParam "buffer" or "radius" for Geoserver that would do the
> trick, but I can't seem to get it to work. Does anyone have any hints or
> code? 
>
> I'm using OpenLayers 2.8, Geoserver 1.7.3 and PostGreSQL 8.3.5
>
> Thanks in advance!
> - Niklas
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Dev mailing list