Skip to content

Commit

Permalink
Fix build on older proj
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 11, 2022
1 parent c4ed082 commit 8e73cc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/proj/qgscoordinatereferencesystem.cpp
Expand Up @@ -2692,10 +2692,13 @@ bool QgsCoordinateReferenceSystem::createFromProjObject( PJ *object )
case PJ_TYPE_TRANSFORMATION:
case PJ_TYPE_CONCATENATED_OPERATION:
case PJ_TYPE_OTHER_COORDINATE_OPERATION:

#if PROJ_VERSION_MAJOR>=7
case PJ_TYPE_TEMPORAL_DATUM:
case PJ_TYPE_ENGINEERING_DATUM:
case PJ_TYPE_PARAMETRIC_DATUM:
return false;
#endif

default:
break;
Expand Down

0 comments on commit 8e73cc6

Please sign in to comment.