Task fails with "Process exited with code 1" GCP_list.txt?


#1

Hello, After a difficult start to create a GCP file i finally have one. But is fails in de processing. I Increase the min-num-features to 10000 and to 20000 but didnt help. Some suggestions?

THE FILE:(left some lines of the same, because to much)

+proj=UTM +zone=32U +ellps=WGS84 +datum=WGS84 +no_defs
314797.25 5809176.00 0 1157.50 877.25 DJI_0440.JPG gcp04
314797.25 5809176.00 0 1467.75 1262.75 DJI_0441.JPG gcp04
314797.25 5809176.00 0 1553.25 1884.25 DJI_0442.JPG gcp04
314797.25 5809176.00 0 1574.75 2517.25 DJI_0443.JPG gcp04
314721.44 5809235.76 0 2345.75 532.00 DJI_0457.JPG gcp03
314721.44 5809235.76 0 2345.75 1279.25 DJI_0458.JPG gcp03
314721.44 5809235.76 0 2319.75 1953.50 DJI_0459.JPG gcp03
314721.44 5809235.76 0 2301.75 2604.25 DJI_0460.JPG gcp03
314746.67 5809173.34 0 3200.25 808.75 DJI_0507.JPG gcp05
314746.67 5809173.34 0 3198.63 1453.37 DJI_0508.JPG gcp05
314746.67 5809173.34 0 3196.25 2114.25 DJI_0509.JPG gcp05
314746.67 5809173.34 0 3197.36 2758.37 DJI_0510.JPG gcp05
314696.46 5809180.13 0 657.75 595.50 DJI_0580.JPG gcp01
314696.46 5809180.13 0 686.53 1293.18 DJI_0581.JPG gcp01
314696.46 5809180.13 0 702.75 1978.25 DJI_0582.JPG gcp01
314696.46 5809180.13 0 733.75 2672.25 DJI_0583.JPG gcp01
314740.65 5809136.49 0 2355.75 208.00 DJI_0597.JPG gcp02
314740.65 5809136.49 0 2363.50 886.00 DJI_0598.JPG gcp02
314740.65 5809136.49 0 2357.00 1551.25 DJI_0599.JPG gcp02
314740.65 5809136.49 0 2363.25 2237.50 DJI_0600.JPG gcp02

The error output.

[INFO] Initializing OpenDroneMap app - Sat May 12 20:50:50 2018
[INFO] Running ODM Load Dataset Cell
[DEBUG] Loading dataset from: /var/www/data/47af8d79-c2fd-4e40-b2df-572fb82a3f01/images
[DEBUG] /var/www/data/47af8d79-c2fd-4e40-b2df-572fb82a3f01/images
[DEBUG] Loaded DJI_0482.JPG | camera: dji fc220 | dimensions: 4000 x 3000 | focal: 4.73 | ccd: 6.17 | lat: 52.4014582778 | lon: 6.27723688889 | alt: -86.005
[DEBUG] Loaded DJI_0673.JPG | camera: dji fc220 | dimensions: 4000 x 3000 | focal: 4.73 | ccd: 6.17 | lat: 52.4012067222 | lon: 6.27756336111 | alt: -86.105
[DEBUG] Loaded DJI_0618.JPG | camera: dji fc220 | dimensions: 4000 x 3000 | focal: 4.73 | ccd: 6.17 | lat: 52.4011943889 | lon: 6.27642191667 | alt: -86.205
[DEBUG] Loaded DJI_0599.JPG | camera: dji fc220 | dimensions: 4000 x 3000 | focal: 4.73 | ccd: 6.17 | lat: 52.4011038333 | lon: 6.27680811111 | alt: -86.205
[INFO] Found 313 usable images
[DEBUG] Line: +proj=UTM +zone=32U +ellps=WGS84 +datum=WGS84 +no_defs
Traceback (most recent call last):
File “/code/run.py”, line 47, in
plasm.execute(niter=1)
File “/code/scripts/dataset.py”, line 86, in process
outputs.reconstruction = types.ODM_Reconstruction(photos, coords_file=tree.odm_georeferencing_gcp)
File “/code/opendm/types.py”, line 140, in init
self.projection = self.parse_coordinate_system(coords_file)
File “/code/opendm/types.py”, line 166, in parse_coordinate_system
return Proj(line.strip(’’’))
File “/usr/lib/python2.7/dist-packages/pyproj/init.py”, line 358, in new
return _proj.Proj.new(self, projstring)
File “_proj.pyx”, line 84, in _proj.Proj.cinit (_proj.c:1170)
RuntimeError: unknown projection id

The Photo’s

https://jhaarman-my.sharepoint.com/:f:/g/personal/joost_joosthaarman_nl/ErmfT8QwUBdMmKDvLiuqavAB0d9IdzG2Wm9bACP9T0xbRw?e=OIlvAT


#2

I think 32U is not a valid zone string, try with just 32.

+proj=UTM +zone=32 +ellps=WGS84 +datum=WGS84 +no_defs


#3

Thank you for your reply, i just tried this option but it keeps failing on de same terms as above mentioned.

Can it be that there is something wrong with python? Because of this:

File “/usr/lib/python2.7/dist-packages/pyproj/init.py”, line 358, in new
return _proj.Proj.new(self, projstring)
File “_proj.pyx”, line 84, in _proj.Proj.cinit (_proj.c:1170)
RuntimeError: unknown projection id

I hope somebody have a answer


#4

Ah, “UTM” also needs to be lower-case.

Always check your projection string from a site like http://spatialreference.org/ref/epsg/wgs-84-utm-zone-32n/proj4/


#5

Thank you very much for helping me out , your two suggetions did the trick. Thank you!