Hi all - new to webODM. I’m running Pop_os 20.04, I have everything installed properly, but from what I can tell I am having issues with memory when running larger jobs, and I get a type 1 error. The machine has plenty of ram, and from what I have read I need to configure the swap limit. The only instructions I have relate to altering the /etc/default/grub file, but my machine does not have one. Pretty sure this is a simple fix, but I can’t seem to find the solution anywhere. Including below my docker info, and the error output. Thanks for any help you can provide.
sudo docker info
Client:
Debug Mode: false
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 8
Server Version: 19.03.12
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.4.0-7634-generic
Operating System: Pop!_OS 20.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 80
Total Memory: 376.5GiB
Name: system76-pc
ID: ZWEI:XJWT:5PY2:SJIK:7IVK:Q5VV:CM4X:KBSJ:ZR7O:SH2W:GQBW:LUNQ
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
###################################
Odm task output —
###################################
… output truncated at 500 lines …
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 198365 verts…
395719 faces…
done.
Generating texture views:
NVM: Loading file…
NVM: Number of views: 678
NVM: Number of features: 238739
Loading 100%… done. (Took 1.081s)
Building adjacency graph:
Adding edges 100%… done. (Took 0.576s)
593074 total edges.
View selection:
Building BVH from 395719 faces…
done. (Took: 351 ms)
Calculating face qualities 100%… done. (Took 3.516s)
Postprocessing face infos 100%… done. (Took 0.062s)
Maximum quality of a face within an image: 150705
Clamping qualities to 1461.98 within normalization.
Writing data cost file…
done.
Optimizing:
Time[s] Energy
0 396854
7 395052
7 393412
7 392394
8 391998
8 391745
8 391566
11 391371
11 391299
12 391243
12 391201
12 391158
12 391109
218125 faces have not been seen
Took: 18.616s
Generating texture patches:
Running…
done. (Took 1.606s)
5420 texture patches.
Calculating validity masks for texture patches 100%… done. (Took 1.122s)
Running local seam leveling:
Blending texture patches 100%… done. (Took 4.563s)
Generating texture atlases:
Sorting texture patches…
done.
Working on atlas 31 100%… done.
Finalizing texture atlases…
done. (Took: 11.071s)
Building objmodel:
Saving model…
done.
Whole texturing procedure took: 76.706s
[INFO] Writing MVS Textured file in: /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/nir/odm_textured_model.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/undistorted/reconstruction_nir.nvm /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_meshing/odm_25dmesh.ply /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/nir/odm_textured_model -d area -o gauss_clamping -t none --skip_global_seam_leveling --nadir_mode -n 65535
/code/SuperBuild/install/bin/texrecon (built on Apr 20 2020, 00:22:58)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 198365 verts…
395719 faces…
done.
Generating texture views:
NVM: Loading file…
NVM: Number of views: 671
NVM: Number of features: 179641
Loading 100%… done. (Took 1.042s)
Building adjacency graph:
Adding edges 100%… done. (Took 0.556s)
593074 total edges.
View selection:
Building BVH from 395719 faces…
done. (Took: 335 ms)
Calculating face qualities 100%… done. (Took 4.009s)
Postprocessing face infos 100%… done. (Took 0.059s)
Maximum quality of a face within an image: 151353
Clamping qualities to 1453.13 within normalization.
Writing data cost file…
done.
Optimizing:
Time[s] Energy
0 396331
5 394765
5 393308
6 392332
6 391947
6 391730
7 391578
8 391357
8 391276
9 391227
9 391187
9 391140
9 391101
219282 faces have not been seen
Took: 15.97s
Generating texture patches:
Running…
done. (Took 1.872s)
5335 texture patches.
Calculating validity masks for texture patches 100%… done. (Took 0.891s)
Running local seam leveling:
Blending texture patches 100%… done. (Took 4.554s)
Generating texture atlases:
Sorting texture patches…
done.
Working on atlas 30 100%… done.
Finalizing texture atlases…
done. (Took: 10.818s)
Building objmodel:
Saving model…
done.
Whole texturing procedure took: 75.062s
[INFO] Writing MVS Textured file in: /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/rededge/odm_textured_model.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/undistorted/reconstruction_rededge.nvm /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_meshing/odm_25dmesh.ply /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/rededge/odm_textured_model -d area -o gauss_clamping -t none --skip_global_seam_leveling --nadir_mode -n 65535
/code/SuperBuild/install/bin/texrecon (built on Apr 20 2020, 00:22:58)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 198365 verts…
395719 faces…
done.
Generating texture views:
NVM: Loading file…
NVM: Number of views: 673
NVM: Number of features: 196967
Loading 100%… done. (Took 1.141s)
Building adjacency graph:
Adding edges 100%… done. (Took 0.583s)
593074 total edges.
View selection:
Building BVH from 395719 faces…
done. (Took: 268 ms)
Calculating face qualities 100%… done. (Took 3.894s)
Postprocessing face infos 100%… done. (Took 0.054s)
Maximum quality of a face within an image: 150944
Clamping qualities to 1434.11 within normalization.
Writing data cost file…
done.
Optimizing:
Time[s] Energy
0 396714
8 395155
8 393555
8 392593
9 392133
9 391838
9 391687
12 391411
13 391293
13 391221
13 391168
13 391121
14 391083
218720 faces have not been seen
Took: 20.502s
Generating texture patches:
Running…
done. (Took 1.594s)
5423 texture patches.
Calculating validity masks for texture patches 100%… done. (Took 1.119s)
Running local seam leveling:
Blending texture patches 100%… done. (Took 4.684s)
Generating texture atlases:
Sorting texture patches…
done.
Working on atlas 31 100%… done.
Finalizing texture atlases…
done. (Took: 6.239s)
Building objmodel:
Saving model…
done.
Whole texturing procedure took: 71.687s
[INFO] Finished mvs_texturing stage
[INFO] Running odm_georeferencing stage
[INFO] Running georeferencing with OpenSfM transformation matrix
[INFO] running /code/build/bin/odm_georef -bundleFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/bundle_r000.out -inputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/geocoords_transformation.txt -inputCoordFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/coords.txt -inputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/odm_textured_model.obj -outputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/odm_textured_model_geo.obj -inputPointCloudFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_filterpoints/point_cloud.ply -outputPointCloudFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz -outputPointCloudSrs ‘+proj=utm +zone=11 +datum=WGS84 +units=m +no_defs +type=crs’ -logFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/odm_georeferencing_log.txt -outputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/odm_georeferencing_transform.txt -georefFileOutputPath /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/odm_georeferencing_model_geo.txt
[INFO] Calculating cropping area and generating bounds shapefile from point cloud
[INFO] running pdal translate -i “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz” -o “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.decimated.las” decimation --filters.decimation.step=360
[INFO] running pdal info --boundary --filters.hexbin.edge_size=1 --filters.hexbin.threshold=0 /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.decimated.las > /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.boundary.json
(pdal info filters.hexbin Error) GDAL failure (1) OGR_G_RemoveGeometry() not supported on polygons yet.
(pdal info filters.hexbin Error) GDAL failure (1) OGR_G_RemoveGeometry() not supported on polygons yet.
(pdal info filters.hexbin Error) GDAL failure (1) OGR_G_RemoveGeometry() not supported on polygons yet.
(pdal info filters.hexbin Error) GDAL failure (1) OGR_G_RemoveGeometry() not supported on polygons yet.
(pdal info filters.hexbin Error) GDAL failure (1) OGR_G_RemoveGeometry() not supported on polygons yet.
[INFO] running pdal info --summary /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz > /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.summary.json
[INFO] running ogr2ogr -overwrite -f GPKG -a_srs “+proj=utm +zone=11 +datum=WGS84 +units=m +no_defs” /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.bounds.gpkg /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.bounds.geojson
[INFO] Running georeferencing with OpenSfM transformation matrix
[INFO] running /code/build/bin/odm_georef -bundleFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/bundle_r000.out -inputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/geocoords_transformation.txt -inputCoordFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/coords.txt -inputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing/odm_textured_model.obj -outputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing/odm_textured_model_geo.obj -logFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferencing_log.txt -outputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferencing_transform.txt -georefFileOutputPath /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferencing_model_geo.txt
[INFO] Running georeferencing with OpenSfM transformation matrix
[INFO] running /code/build/bin/odm_georef -bundleFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/bundle_r000.out -inputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/geocoords_transformation.txt -inputCoordFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/coords.txt -inputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/green/odm_textured_model.obj -outputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/green/odm_textured_model_geo.obj -logFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/green/odm_georeferencing_log.txt -outputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/green/odm_georeferencing_transform.txt -georefFileOutputPath /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/green/odm_georeferencing_model_geo.txt
[INFO] Running georeferencing with OpenSfM transformation matrix
[INFO] running /code/build/bin/odm_georef -bundleFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/bundle_r000.out -inputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/geocoords_transformation.txt -inputCoordFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/coords.txt -inputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/red/odm_textured_model.obj -outputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/red/odm_textured_model_geo.obj -logFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/red/odm_georeferencing_log.txt -outputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/red/odm_georeferencing_transform.txt -georefFileOutputPath /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/red/odm_georeferencing_model_geo.txt
[INFO] Running georeferencing with OpenSfM transformation matrix
[INFO] running /code/build/bin/odm_georef -bundleFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/bundle_r000.out -inputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/geocoords_transformation.txt -inputCoordFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/coords.txt -inputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/nir/odm_textured_model.obj -outputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/nir/odm_textured_model_geo.obj -logFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/nir/odm_georeferencing_log.txt -outputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/nir/odm_georeferencing_transform.txt -georefFileOutputPath /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/nir/odm_georeferencing_model_geo.txt
[INFO] Running georeferencing with OpenSfM transformation matrix
[INFO] running /code/build/bin/odm_georef -bundleFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/bundle_r000.out -inputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/opensfm/geocoords_transformation.txt -inputCoordFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/coords.txt -inputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/rededge/odm_textured_model.obj -outputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/rededge/odm_textured_model_geo.obj -logFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/rededge/odm_georeferencing_log.txt -outputTransformFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/rededge/odm_georeferencing_transform.txt -georefFileOutputPath /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing_25d/rededge/odm_georeferencing_model_geo.txt
[INFO] Finished odm_georeferencing stage
[INFO] Running odm_dem stage
[WARNING] Cannot calculate GSD, using requested resolution of 5.0
[INFO] Classify: True
[INFO] Create DSM: False
[INFO] Create DTM: True
[INFO] DEM input file /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz found: True
[INFO] Classifying /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz using Simple Morphological Filter
[INFO] running pdal translate -i /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz -o /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz smrf --filters.smrf.scalar=1.25 --filters.smrf.slope=0.15 --filters.smrf.threshold=0.5 --filters.smrf.window=18.0
[INFO] Created …/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz in 0:00:04.258745
[INFO] running pdal info --summary /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.laz > /tmp/tmpLREP7H.json
[INFO] Point cloud bounds are [minx: 690895.34, maxx: 691103.32] [miny: 3628405.45, maxy: 3628630.36]
[INFO] DEM resolution is (4499, 4160), max tile size is 4096, will split DEM generation into 1 tiles
[INFO] Generating /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm_r0.025_x0_y0.tif (idw, radius: 0.025, resolution: 0.05)
[INFO] Generating /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm_r0.05_x0_y0.tif (idw, radius: 0.05, resolution: 0.05)
[INFO] Generating /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm_r0.1_x0_y0.tif (idw, radius: 0.1, resolution: 0.05)
[INFO] running pdal pipeline -i /tmp/tmpUZ_wWT.json > /dev/null 2>&1
[INFO] running pdal pipeline -i /tmp/tmp5e1QKO.json > /dev/null 2>&1
[INFO] running pdal pipeline -i /tmp/tmpLGRqrP.json > /dev/null 2>&1
[INFO] running gdalbuildvrt “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.vrt” “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm_r0.1_x0_y0.tif” “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm_r0.05_x0_y0.tif” “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm_r0.025_x0_y0.tif”
0…10…20…30.
…40…50…60…
.70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=80 --config GDAL_CACHEMAX 48.1% /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.vrt /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.tmp.tif
Input file size is 4160, 4499
0
.
.
.
10
.
.
.
20
.
.
.
30
.
.
.
40
.
.
.
50
.
.
.
60
.
.
.
70
.
.
.
80
.
.
.
90
.
.
.
100 - done.
[INFO] running gdal_translate -co NUM_THREADS=80 --config GDAL_CACHEMAX 48.1% -outsize 10% 0 /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.tmp.tif /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.small.tif
Input file size is 4160, 4499
0
…10…20…30…40…50
…60…70…80…90…100 - done.
[INFO] running gdal_fillnodata.py -co NUM_THREADS=80 --config GDAL_CACHEMAX 48.1% -b 1 -of GTiff /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.small.tif /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.small_filled.tif
0
…
.
10
.
.
.
20
.
.
.
30
.
.
.
40
.
.
.
50
.
.
.
60
.
.
.
70
.
.
.
80
.
.
.
90
.
.
.
100 - done.
[INFO] running gdalbuildvrt -resolution highest -r bilinear “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/merged.vrt” “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.small_filled.tif” “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.tmp.tif”
0…10…20…30…40…50
…60…70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=80 --config GDAL_CACHEMAX 48.1% /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/merged.vrt /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/tiles.tif
Input file size is 4160, 4499
0
.
.
.
10
.
.
.
20
.
.
.
30
.
.
.
40
.
.
.
50
.
.
.
60
.
.
.
70
.
.
.
80
.
.
.
90
.
.
.
100 - done.
[INFO] Starting smoothing…
[INFO] Smoothing iteration 1
[INFO] Completed smoothing to create …/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.tif in 0:00:03.291713
[INFO] Completed dtm.tif in 0:00:09.008092
[INFO] Cropping /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.tif
[INFO] running gdalwarp -cutline /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.bounds.gpkg -crop_to_cutline -co NUM_THREADS=80 -co BIGTIFF=IF_SAFER -co BLOCKYSIZE=512 -co COMPRESS=LZW -co BLOCKXSIZE=512 -co TILED=YES /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.original.tif /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.tif --config GDAL_CACHEMAX 48.1%
Creating output file that is 3981P x 4300L.
Processing input file /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.original.tif.
Using internal nodata values (e.g. -9999) for image /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.original.tif.
Copying nodata values from source /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.original.tif to destination /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_dem/dtm.tif.
0
.
.
.
10
.
.
.
20
.
.
.
30
.
.
.
40
.
.
.
50
.
.
.
60
.
.
.
70
.
.
.
80
.
.
.
90
.
.
.
100 - done.
[INFO] Finished odm_dem stage
[INFO] Running odm_orthophoto stage
[WARNING] Cannot calculate GSD, using requested resolution of 5.0
[INFO] running /code/build/bin/odm_orthophoto -inputFiles /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/odm_textured_model_geo.obj,/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/green/odm_textured_model_geo.obj,/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/red/odm_textured_model_geo.obj,/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/nir/odm_textured_model_geo.obj,/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_texturing_25d/rededge/odm_textured_model_geo.obj -logFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto_log.txt -outputFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto_render.tif -resolution 20.0 -outputCornerFile /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto_corners.txt -bands blue,green,red,nir,rededge
[INFO] Creating GeoTIFF
[INFO] running gdal_translate -a_ullr 690894.385105 3628631.4694 691106.291046 3628402.69741 -co NUM_THREADS=80 -co BIGTIFF=IF_SAFER -co BLOCKYSIZE=512 -co COMPRESS=DEFLATE -co BLOCKXSIZE=512 -co TILED=YES -co PREDICTOR=2 -a_srs “+proj=utm +zone=11 +datum=WGS84 +units=m +no_defs +type=crs” --config GDAL_CACHEMAX 48.1% --config GDAL_TIFF_INTERNAL_MASK YES /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto_render.tif /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto.tif > /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/gdal_translate_log.txt
[INFO] Cropping /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto.tif
[INFO] running gdalwarp -cutline /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_georeferencing/odm_georeferenced_model.bounds.gpkg -crop_to_cutline -co NUM_THREADS=80 -co BIGTIFF=IF_SAFER -co BLOCKYSIZE=512 -co COMPRESS=DEFLATE -co BLOCKXSIZE=512 -co TILED=YES -co PREDICTOR=2 -dstalpha /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto.original.tif /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto.tif --config GDAL_CACHEMAX 48.1%
Using band 6 of source image as alpha.
Creating output file that is 3981P x 4301L.
Processing input file /var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto.original.tif.
0
.
.
.
10
.
.
.
20
.
.
.
30
.
.
.
40
.
.
.
50
.
.
.
60
.
.
.
70
.
.
.
80
.
.
.
90
.
.
.
100 - done.
[INFO] Generating PNG
[INFO] running gdal_translate -of png “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto.tif” “/var/www/data/3e937bbd-f911-4115-95c8-b56cbe7f1757/odm_orthophoto/odm_orthophoto.png” --config GDAL_CACHEMAX 48.1%
ERROR 6: PNG driver doesn’t support 6 bands. Must be 1 (grey),
2 (grey+alpha), 3 (rgb) or 4 (rgba) bands.
Input file size is 3981, 4301
Traceback (most recent call last):
File “/code/run.py”, line 61, in
app.execute()
File “/code/stages/odm_app.py”, line 92, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 344, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 325, in run
self.process(self.args, outputs)
File “/code/stages/odm_orthophoto.py”, line 151, in process
orthophoto.post_orthophoto_steps(args, bounds_file_path, tree.odm_orthophoto_tif)
File “/code/opendm/orthophoto.py”, line 53, in post_orthophoto_steps
generate_png(orthophoto_file)
File “/code/opendm/orthophoto.py”, line 42, in generate_png
'–config GDAL_CACHEMAX %s%% ’ % (orthophoto_file, orthophoto_png, get_max_memory()))
File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1