mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed EXIF altitude handling
This commit is contained in:
parent
e6cd7f8bfa
commit
010b983667
@ -77,7 +77,7 @@ double EXIFParser::altitude(TIFFFile &file, const IFDEntry &alt,
|
||||
return NAN;
|
||||
|
||||
return (altRef.type == TIFF_BYTE && altRef.count == 1 && altRef.offset)
|
||||
? -num/(double)den : num/(double)den;
|
||||
? -(num/(double)den) : num/(double)den;
|
||||
}
|
||||
|
||||
double EXIFParser::coordinate(TIFFFile &file, const IFDEntry &ll) const
|
||||
|
Loading…
Reference in New Issue
Block a user