]> git.street.me.uk Git - andy/viking.git/commitdiff
Be less strigent in loading Geotagged images without optional GPS tags
authorWolfgang Goetz <Wolfgang.ztoeG@web.de>
Wed, 13 Mar 2013 23:14:59 +0000 (23:14 +0000)
committerRob Norris <rw_norris@hotmail.com>
Wed, 13 Mar 2013 23:14:59 +0000 (23:14 +0000)
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
src/geotag_exif.c

index 2dcb0fae1530e0d77484b996b5e19938ecbc3812..85a1766417537413730c51098a1b52ac1dd954e8 100644 (file)
@@ -156,18 +156,6 @@ VikWaypoint* a_geotag_create_waypoint_from_file ( const gchar *filename, VikCoor
        //if ( ! ( ee->data[0] == 2 && ee->data[2] == 0 && ee->data[3] == 0 ) )
        //      goto MyReturn;
 
-
-       ee = exif_content_get_entry (ed->ifd[EXIF_IFD_GPS], EXIF_TAG_GPS_MAP_DATUM);
-       if ( ! ( ee && ee->components > 0 && ee->format == EXIF_FORMAT_ASCII ) )
-               goto MyReturn;
-
-       // If map datum specified - only deal in WGS-84 - the defacto standard
-       if ( ee && ee->components > 0 ) {
-               exif_entry_get_value ( ee, str, 128 );
-               if ( strncmp (str, "WGS-84", 6) )
-                       goto MyReturn;
-       }
-
        //
        // Lat & Long is necessary to form a waypoint.
        //