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

Andrea Peri aperi2007 at gmail.com
Tue Aug 23 12:10:10 PDT 2016


Hi Jeff,
Thx for help,I resolved it.
:)
It was effectivelly a problem of our client gis
:(
not of mapserver.
:)

I don't remenber of the cache problem of qgis.
:(

Andrea.


2016-08-23 19:23 GMT+02:00 Jeff McKenna <jmckenna at gatewaygeomatics.com>:
> 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.
>>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the mapserver-users mailing list