Re: [OSM-talk-ie] Untagged ways

2018-08-23 Thread Rory McCann

Yes, just add `(user:NAME)`, or `(uid:NUMBER)`.

e.g.:

 [bbox:{{bbox}}][out:xml][timeout:250];
 (
   way(if:count_tags() == 0)(uid:12345); - (relation; >;);
 );
 out meta; >; out meta qt;

You can find your uid by looking at an object which was last changed by
you, and then "Download XML", and "uid" should be next to "user". You
can also replace `(uid:NNN)` with `(user:"name")`.

https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_user_.28user.2C_uid.29

On 23/08/18 11:53, Colm Moore wrote:

Hi Rory,


Thanks very much for that, it found what I was looking for. I tried it 
for nodes, but nearly broke Overpass Turbo. :) Is there a way to narrow 
it down by user? Yes I could download all the results, but that seems 
laborious.



In trying to map power=minor_line 
http://overpass-turbo.eu/s/Bji sometimes I add temporary ways where I 
spot a short section of line, but sometimes it's a false positive 
(tractor trail across field, ploughed field, JPEG artifact, etc.). 
Sometimes not all the temporary ways get deleted.



Colm


---
Never doubt that a small group of thoughtful, committed citizens can 
change the world. Indeed, it is the only thing that ever has. Margaret Mead




*From:* Rory McCann 
*Sent:* 23 August 2018 08:10
*To:* Discussion of OpenStreetMap in Ireland; Colm Moore
*Subject:* Re: [OSM-talk-ie] Untagged ways
Yes! This overpass query finds them:

  [bbox:{{bbox}}][out:xml][timeout:250];
  (
    way(if:count_tags() == 0); - (relation; >;);
  );
  out meta; >; out meta qt;

I have that saved in JOSM's "Download from Overpass API" feature. After
downloading, Ctrl-F to search for "type:way", then add them to to the
todo list plugin window, and work through them one by one. Unfortunately
due to how JOSM downloads them, you can't use "continuous download" to
make it easier.

It's nice if you want something to do, and improves OSM data. Like a
garden that needs weeding, OSM needs people to look over it and tidy it up.

The query works by first searching for all ways which have 0 tags in the
area (`if:count_tags() == 0`). Then it gets all the relations in the
area (`relation;`), and then the ways of those relations (byt 'recusing
down the relations with `>`). It removes the second set of ways from the
first set, leaving all ways with no tags that aren't in any realtions.

Hope that helps

On 22/08/18 23:11, Colm Moore wrote:

Hi,


Is there a way to search for ways that don't have tags or relations tied to 
them?


Thanks


Colm


---
Never doubt that a small group of thoughtful, committed citizens can change the 
world. Indeed, it is the only thing that ever has. Margaret Mead
___
Talk-ie mailing list
Talk-ie@openstreetmap.org
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.openstreetmap.org%2Flistinfo%2Ftalk-ie&data=02%7C01%7C%7Ccaff859a2c29416b21e108d608c77e3a%7C84df9e7fe9f640afb435%7C1%7C0%7C636706050237994073&sdata=0VgZYeLl6%2BdGE9VuwFZYBmK4623Wo6HXwpXlsZPXI%2Bo%3D&reserved=0



___
Talk-ie mailing list
Talk-ie@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ie


Re: [OSM-talk-ie] Untagged ways

2018-08-23 Thread Colm Moore
Hi Rory,


Thanks very much for that, it found what I was looking for. I tried it for 
nodes, but nearly broke Overpass Turbo. :) Is there a way to narrow it down by 
user? Yes I could download all the results, but that seems laborious.


In trying to map power=minor_line http://overpass-turbo.eu/s/Bji sometimes I 
add temporary ways where I spot a short section of line, but sometimes it's a 
false positive (tractor trail across field, ploughed field, JPEG artifact, 
etc.). Sometimes not all the temporary ways get deleted.


Colm


---
Never doubt that a small group of thoughtful, committed citizens can change the 
world. Indeed, it is the only thing that ever has. Margaret Mead



From: Rory McCann 
Sent: 23 August 2018 08:10
To: Discussion of OpenStreetMap in Ireland; Colm Moore
Subject: Re: [OSM-talk-ie] Untagged ways

Yes! This overpass query finds them:

 [bbox:{{bbox}}][out:xml][timeout:250];
 (
   way(if:count_tags() == 0); - (relation; >;);
 );
 out meta; >; out meta qt;

I have that saved in JOSM's "Download from Overpass API" feature. After
downloading, Ctrl-F to search for "type:way", then add them to to the
todo list plugin window, and work through them one by one. Unfortunately
due to how JOSM downloads them, you can't use "continuous download" to
make it easier.

It's nice if you want something to do, and improves OSM data. Like a
garden that needs weeding, OSM needs people to look over it and tidy it up.

The query works by first searching for all ways which have 0 tags in the
area (`if:count_tags() == 0`). Then it gets all the relations in the
area (`relation;`), and then the ways of those relations (byt 'recusing
down the relations with `>`). It removes the second set of ways from the
first set, leaving all ways with no tags that aren't in any realtions.

Hope that helps

On 22/08/18 23:11, Colm Moore wrote:
> Hi,
>
>
> Is there a way to search for ways that don't have tags or relations tied to 
> them?
>
>
> Thanks
>
>
> Colm
>
>
> ---
> Never doubt that a small group of thoughtful, committed citizens can change 
> the world. Indeed, it is the only thing that ever has. Margaret Mead
> ___
> Talk-ie mailing list
> Talk-ie@openstreetmap.org
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.openstreetmap.org%2Flistinfo%2Ftalk-ie&data=02%7C01%7C%7Ccaff859a2c29416b21e108d608c77e3a%7C84df9e7fe9f640afb435%7C1%7C0%7C636706050237994073&sdata=0VgZYeLl6%2BdGE9VuwFZYBmK4623Wo6HXwpXlsZPXI%2Bo%3D&reserved=0
>
___
Talk-ie mailing list
Talk-ie@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ie


Re: [OSM-talk-ie] Untagged ways

2018-08-23 Thread Rory McCann

Yes! This overpass query finds them:

[bbox:{{bbox}}][out:xml][timeout:250];
(
  way(if:count_tags() == 0); - (relation; >;);
);
out meta; >; out meta qt;

I have that saved in JOSM's "Download from Overpass API" feature. After
downloading, Ctrl-F to search for "type:way", then add them to to the
todo list plugin window, and work through them one by one. Unfortunately
due to how JOSM downloads them, you can't use "continuous download" to
make it easier.

It's nice if you want something to do, and improves OSM data. Like a
garden that needs weeding, OSM needs people to look over it and tidy it up.

The query works by first searching for all ways which have 0 tags in the
area (`if:count_tags() == 0`). Then it gets all the relations in the
area (`relation;`), and then the ways of those relations (byt 'recusing
down the relations with `>`). It removes the second set of ways from the
first set, leaving all ways with no tags that aren't in any realtions.

Hope that helps

On 22/08/18 23:11, Colm Moore wrote:

Hi,


Is there a way to search for ways that don't have tags or relations tied to 
them?


Thanks


Colm


---
Never doubt that a small group of thoughtful, committed citizens can change the 
world. Indeed, it is the only thing that ever has. Margaret Mead
___
Talk-ie mailing list
Talk-ie@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ie



___
Talk-ie mailing list
Talk-ie@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ie