From 7cf10bf0339a8bb2856cca24aec2f14886805c5c Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 4 Jul 2018 15:33:11 -0400 Subject: [PATCH] Georeferencing pc_params fix --- scripts/odm_georeferencing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/odm_georeferencing.py b/scripts/odm_georeferencing.py index f9d05c08..c2cb2b9d 100644 --- a/scripts/odm_georeferencing.py +++ b/scripts/odm_georeferencing.py @@ -103,7 +103,9 @@ class ODMGeoreferencingCell(ecto.Cell): if transformPointCloud: kwargs['pc_params'] = '-inputPointCloudFile {pc} -outputPointCloudFile {pc_geo}'.format(**kwargs) - + else: + kwargs['pc_params'] = '' + # Check to see if the GCP file exists if not self.params.use_exif and (self.params.gcp_file or tree.odm_georeferencing_gcp):