Open larsmaxfield opened 1 month ago
https://github.com/protomaps/PMTiles/issues/338#issuecomment-1934497655
What would have made that workflow simpler is a cli tool like
pmtiles convert
but instead of converting mbtiles into pmtiles it would take e.g. a slippy map tile hierarchy as inz/x/y.ext
or a GeoTIF raster and turn it into a pmtiles file.Isn't it already kinda simple by the use of mb-util which allow to convert tiles file tree to mbtiles, then converting it to pmtiles with
pmtiles convert
?$ mb-util my-tiles-root-directory my_tiles.mbtiles $ pmtiles convert my_tiles.mbtiles my_tiles.pmtiles
Try creating a PMTiles file from a directory of slippy map tiles z/x/y.ext using the two-part process:
$ mb-util my-tiles-root-directory my_tiles.mbtiles $ pmtiles convert my_tiles.mbtiles my_tiles.pmtiles
PMTiles is a success
Instead of relying on tiled images in a folder of folders of folders, investigate using a single file source like geoTIFF, PMTiles, or another format.