From 92a0e054b867d84c9957079f515a3ddf17aeb5ad Mon Sep 17 00:00:00 2001 From: Stephen Mather Date: Wed, 7 Aug 2024 21:04:05 -0400 Subject: [PATCH] use colons or else --- stages/odm_georeferencing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stages/odm_georeferencing.py b/stages/odm_georeferencing.py index a05c7edf8..d0a6ff05d 100644 --- a/stages/odm_georeferencing.py +++ b/stages/odm_georeferencing.py @@ -125,17 +125,17 @@ def process(self, args, outputs): stages.append("transformation") utmoffset = reconstruction.georef.utm_offset() + # Establish appropriate las scale for export las_scale = 0.001 filtered_point_cloud_stats = tree.path("odm_filterpoints", "point_cloud_stats.json") if os.path.isfile(filtered_point_cloud_stats): - log.ODM_INFO("This is a test of the emergency broadcast system.") with open(filtered_point_cloud_stats, 'r') as stats: las_stats = json.load(stats) spacing = las_stats['spacing'] / 10 log.ODM_INFO("Using 1/10 estimated spacing for las scale: %s" % spacing) log_scale = spacing - else + else: log.ODM_INFO("Using default las scale of 0.001") params += [