Better HN
topnewbestaskshowjobs
Log inSign up

alfman

4 karma · joined May 20, 2020 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

This is all wrong!

1.) you're mixing a routing service with a tile service (just view the map). A routing service needs always a tile service to display its result.

2.) the difference between openmaptiles and a traditional apache mod_tile is, that you don't need a ~600GB postgress to serve the entire planet. It's pre-rendered in vector tiles and the entire planet fits into a ~50GB mbtiles (sqlite3) file.

3.) Generating your own mbtiles file is documentated here: https://openmaptiles.org/docs/generate/generate-openmaptiles... and here is the belonging github repository https://github.com/openmaptiles/openmaptiles

But take care, rendering the entire planet took a lot of ressources. e.b. i7 sandy bridge with raid 0 ssd will take ~1 year for planet zoom level 0 to 14. And aws c5d.12xlarge will take 7 days only for zoom level 14.