[mapserver-users] How increase the tolerance for GetFeatureInfo over a line dataset

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Aug 23 10:23:56 PDT 2016


Hi Andrea,

I have tested a GetFeatureInfo (through a query in QGIS 2.16) with

   TOLERANCE 50
   TOLERANCEUNITS pixels

and it correctly returns text query results with a large radius.  I 
would note that if you are also testing through QGIS, there is a nasty 
'feature' in the 2.x releases where I must manually delete my cache, if 
I want to see changes in any of my WMS services (for example, after I 
change my mapfile I must delete the contents of the QGIS cache folder).

I am using MS4W 3.1.4 (MapServer 7.0.1).

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-08-23 12:14 PM, Andrea Peri wrote:
> Hi,
> I have a line dataset and need to allow an easy GetFeatureInfo over the lines.
> actually is extremely hard for an user to be able to click exactly
> over the line and retrieve the Information of the feature.
>
> So I need to increase the tollerance to the point click.
> I see from documentation that there is the two values:
> "tolerance" and "tolerance units",
> So i try to set both them
>
>     TOLERANCE 10.0
>     TOLERANCEUNITS pixels
>
> But no effect seem to have.
>
> Perhaps I understand wrongly to mean of "tolerance"
>
> Thx for every info.
>






More information about the MapServer-users mailing list