diff --git a/stages/dataset.py b/stages/dataset.py index a99bca356..8314f4b83 100644 --- a/stages/dataset.py +++ b/stages/dataset.py @@ -187,6 +187,9 @@ def find_mask(photo_path, masks): p.compute_opk() updated += 1 log.ODM_INFO("Updated %s image positions" % updated) + # Warn if a file path is specified but it does not exist + elif tree.odm_geo_file is not None and not os.path.isfile(tree.odm_geo_file): + log.ODM_WARNING("Image geolocation file %s does not exist" % tree.odm_geo_file) # GPSDOP override if we have GPS accuracy information (such as RTK) if 'gps_accuracy_is_set' in args: