Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output route relation / superroute tree (as gpx), with role filter #660

Open
pelderson opened this issue Oct 3, 2023 · 1 comment
Open

Comments

@pelderson
Copy link

Maybe this is a dumb question, but is it possible to export a route relation, but only include relation members without a role or with the role 'main'?
Route relation members (ways or child routes) may have roles main (or no role, which defaults to main), approach, excursion, alternative, excursion. This is approved and established tagging. In most cases, gpx export only wants the main route without any extras.
Maybe this can be achieved in the overpass query, in which case it's just my knowledge level that needs updating.
If it can't be done in the query, I would like to know if it is an option which could be built into the software.

@mmd-osm
Copy link
Contributor

mmd-osm commented Oct 6, 2023

drolbr/Overpass-API#97 discusses this topic. Does that help you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants