Skip to content
Permalink
Browse files

Fixes #19383 - Tolerance fixed in GetFeatureInfo for points

  • Loading branch information
pblottiere committed Oct 2, 2018
1 parent d77c61e commit 2c5d1c548b95345290deaf02ef64925d7834da0c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/server/services/wms/qgswmsrenderer.cpp
@@ -2344,7 +2344,8 @@ namespace QgsWms
}
else //points
{
if ( ! mWmsParameters.pointTolerance().isEmpty() )
if ( ! mWmsParameters.pointTolerance().isEmpty()
&& mWmsParameters.pointToleranceAsInt() > 0 )
{
mapUnitTolerance = mWmsParameters.pointToleranceAsInt() * rct.mapToPixel().mapUnitsPerPixel();
}

0 comments on commit 2c5d1c5

Please sign in to comment.
You can’t perform that action at this time.