Hi List,
I’ve got a number of users who are experiencing issues with GetFeatureInfo not returning anything when they click a line feature. This is different from my previous email as those were polygons and there was no chance of missing.
In this case after careful study, it seems that users are commonly clicking what they think is on/near a feature, but GeoServer thinks it is a miss.
After quite a bit of searching I found out that GeoServer has a 2 pixel tolerance - http://docs.geoserver.org/stable/en/user/services/wms/vendor.html?highlight=getfeatureinfo#buffer
The below are two indications of what GeoServer considers a “miss” - the first one is within 2 pixels of the line border.
Two pixels seems extremely low. For comparison:
- MapServer is 3. (http://www.mapserver.org/mapfile/layer.html - tolerance)
- degree is 5 (http://download.deegree.org/deegree2.5/docs/wms/html/deegree_wms_documentation_en.html - radius)
- ArcGIS Server 9.3 was 2 - (http://www.clevervectors.com/archives/16)
- ArcGIS Server 10.1 has help saying how to set it to 10 (don’t know what the default is) - http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000596000000
I’d like to propose increasing the GeoServer default to at least 4 pixels. I’m aware it can be changed via the buffer parameter, but I think the default is unreasonably low; regular users are struggling to click features.
Any thoughts? Has anyone else had problems with this, or have their users have problems with it?
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.