From a4d7189414523ef107a24364f48ae121d504d9e4 Mon Sep 17 00:00:00 2001 From: Stephen Mather <1174901+smathermather@users.noreply.github.com> Date: Fri, 11 Mar 2022 17:03:44 -0500 Subject: [PATCH 1/4] add auto las scaling --- stages/odm_georeferencing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stages/odm_georeferencing.py b/stages/odm_georeferencing.py index 0122095d..bb7c97e0 100644 --- a/stages/odm_georeferencing.py +++ b/stages/odm_georeferencing.py @@ -118,6 +118,8 @@ class ODMGeoreferencingStage(types.ODM_Stage): '--filters.transformation.matrix="1 0 0 %s 0 1 0 %s 0 0 1 0 0 0 0 1"' % reconstruction.georef.utm_offset(), '--writers.las.offset_x=%s' % reconstruction.georef.utm_east_offset, '--writers.las.offset_y=%s' % reconstruction.georef.utm_north_offset, + '--writers.las.scale_x="auto"', + '--writers.las.scale_y="auto"', '--writers.las.offset_z=0', '--writers.las.a_srs="%s"' % reconstruction.georef.proj4() ] From a83490a2e789b396e1e0316e2a765503a9ef10f4 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Mon, 6 Jun 2022 13:52:44 -0400 Subject: [PATCH 2/4] Save some space during Windows build --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index d3612812..e2c99b71 100644 --- a/configure.py +++ b/configure.py @@ -60,7 +60,6 @@ def vcpkg_requirements(): with open("vcpkg-requirements.txt") as f: pckgs = list(filter(lambda l: len(l) > 0, map(str.strip, f.read().split("\n")))) return pckgs - def build(): # Create python virtual env @@ -94,6 +93,7 @@ def build(): os.rename(top_dir, "vcpkg") else: print("Warning! Something looks wrong in the VCPKG archive... check the vcpkg/ directory.") + safe_remove("vcpkg-env.zip") if not os.path.exists(os.path.join("SuperBuild", "build")) or not os.path.exists(os.path.join("SuperBuild", "install")): print("Compiling SuperBuild") From e7bc52f2a0458844683e92044ca65ae8fa511079 Mon Sep 17 00:00:00 2001 From: Saijin-Naib <19295950+Saijin-Naib@users.noreply.github.com> Date: Thu, 16 Jun 2022 10:25:04 -0400 Subject: [PATCH 3/4] Update --dem-resolution As discussed on Community, it being 2x the GSD estimate can lead to user confusion when they expect 1x GSD estimate results. --- opendm/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendm/config.py b/opendm/config.py index 7c21f2c0..08d01bd0 100755 --- a/opendm/config.py +++ b/opendm/config.py @@ -536,7 +536,7 @@ def config(argv=None, parser=None): action=StoreValue, type=float, default=5, - help='DSM/DTM resolution in cm / pixel. Note that this value is capped by a ground sampling distance (GSD) estimate. To remove the cap, check --ignore-gsd also.' + help='DSM/DTM resolution in cm / pixel. Note that this value is locked to 2x the ground sampling distance (GSD) estimate. To remove the cap, check --ignore-gsd also.' ' Default: %(default)s') parser.add_argument('--dem-decimation', From 2105630298522ff289be0eb1c12d73d033f04785 Mon Sep 17 00:00:00 2001 From: Saijin-Naib <19295950+Saijin-Naib@users.noreply.github.com> Date: Thu, 16 Jun 2022 10:26:53 -0400 Subject: [PATCH 4/4] Update config.py Fixup wording --- opendm/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendm/config.py b/opendm/config.py index 08d01bd0..c6096716 100755 --- a/opendm/config.py +++ b/opendm/config.py @@ -536,7 +536,7 @@ def config(argv=None, parser=None): action=StoreValue, type=float, default=5, - help='DSM/DTM resolution in cm / pixel. Note that this value is locked to 2x the ground sampling distance (GSD) estimate. To remove the cap, check --ignore-gsd also.' + help='DSM/DTM resolution in cm / pixel. Note: This value is locked to at least 2x the ground sampling distance (GSD) estimate. To remove the cap, check --ignore-gsd also.' ' Default: %(default)s') parser.add_argument('--dem-decimation',