3 ms·
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 compa
by karussell 4y ago
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?
- easrng 4y agoLooks like they use either mapbox gl is or maplibre gl js to render the map
- karussell 4y agoI 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/ https://valhalla.openstreetmap.de/ Or https://github.com/Qwant/erdapfel https://github.com/Qwant/erdapfel Or https://graphhopper.com/maps2 https://graphhopper.com/maps2 & https://github.com/graphhopper/graphhopper-maps https://github.com/graphhopper/graphhopper-maps (disclaimer: I'm a contributor there)
- ellenhp 4y agoOTP 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.