Bug report #19383

QGIS Server WMS GetFeatureInfo requests parameter TOLERANCE=0 not working

Added by Gerald Kogler over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:Paul Blottiere
Category:QGIS Server
Affected QGIS version:3.2 Regression?:No
Operating System:linux ubuntu 16.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27211

Description

Adding FI_LINE_TOLERANCE=0&FI_POINT_TOLERANCE=0&FI_POLYGON_TOLERANCE=0 doesn't limit the tolerance to 0 pixels as expected, it gives back all features.

Actually calling GetFeatureInfo without this parameters seems to define a default tolerance of 0.

Setting higher values, like FI_LINE_TOLERANCE=1&FI_POINT_TOLERANCE=1&FI_POLYGON_TOLERANCE=1 seems to work as expected.

Associated revisions

Revision 2c5d1c54
Added by Paul Blottiere over 5 years ago

Fixes #19383 - Tolerance fixed in GetFeatureInfo for points

Revision e10736ae
Added by René-Luc ReLuc over 5 years ago

Merge pull request #8199 from pblottiere/server_getfeatureinfo_tolerance

[bugfix] Fixes #19383 - GetFeatureInfo tolerance

History

#1 Updated by Paul Blottiere over 5 years ago

  • Assignee set to Paul Blottiere

#2 Updated by Paul Blottiere over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF