Open danpat opened 7 years ago
FYI, we've just published another technical preview post: https://mapzen.com/blog/osmlr-2nd-technical-preview/ Includes information on how to access a preview build of OSMLR segment tile files with global coverage.
Glad to see you all are considering ways to make use of OSMLR in OSRM!
Hi friends! Is there any plan to support OSMLR or OpenLR? I think it's a missing part to enrich the OSRM with traffic data. Is there any OpenLR encoder/decoder for OSRM (OSM) segments?
Thanks a lot!
This is quite old but still relevant. I would be interested in a proper solution here too.
I'm curious: is there any data source actually implementing OSMLR? OpenTraffic is unfortunately pretty dead, same as Mapzen. Or you're curious about OpenLR support? The latter I've done before with Valhalla. I don't think OSRM can support any linear referencing scheme really in its current state (directly or indirectly), since all the "route"-defining attributes are missing in OSRM (as @danpat describes above, nothing changed there).
EDIT: it can be very indirectly supported by using Valhalla to match the OpenLR.
My understanding was that openLR and osmlr is quite similar so if one works it should probably possible to support the other one too.
Mapzen just did everyone a favour and did the hard work of taking the ideas from OpenLR and making a spec for OSM data:
https://mapzen.com/blog/open-traffic-osmlr-technical-preview/
Having worked with TMC and OpenLR closely, this approach seems pretty sane - it's a hard problem and there's no magic solution.
There are a few ways we could go about this:
OSMLR (and OpenLR that it's based on) supports filtering on criteria that we currently don't store data for - road classes (highway/residential/etc), road types (roundabouts, sliproads, normal). Direct support for OSMLR would depend on availability of some of these extra attributes.