News for hackers. Stuff that matters.
Re:Host your own OpenStreetMap Map Tiles by kylebarron on Tuesday August 30, 2022 @04:01AM (#32647829)
If you skipped the "convert to MBTiles" part, you could host it on a normal web server... the issue is that requires each tile to be a separate file, and copying hundreds of millions of tiny files is brittle, slow, and expensive. Having a specialized web server lets us use a more effective file format for the data.
Re:Host your own OpenStreetMap Map Tiles by paisleyrob on Tuesday August 30, 2022 @10:07AM (#32650664)
Having JUST done this for zoom level 12 for the planet it's tedious. It took 9 days, to export to mbtiles, another 2 days going through pngcrush, and about 40 minutes to make it into a squashfs resulting in a 2.6G squashfs file which houses the 22,368,460 PNG files which are then served up directly via nginx in our case.
Re:Host your own OpenStreetMap Map Tiles by hiram112 on Tuesday August 30, 2022 @12:49PM (#32652482)
It would be cool if somebody could crowd-source an EBS volume (or some other block storage) template of this that anybody else could easily attach to their cloud instance.
Re:Host your own OpenStreetMap Map Tiles by incanus77 on Tuesday August 30, 2022 @11:10AM (#32651396)
Indeed this is why MBTiles was created — especially for USB/device transfer and offline use.