[OpenLayers-Dev] Buffer/radius in GetFeatureInfo request

Ringdahl Niklas Niklas.Ringdahl at sweco.se
Tue Sep 15 10:44:14 EDT 2009


Hi Andreas, and thanks!

I don't know if it's possible to update right now, but this improvement may be the best argument for that. Will it work with external graphics as well? If not, is it possible to set a size in the SLD to mimick this behaviour?

Regards,
- Niklas
 

-----Ursprungligt meddelande-----
Från: Andreas Hocevar [mailto:ahocevar at opengeo.org] 
Skickat: den 15 september 2009 16:35
Till: Ringdahl Niklas
Kopia: dev at openlayers.org
Ämne: Re: [OpenLayers-Dev] Buffer/radius in GetFeatureInfo request

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