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
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
