Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a standard folder tree of tiles -> PMTiles archiver or is that the wrong question to be asking?


I don't think so. There's this: https://github.com/protomaps/go-pmtiles to get from MBTiles and there's a few xyz folder tree tools to get mbtiles from that structure (e.g., https://pypi.org/project/mbutil/). So you can get there, but I don't know of a good straight-line right now.


Thanks a lot. I developed and support a standalone desktop application which contains customer-specific tiled maps, and it can get unwieldy.

A pivot at some point to these types of archives is an option, but I'd like to roll forward existing customers as well.


If you have access to SQLite in your desktop application then there isn't any big wins from using PMTiles over MBTiles; PMTiles does have some special design around tile-deduplication but this is possible in MBTiles too by using table views.


There isn't a tool to do that right now. It could be a fit in either https://github.com/protomaps/go-pmtiles or https://github.com/protomaps/PMTiles/tree/main/python - the Go program is faster and more production ready at this point. I imagine if folders are working for you the quantity of tiles doesn't number into the millions, so the Python program might be sufficient.

Feel free to open an issue.


Not in the millions no - 100k would be a reasonable order of magnitude.

I'll take a look to see if MBTiles will get me there and if not I'll come back to these.

Thanks heaps




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: