Skip to content
Permalink
Browse files

Be less fussy when matching proj strings to auth/code from qgis db on…

… proj 6

The db has many more entries, and ideally the matching using qgis db
is going to be removed asap (as soon as proj can correctly perform
this identification itself)
  • Loading branch information
nyalldawson committed May 13, 2019
1 parent 20c458f commit d42baf49316f950b8caa4112c0616ffa7381a43e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgscoordinatereferencesystem.cpp
@@ -1062,7 +1062,10 @@ QgsCoordinateReferenceSystem::RecordMap QgsCoordinateReferenceSystem::getRecord(
if ( statement.step() != SQLITE_DONE )
{
QgsDebugMsgLevel( QStringLiteral( "Multiple records found in srs.db" ), 4 );
//be less fussy on proj 6 -- the db has MANY more entries!
#if PROJ_VERSION_MAJOR<6
myMap.clear();
#endif
}
}
else

0 comments on commit d42baf4

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