tile-join: PBF decoding error in tile
Opened this issue · 3 comments
Hello,
I'm trying to convert a dataset (2600+ raster tifs) to a single .pmtiles
file.
So far I've converted each file from tif
=> mbtiles
=> pmtiles
:
// within a loop
gdal_translate -of MBTILES -expand rgba -r nearest {geotiff_path} {mbtiles_path}
pmtiles convert {mbtiles_path} {pmtiles_path}
Then I was hoping to use tile-join
to stitch all the pmtiles together.
tile-join -o merged.pmtiles pmtiles/*.pmtiles
This results in "PBF decoding error in tile" errors, and I have no idea how to proceed.
PBF decoding error in tile 14/2867/6426
PBF decoding error in tile 14/2867/6427
PBF decoding error in tile 14/2867/6433
// process stops after outputting the above errors
Could anyone please provide some pointers on what to try next? Thanks in advance!
@mgibbs189 tippecanoe only works with vector tiles and not raster. I'd imagine tile-join is the same as it's part of the library.
@mtravis Thanks for the reply.
Dang, I figured as much. Can you think of any other ways to get multiple raster tifs
convered into a single pmtiles
?
So far I've unsuccessfully tried gdal_merge
to try to combine the tifs (according to gdal, it requires 6.5TB of free space to merge the 120GB of tiles)