Skip to content

Commit

Permalink
Internal libgeotiff: avoid look up of user-defined GeogGeodeticDatumG…
Browse files Browse the repository at this point in the history
…eoKey that cause PROJ warnings (fixes OSGeo/libgeotiff#41)
  • Loading branch information
rouault committed Aug 3, 2020
1 parent baca7cf commit 84090e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gdal/frmts/gtiff/libgeotiff/geo_normalize.c
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,9 @@ int GTIFGetUOMAngleInfoEx( void* ctxIn,
return TRUE;
}

if( nUOMAngleCode == KvUserDefined )
return FALSE;

/* -------------------------------------------------------------------- */
/* Search the units database for this unit. If we don't find */
/* it return failure. */
Expand Down

0 comments on commit 84090e2

Please sign in to comment.