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.
[ Parent
| on HN ]
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.