Skip to content

Commit

Permalink
A block without action is like no block at all.
Browse files Browse the repository at this point in the history
  • Loading branch information
smathermather committed Aug 9, 2024
1 parent df310ce commit 0c39719
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stages/odm_georeferencing.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ def powerr(r):
spacing = powerr(las_stats['spacing'])
log.ODM_INFO("las scale calculated as the minimum of 1/10 estimated spacing or %s, which ever is less." % las_scale)
if las_scale <= spacing:
log.ODM_INFO("Defaul las scale of %s is smaller than or equal to calculated" % las_scale)
# Leave las scale alone
else:
las_scale = spacing
log.ODM_INFO("Calculated las scale is smaller than default. Using %s" % las_scale)
except Exception as e:
log.ODM_WARNING("Cannot find file point_cloud_stats.json. Using default las scale: %s" % las_scale)
else:
Expand Down

0 comments on commit 0c39719

Please sign in to comment.