diff --git a/opendm/location.py b/opendm/location.py index 795e2d7a..99277eb8 100644 --- a/opendm/location.py +++ b/opendm/location.py @@ -21,7 +21,7 @@ def extract_utm_coords(photos, images_path, output_coords_file): reference_photo = None for photo in photos: if photo.latitude is None or photo.longitude is None: - log.ODM_ERROR("Failed parsing GPS position for %s, skipping" % photo.filename) + log.ODM_WARNING("GPS position not available for %s" % photo.filename) continue if utm_zone is None: diff --git a/opendm/photo.py b/opendm/photo.py index efbdb3f1..16a46fed 100644 --- a/opendm/photo.py +++ b/opendm/photo.py @@ -85,6 +85,9 @@ class ODM_Photo: self.latitude = geo_entry.y self.longitude = geo_entry.x self.altitude = geo_entry.z + self.dls_yaw = geo_entry.omega + self.dls_pitch = geo_entry.phi + self.dls_roll = geo_entry.kappa self.gps_xy_stddev = geo_entry.horizontal_accuracy self.gps_z_stddev = geo_entry.vertical_accuracy