From 5cb332ae7b163236919f1af737c8b4f1f8c6e5f6 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Tue, 28 Sep 2021 18:33:06 +0000 Subject: [PATCH] Update MvsTexturing, fix GCP bug on Windows --- SuperBuild/cmake/External-MvsTexturing.cmake | 2 +- stages/odm_georeferencing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SuperBuild/cmake/External-MvsTexturing.cmake b/SuperBuild/cmake/External-MvsTexturing.cmake index a5b97c81..d30d575e 100644 --- a/SuperBuild/cmake/External-MvsTexturing.cmake +++ b/SuperBuild/cmake/External-MvsTexturing.cmake @@ -9,7 +9,7 @@ ExternalProject_Add(${_proj_name} #--Download step-------------- DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}/${_proj_name} GIT_REPOSITORY https://github.com/OpenDroneMap/mvs-texturing - GIT_TAG 262 + GIT_TAG 264 #--Update/Patch step---------- UPDATE_COMMAND "" #--Configure step------------- diff --git a/stages/odm_georeferencing.py b/stages/odm_georeferencing.py index 5ffe50bf..e5739e42 100644 --- a/stages/odm_georeferencing.py +++ b/stages/odm_georeferencing.py @@ -125,7 +125,7 @@ class ODMGeoreferencingStage(types.ODM_Stage): if reconstruction.has_gcp() and io.file_exists(gcp_gml_export_file): log.ODM_INFO("Embedding GCP info in point cloud") params += [ - '--writers.las.vlrs="{\\\"filename\\\": \\\"%s\\\", \\\"user_id\\\": \\\"ODM_GCP\\\", \\\"description\\\": \\\"Ground Control Points (GML)\\\"}"' % gcp_gml_export_file + '--writers.las.vlrs="{\\\"filename\\\": \\\"%s\\\", \\\"user_id\\\": \\\"ODM_GCP\\\", \\\"description\\\": \\\"Ground Control Points (GML)\\\"}"' % gcp_gml_export_file.replace(os.sep, "/") ] system.run(cmd + ' ' + ' '.join(stages) + ' ' + ' '.join(params))