"Please Help" How do I load and process a GCP file into my data set


Every time I choose my gcp_list.txt file and insert it into the folder containing my jpegs it exits with a code 1 error. If I’m inserting the .txt file wrong can some one please lead me in the right direction. I created the .txt file using the new GCP editor Pro. Below is a snapshot of the .txt file. Thank you in advance.

Can you post the full error message from the task output?

Yes, and thank you

This is what keeps popping up

“Process exited with code 1” means that part of the processing failed. Sometimes it’s a problem with the dataset, sometimes it can be solved by tweaking the [Task Options](javascript:void(0):wink: and sometimes it might be a bug! If you need help, upload your images somewhere like Dropbox or Google Drive and open a topic on our community forum, making sure to include a [copy of your task’s output](javascript:void(0);). Our awesome contributors will try to help you!

I think what Piero means is: toggle the “Task Output Button” to “On” and then send the end of the log from the window that shows up.

Ok, thank you for the clarification.

[INFO] Parsing SRS header: WGS84
Traceback (most recent call last):
File “/code/run.py”, line 62, in
File “/code/stages/odm_app.py”, line 95, in execute
File “/code/opendm/types.py”, line 331, in run
self.process(self.args, outputs)
File “/code/stages/dataset.py”, line 110, in process
File “/code/opendm/types.py”, line 72, in georeference_with_gcp
gcp = GCPFile(gcp_file)
File “/code/opendm/gcp.py”, line 13, in init
File “/code/opendm/gcp.py”, line 23, in read
self.srs = location.parse_srs_header(self.raw_srs)
File “/code/opendm/location.py”, line 123, in parse_srs_header
if ref[0] == ‘WGS84’ and ref[1] == ‘UTM’:
IndexError: list index out of range

Does it work if you replace the first line with the following?:
+proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

I’ll make that edit now and try it. Thank you sir for the quick response!

1 Like

Strange… this line should say “WGS84 UTM 17N”.

Could you upload your GCP file somewhere for us to take a look at?

1 Like

sure thing!

Strange uncaught whitespace character?

The good news is the new projection string you sent over seems to be working great, 35min into the processing and no errors. Before it was kicking me out right around 7-9 minutes. This has been much more pleasant than working with AutoCad Recap Pro this morning. Thank you again, I’m going to upload that .txt file now

1 Like

I spoke too soon, here is a copy of the error code I just received

File “/code/opendm/types.py”, line 350, in run
File “/code/opendm/types.py”, line 350, in run
File “/code/opendm/types.py”, line 350, in run
File “/code/opendm/types.py”, line 331, in run
self.process(self.args, outputs)
File “/code/stages/run_opensfm.py”, line 32, in process
File “/code/opendm/osfm.py”, line 41, in reconstruct
File “/code/opendm/osfm.py”, line 23, in run
(context.opensfm_path, command, self.opensfm_project_path))
File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
: Child returned 137