Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEM not found error #1

Open
chriswilley opened this issue Feb 28, 2023 · 3 comments
Open

DEM not found error #1

chriswilley opened this issue Feb 28, 2023 · 3 comments

Comments

@chriswilley
Copy link

Running the command below returns Error: DEM file at '/path_to_files/osm_dem/dsm.tif' does not exist even though it does and at that location:

docker run -it -v /dataset-path:/path_to_files digipa/orthorectify /path_to_files

To be clear, /path_to_files contains the aerial images used for processing and the contents of the downloaded assets (Download Assets > All Assets) after WebODM has processed them. Is that the right configuration?

@HeDo88TH
Copy link
Collaborator

HeDo88TH commented Feb 28, 2023

Check your docker command. The -v argument is host_folder:container_folder

@chriswilley
Copy link
Author

Good catch, but I don't think that's the issue (or I'm confused about where files need to be). The path on my machine to the files is /home/chriswilley/projects/test. Within that folder are all of the JPGs from the aerial flight, plus all of the assets from the related ODM run (e.g.: entwine_pointcloud, odm_dem, odm_texturing and so on). A redacted list:

drwxrwxr-x 9 chriswilley chriswilley  4.0K Feb 28 11:45 .
drwxrwxr-x 4 chriswilley chriswilley  4.0K Feb 28 11:14 ..
-rw-r--r-- 1 chriswilley chriswilley   469 Feb 28 16:30 cameras.json
-rw-rw-r-- 1 chriswilley chriswilley  982K Oct 13 01:22 DJI_0028_R.JPG
-rw-rw-r-- 1 chriswilley chriswilley  976K Oct 13 01:22 DJI_0030_R.JPG
...
drwxrwxr-x 5 chriswilley chriswilley  4.0K Feb 28 11:36 entwine_pointcloud
-rw-r--r-- 1 chriswilley chriswilley   95K Feb 28 16:30 images.json
-rw-r--r-- 1 chriswilley chriswilley   87K Feb 28 16:30 log.json
drwxrwxr-x 2 chriswilley chriswilley  4.0K Feb 28 11:36 odm_dem
drwxrwxr-x 2 chriswilley chriswilley  4.0K Feb 28 11:36 odm_georeferencing
drwxrwxr-x 2 chriswilley chriswilley  4.0K Feb 28 11:36 odm_orthophoto
drwxrwxr-x 2 chriswilley chriswilley  4.0K Feb 28 11:45 odm_output
drwxrwxr-x 2 chriswilley chriswilley  4.0K Feb 28 11:36 odm_report
drwxrwxr-x 2 chriswilley chriswilley  4.0K Feb 28 11:36 odm_texturing
-rw-r--r-- 1 chriswilley chriswilley  660K Feb 28 16:30 task_output.txt

Running this command gives the same error as in my original post:

docker run -it -v /home/chriswilley/projects:/test digipa/orthorectify /home/chriswilley/projects/test

What am I missing?

@HeDo88TH
Copy link
Collaborator

What am I missing?

You are missing a careful read of the documentation I pointed out.
Hint: The docker container expects a local path (relative to the container)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants