OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.91k stars 1.11k forks source link

Add a WARNING when a geo file is specified but the file does not exist #1790

Closed stephenwinn16 closed 3 months ago

stephenwinn16 commented 3 months ago

Hi,

I was trying to use a geo.txt file option to override my input image geolocation metadata. I ran a case with and without the --geo <path> option to compare and was surprised when the results were the same. When searching for the cause, I realised I had a typo in my geo.txt file path. However, when reviewing the logs, I noticed that an ODM_INFO message is printed to the logs when the file is correctly found but no message is printed when a path is given but no file is found. Hence this pull request: I suggest adding an ODM_WARNING message to the logs to help users debug such a case.

Thanks for all your work on this excellent open source project!

pierotofy commented 3 months ago

Hey thanks for the PR @stephenwinn16, looks great!