Closed pierotofy closed 4 years ago
Also note, per NodeODM specification, the GCP file might not be necessarily be named gcp_list.txt
. Any file with .txt extension should be treated as a GCP. https://github.com/OpenDroneMap/NodeODM/blob/master/docs/index.adoc#post-tasknew
os.listdir
returns relative paths, but since the current working directory is/var/www/data/<uuid>/images
,gcp_list.txt
is resolved as/var/www/data/<uuid>/images/gcp_list.txt
, which is not correct.The GCP file is in
/var/www/data/<uuid>/gcp/gcp_list.txt
.os.path.join
resolves this issue.