<div dir="ltr"><div>Hi everyone!<br></div><div><br></div><div class="gmail_quote">> 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.</div><div class="gmail_quote">For the benefit or archaeologists researching this mailing list archive, here is a summary of how we accomplished this:</div><div class="gmail_quote"><br></div><div class="gmail_quote">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:<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">osmium getid -r moldova-latest.osm.pbf r6726484 -o chisinau-public-transport.osm.pbf</div><div class="gmail_quote"><br></div><div class="gmail_quote">Additional details, as well as an alternative approach are provided here:</div><div class="gmail_quote"><div class="gmail_quote"><a href="https://github.com/roataway/map-matcher-osrm-backend/#trim-down-the-map">https://github.com/roataway/map-matcher-osrm-backend/#trim-down-the-map</a></div></div></div>