1
Answered

maptiler command line overwrite file

Hello All,

I am facing one issue to tiling multiple files into a single folder. If I execute maptiler to create tiles in the folder (Z\X\Y.ext) it is creating very first time, but if I want to tiles another file to the same location it is saying "Please choose an empty directory for the map tiles.".
I like to tiling multiple files into the same location. 
 
Command I am executing:
maptiler -o <Destination Folder> <Source File1> -srs EPSG:27700 -gcp .... -gcp .... -gcp ....  -cutline_wkt "MULTIPOLYGON( ..... ...)  -order 1
 
Any help really appreciated. 
 
Thanks in advance. 
Barman

2 replies

Hi Jiri,

You provided the ideal solution. But the problem is I am tiling non-geo reference PDF file (this pdf file does not hold any location information except Coordinate system {EPSG:4326}).
Based on 3 GCP I am calculating other pdf files GCP as all have the same dimensions (based on the pixel value). 
 
One option I was looking, executing all file in the same command. But the challenge is when I am executing this command it is failing due parameter issue. 
maptiler -o output_directory -global_options input1.tif input2.tif input3.tif  -file_options
 
Please let me know if you need any more information. 
 
Thanks,
Barman

Hi Sudip,

instead of rendering multiple input files into the same folder, you should merge them into one layer and render afterward: https://support.maptiler.com/i64-merge-multiple-layers-in-one-map 

Best regards,

Jiri