Skip to content

Commit

Permalink
Less noisy transform failure errors
Browse files Browse the repository at this point in the history
- Don't spew a whole lot of "rethrowing expection" log messages on the
default log level
- Don't output tons of duplicate transform error messages - instead
only output the message if its different to the last error encountered
(avoids flooding the console when transform failures occur during
raster projection, resulting in quasi-hangs)
  • Loading branch information
nyalldawson committed Feb 17, 2020
1 parent d4d6f79 commit f749ba5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgscoordinatetransform.h
Expand Up @@ -681,6 +681,7 @@ class CORE_EXPORT QgsCoordinateTransform
bool mBallparkTransformsAreAppropriate = false;
bool mDisableFallbackHandler = false;
mutable bool mFallbackOperationOccurred = false;
mutable QString mLastError;

#if PROJ_VERSION_MAJOR>=6
bool setFromCache( const QgsCoordinateReferenceSystem &src,
Expand Down

0 comments on commit f749ba5

Please sign in to comment.