Skip to content
Permalink
Browse files
Fix build on older proj
  • Loading branch information
nyalldawson committed Jan 11, 2022
1 parent c4ed082 commit 8e73cc6683577cc1660864a458fac471ebd1d516
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/proj/qgscoordinatereferencesystem.cpp
@@ -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;

0 comments on commit 8e73cc6

Please sign in to comment.