OpenStreetMap 로고 OpenStreetMap

Getting streets and nodes without name tags with Overpass turbo

Rodrigo Rega님이 English로 2016년 3월 18일에 게시함. 최근 2016년 3월 20일에 업데이트됨.

In 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: highways and nodes without name tags

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.

위치: Lugo, Casco Vello, Lugo, Galicia, Spain
이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2016년 3월 22일 00:51mvexel님의 의견

Nice!

You could also make a MapRoulette challenge out of it pretty easily and have everyone help out :)

댓글을 남기려면 로그인하세요