From 7e215d68420aacccce36f72e035f25962131b947 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Tue, 2 Jul 2019 15:40:20 -0400 Subject: [PATCH] Fixed --use-exif Former-commit-id: 9892118fa6046479f84cc9ee28784afc4c386648 --- stages/dataset.py | 2 +- stages/odm_app.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/stages/dataset.py b/stages/dataset.py index 4ffb194c..6ab17d7c 100644 --- a/stages/dataset.py +++ b/stages/dataset.py @@ -103,7 +103,7 @@ class ODMLoadDatasetStage(types.ODM_Stage): # Create reconstruction object reconstruction = types.ODM_Reconstruction(photos) - if tree.odm_georeferencing_gcp: + if tree.odm_georeferencing_gcp and not args.use_exif: reconstruction.georeference_with_gcp(tree.odm_georeferencing_gcp, tree.odm_georeferencing_coords, tree.odm_georeferencing_gcp_utm, diff --git a/stages/odm_app.py b/stages/odm_app.py index 7c8e4ffe..6e69deaf 100644 --- a/stages/odm_app.py +++ b/stages/odm_app.py @@ -53,7 +53,6 @@ class ODMApp: tone_mapping=args.texturing_tone_mapping) georeferencing = ODMGeoreferencingStage('odm_georeferencing', args, progress=80.0, gcp_file=args.gcp, - use_exif=args.use_exif, verbose=args.verbose) dem = ODMDEMStage('odm_dem', args, progress=90.0, max_concurrency=args.max_concurrency,