Skip to content

Commit

Permalink
Fixes #19383 - Tolerance fixed in GetFeatureInfo for points
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 15, 2018
1 parent d77c61e commit 2c5d1c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 2c5d1c5

Please sign in to comment.