Changeset 17548 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2021-02-28T17:08:41+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ExifReader.java
r15219 r17548 178 178 */ 179 179 public static LatLon readLatLon(GpsDirectory dirGps) throws MetadataException { 180 if (dirGps != null ) {180 if (dirGps != null && dirGps.getTagCount() > 1) { 181 181 double lat = readAxis(dirGps, GpsDirectory.TAG_LATITUDE, GpsDirectory.TAG_LATITUDE_REF, 'S'); 182 182 double lon = readAxis(dirGps, GpsDirectory.TAG_LONGITUDE, GpsDirectory.TAG_LONGITUDE_REF, 'W');
Note:
See TracChangeset
for help on using the changeset viewer.