Skip to content

Commit

Permalink
use colons or else
Browse files Browse the repository at this point in the history
  • Loading branch information
smathermather committed Aug 8, 2024
1 parent 6fee23c commit 92a0e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stages/odm_georeferencing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 += [
Expand Down

0 comments on commit 92a0e05

Please sign in to comment.