Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not create sAuthIdToQgisSrsIdMap for proj5 builds
  • Loading branch information
PeterPetrik authored and nyalldawson committed Aug 11, 2019
1 parent ecfad70 commit 3c5091b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgscoordinatereferencesystem_legacy.h
Expand Up @@ -19,6 +19,7 @@
#include <QMap>
#include <QString>

#if PROJ_VERSION_MAJOR>=6
// maps QGIS custom db srs ids to proj auth/codes
const QMap< QString, QString > sAuthIdToQgisSrsIdMap
{
Expand Down Expand Up @@ -6782,3 +6783,4 @@ const QMap< QString, QString > sAuthIdToQgisSrsIdMap
{"EPSG:8320", "29667,8320"},
{"EPSG:8321", "29668,8321"}
};
#endif // PROJ_VERSION_MAJOR>=6

0 comments on commit 3c5091b

Please sign in to comment.