'I need to extract street name and corresponding area name data from OSM using overpass-turbo
I'm using overpass-turbo to extract street names data from OSM. Here's the code I've been using:
[out:csv ("name")][timeout:2500];
{{geocodeArea:Ouagadougou}}->.searchArea;
(
way["highway"]["name"](area.searchArea);
);
for (t["name"])
{
make street name=_.val;
out;
}
How should I modify the code so the output is street names with the corresponding area name?
[out:csv ("name")][timeout:2500];
{{geocodeArea:Ouagadougou}}->.searchArea;
(
way["highway"]["name"](area.searchArea);
);
for (t["name"])
{
make street name=_.val;
out;
}
Output is street names only.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
