[OpenLayers-Users] Re: WMSGetFeatureInfo + xy mouse coordinates,
can this be done?
david.fawcett at gmail.com
Tue Mar 1 21:59:49 EST 2011
With MapServer, you set a tolerance value for your layer. You can
combine this with a toleranceunits value to tell MapServer whether a
tolerance value of 10 represents 10 pixels or 10 miles. (or other
units. the default is pixels) I am assuming that you would set a
tolerance value in pixels to match the size of our symbol.
Here is a URL to the docs: http://mapserver.org/mapfile/layer.html#tolerance
I am sure that you can do this with GeoServer too, I just know MapServer.
On Tue, Mar 1, 2011 at 6:24 PM, Planet)x <andrew.stewart at reddeer.ca> wrote:
> Thanks again for all your help... I am continuing to work on this issue
> unfortuntely haven't got it working yet. Can I just clarify something.. if I
> were to use other open source products such as GeoServer or MapServer do
> they have the ability to fix this issue by using the Tolerance setting? So
> if I increase the symbol of a point and mouseover it by somehow using a
> tolerance setting provided by mapserver/geoserver the WMSGetFeatureInfo
> control will still return data about that point properly if the mouse is
> near it and not in the exact center?
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Re-WMSGetFeatureInfo-xy-mouse-coordinates-can-this-be-done-tp6077238p6079237.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> Users mailing list
> Users at lists.osgeo.org
More information about the Users