Filter three digit bus numbers in overpass turbo

Hello,
I’m currently using the following query to find all bus routes in an area

relation["type"="route"]["route"="bus"]

However I only want to match lines with one or two digits in their line name, for example

Bus 11: Nikolaus-Matthiesen-Straße => Twedter Plack
Bus 5 A: Flensburg ZOB => Campus => Hesttoft => ZOB
Bus 2 Abendlinie: Flensburg ZOB => Harrisleer Kreuz => Kupfermühle/Grenze

but not the following

Bus 130: Flensburg => Großenwiehe => Joldelund => Bredstedt

How would I be able to do this?

2 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/filter-three-digit-bus-numbers-in-overpass-turbo/108653