Hacker News new | past | comments | ask | show | jobs | submit login

Thanks for this. I'm curious to know: why did you include two routing engines (OTP and valhalla)? Wouldn't e.g. OTP sufficient and use much less resources compared to 2 setups?

And why not reuse one of the existing open source map or directions front-ends?




OTP is a resource hog (for good reason, it solves a harder problem than valhalla). Covering a US state is very much pushing it for OTP, and covering the planet wouldn't work at all on any hardware.

I didn't use OTP's frontend because I found it unpleasant to use. Valhalla's frontend wouldn't work well with OTP and I don't find it terribly pleasant to use either.

Neither work on mobile, and neither work with vector maps, it seems? I haven't tried out GraphHopper's UI though.


Looks like they use either mapbox gl is or maplibre gl js to render the map


I meant there are many ready-to-use map UIs out there already, like the UI from OTP or valhalla itself. No need to reinvent the wheel.

E.g. see https://valhalla.openstreetmap.de/

Or https://github.com/Qwant/erdapfel

Or https://graphhopper.com/maps2 & https://github.com/graphhopper/graphhopper-maps (disclaimer: I'm a contributor there)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: