[OSRM-talk] Map matching for live data-streams, one point at a time

Alex R ralienpp at gmail.com
Sun Mar 1 17:58:36 UTC 2020


Hi everyone!

> our next step is to figure out how to produce a correct PBF file that
contains only the roads that are a part of the transport grid.
For the benefit or archaeologists researching this mailing list archive,
here is a summary of how we accomplished this:

We use osmium to extract the relation with a specific ID; in the case of
our city, there happens to be a relation that includes all the routes.
Here's an example:

osmium getid -r moldova-latest.osm.pbf r6726484 -o
chisinau-public-transport.osm.pbf

Additional details, as well as an alternative approach are provided here:
https://github.com/roataway/map-matcher-osrm-backend/#trim-down-the-map
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20200301/7dd88980/attachment.htm>


More information about the OSRM-talk mailing list