Getting streets and nodes without name tags with Overpass turbo
โพสต์โดย Rodrigo Rega เมื่อ 18 มีนาคม 2016 ในภาษา English อัปเดตล่าสุดเมื่อ 20 มีนาคม 2016In my way into get better street tagging in Lugo city, I am using Overpass turbo to find what streets need to be tagged.
In a previous post I talk about getting parking lanes in highways in Overpass turbo, in this post I will show how I use Overpass turbo to get streets and POIs that are in need of some name:* tag.
In the next image we can see in blue what ways are in need of tagging, obtained with Overpass turbo:
For each way and node, I want to add this tags:
- name:es=* (Name in spanish)
- name:gl=* (Name in galician. This should be the same as “name=*”)
- sorting_name=* (Same as “name=*”, but putting leading articles to the end)
This is the Overpass turbo query for getting streets without all street name tags that I want:
[out:xml][timeout:25];
// get ways and nodes with name
(
way["name"]({{bbox}});
node["name"]({{bbox}});
);
// filter out ways with all tags ok
(
._ -
(
way._["sorting_name"]({{bbox}});
way._["name:gl"]({{bbox}});
way._["name:es"]({{bbox}});
);
);
// filter out nodes with all tags ok
(
._ -
(
node._["sorting_name"]({{bbox}});
node._["name:gl"]({{bbox}});
node._["name:es"]({{bbox}});
);
);
// print results
out meta;
>;
out meta qt;
Once I get this data, I use the export function in Overpass turbo to load them in JOSM and start the tagging.
การอภิปราย
ความคิดเห็นจาก mvexel เมื่อ 22 มีนาคม 2016 เมื่อเวลา 00:51 น.
Nice!
You could also make a MapRoulette challenge out of it pretty easily and have everyone help out :)