4 ms·
Nice! I was going to point out the project I’ve been working on [1] to reduce the cost but I see you’ve already found it :-) Feel free to reach out it you run i
by zylepe 4y ago
Nice! I was going to point out the project I’ve been working on [1] to reduce the cost but I see you’ve already found it :-) Feel free to reach out it you run into any issues!
[1] https://github.com/onthegomap/planetiler https://github.com/onthegomap/planetiler
- ellenhp 4y agoPlanetiler is amazing! Thank you for your work.
- hedora 4y agoAm I missing something, or does it only cost about $2.27 per month to store all the tiles in Amazon S3? They're definitely not the cheapest game in town. (Your build example says the tiles are 99GB, and their normal tier is $0.023/GB) I guess the part of the cost that people actually care about is the bandwidth. How do you suggest dealing with that part of the problem?
- ellenhp 4y agoPlanetiler isn't for hosting tiles, but generating them. For a planet-scale tile generation job it's the difference between hundreds or thousands of dollars in VPS fees and being able to generate them locally on a modestly equipped desktop. Planetiler does drastically reduce cost in that respect.
- zylepe 4y agoAnother option if you want to offload the tiles from embedded in your docker image to static file hosting would be to convert the mbtiles output to pmtiles [1]. Then just upload the pmtiles file to s3 or similar and use the maplibre plug-in to read tiles directly from that large file using byte range requests without a tile server. There’s a python utility to convert mbtiles to pmtiles, but I’m also planning to add native pmtiles output to planetiler soon [2]. [1] https://github.com/protomaps/PMTiles https://github.com/protomaps/PMTiles [2] https://github.com/onthegomap/planetiler/issues/98 https://github.com/onthegomap/planetiler/issues/98