0001-misc-check-exif-geocoding-data-could-be-decoded-4374.patch
wcs/wf/geolocate.py | ||
---|---|---|
184 | 184 | |
185 | 185 |
if exif_data: |
186 | 186 |
gps_info = exif_data.get(0x8825) |
187 |
if gps_info: |
|
187 |
if gps_info and 2 in gps_info and 4 in gps_info:
|
|
188 | 188 |
# lat_ref will be N/S, lon_ref wil l be E/W |
189 | 189 |
# lat and lon will be degrees/minutes/seconds (value, denominator), |
190 | 190 |
# like ((33, 1), (51, 1), (2191, 100)) |
191 |
- |