This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

street names

0

Is is possible to locate and count all similar street names in one city? For example; all streets in Macau beginning with Beco...?Thanks

asked 18 May '19, 11:14

nikettel's gravatar image

nikettel
11112
accept rate: 0%


One Answer:

2

You can do such queries with Overpass

I created this query with the wizard, but got no results for street starting with "Beco" in Macau, China. Note that the names of the streets are always in the local language. But perhaps you are referring to another Macau ?

This is a similar query to find all streets that end on "plein" (which is the Dutch word for square), in a town called Boom in Belgium. This one does return a result

I hope that with those examples you get an idea of the query you have to write, so you can adapt the example and find the one that works for you.

answered 20 May '19, 04:23

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Dear escada,

Thanks for your quick reply. I changed your proposed search a bit, and now it works perfectly. Thanks for your help indeed.

(20 May '19, 10:51) nikettel

Source code available on GitHub .