0

I'm using gdal2tiles for tile huge geoTIFF image. The problem is that only 1 core cpu was being used so I stopped the process for use the -np_processes param to try use paralellism beacuse there have spent 3 days and still running... Now when I'm trying to run again the comand line for continue the tiling process, I'm using the "-e" param to resume and don't remake the tiles already created, but I'm receiving the error:

gdal2tiles.py: error: Processing of several input files is not supported. Please first use a tool like gdal_vrtmerge.py or gdal_merge.py on the files: gdal_vrtmerge.py -o merged.vrt 4

Can anybody help me?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Neisy
  • 15
  • 2
  • 2
    Hi! welcome to GIS SE! Could you please share the command you are using? It should look similar to: gdal2tiles.py -p mercator -w all -r average -a etc.. – RafDouglas C. Tommasi May 29 '19 at 15:56
  • 1
    sure, here is my command line:gdal2tiles.py -e -p geodetic -nb_processes 4 -k -v -w google image.tif TILES/ – Neisy May 29 '19 at 16:11
  • Please use the [edit] button beneath your question to revise it with any requested clarifications. – PolyGeo May 30 '19 at 08:58

1 Answers1

-1

Done!!! It was all about the way I was passing the np_processes param.

The correct way is: -nb_processes=4, not nb_processes 4

csk
  • 24,827
  • 3
  • 32
  • 70
Neisy
  • 15
  • 2
  • 1
    This is not answer to your question but to your original problem https://gis.stackexchange.com/questions/324302/gdal2tiles-py-using-param-nb-processes-does-not-use-multicore-only-one-core-f – TomazicM May 29 '19 at 19:10