I run gdal2tiles on debian machine with 4 cores:

sudo /usr/bin/gdal2tiles.py -r cubic -a 0,0,0 -z 10-15 /home/adm/topo/ekb.vrt  /var/www/tiles

In htop I see:

enter image description here

Why does gdal use only one core in work? Gdal version is 2.1.2.


That's because gdal2tiles is single-threaded. You can use a parallelized version available at https://github.com/GitHubRGI/geopackage-python/blob/master/Tiling/gdal2tiles_parallel.py


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.