Skip to content
Permalink
Browse files

Tolerance fixed in GetFeatureInfo for lines

  • Loading branch information
pblottiere committed Oct 15, 2018
1 parent 6fce785 commit 075d53f97e693d0e5b5899031d076935c18f0333
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/server/services/wms/qgswmsrenderer.cpp
@@ -2333,7 +2333,8 @@ namespace QgsWms
}
else if ( ml->geometryType() == QgsWkbTypes::LineGeometry )
{
if ( ! mWmsParameters.lineTolerance().isEmpty() )
if ( ! mWmsParameters.lineTolerance().isEmpty()
&& mWmsParameters.lineToleranceAsInt() > 0 )
{
mapUnitTolerance = mWmsParameters.lineToleranceAsInt() * rct.mapToPixel().mapUnitsPerPixel();
}

0 comments on commit 075d53f

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