Skip to content

Commit

Permalink
geo_normalize.c: follow-up to e06625c to avoid look up of user-define…
Browse files Browse the repository at this point in the history
…d GeogGeodeticDatumGeoKey that cause PROJ warnings (fixes #41)
  • Loading branch information
rouault committed Aug 3, 2020
1 parent 8b1a8f5 commit 36f6ae5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libgeotiff/geo_normalize.c
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 36f6ae5

Please sign in to comment.