Re: [OSM-talk] Orphaned Relations

2011-07-20 Thread Sarah Hoffmann
On Tue, Jul 19, 2011 at 03:03:53PM +0200, andrzej zaborowski wrote: On 17 July 2011 23:55, Sarah Hoffmann lon...@denofr.de wrote: I recently stumbled upon some empty route relations, so I had a closer look at the OSM planet and found that there are about 10.000 orphaned relations in the

Re: [OSM-talk] Orphaned Relations

2011-07-19 Thread Sarah Hoffmann
On Mon, Jul 18, 2011 at 10:28:54PM +0100, MP wrote: On Mon, 18 Jul 2011 16:05:29 +0100, Ed Loach wrote: Relations without members can be used intentionally, Can you give an example, please? Because I've tried and failed to think of any. Perhaps I'm just getting hung up on the name relation

Re: [OSM-talk] Orphaned Relations

2011-07-19 Thread andrzej zaborowski
Hi, On 17 July 2011 23:55, Sarah Hoffmann lon...@denofr.de wrote: I recently stumbled upon some empty route relations, so I had a closer look at the OSM planet and found that there are about 10.000 orphaned relations in the database and the number is growing. With orphaned I mean relations

Re: [OSM-talk] Orphaned Relations

2011-07-19 Thread Renaud MICHEL
On mardi 19 juillet 2011 at 00:54, Jorge Gustavo wrote : I remove my orphaned relations, using JOSM. 1) wget http://jxapi.openstreetmap.org/xapi/api/0.6/relation[boundary=administrat ive][@uid=193530] -O old_relation_boundary_jgr.osm 2) JOSM - Open - old_relation_boundary_jgr.osm No need

Re: [OSM-talk] Orphaned Relations

2011-07-19 Thread Ian
On Tuesday, July 19, 2011 10:42:06 AM UTC-5, Renaud MICHEL wrote: On mardi 19 juillet 2011 at 00:54, Jorge Gustavo wrote : I remove my orphaned relations, using JOSM. 1) wget http://jxapi.openstreetmap.org/xapi/api/0.6/relation[boundary=administrat ive][@uid=193530] -O

Re: [OSM-talk] Orphaned Relations

2011-07-19 Thread Jorge Gustavo
On 19-07-2011 16:42, Renaud MICHEL wrote: On mardi 19 juillet 2011 at 00:54, Jorge Gustavo wrote : I remove my orphaned relations, using JOSM. 1) wget http://jxapi.openstreetmap.org/xapi/api/0.6/relation[boundary=administrat ive][@uid=193530] -O old_relation_boundary_jgr.osm 2) JOSM - Open -

Re: [OSM-talk] Orphaned Relations

2011-07-19 Thread MP
On Tue, 19 Jul 2011 10:01:24 +0200, Sarah Hoffmann wrote: On Mon, Jul 18, 2011 at 10:28:54PM +0100, MP wrote: On Mon, 18 Jul 2011 16:05:29 +0100, Ed Loach wrote: Relations without members can be used intentionally, Can you give an example, please? Because I've tried and failed to think of

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Ed Loach
Sarah wrote: I have created a list of the relations sorted by last editing user here: http://osm.lonvia.de/stuff/orphans.html snip Question remains what to do with the existing orphaned relations. Is there any legimate use for them or would it be save to simply delete them all? I've

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Nathan Edgars II
Sarah Hoffmann wrote: With orphaned I mean relations that have no members and are not member of any other relation. Some are completely empty but most still have some tags. I have created a list of the relations sorted by last editing user here: http://osm.lonvia.de/stuff/orphans.html

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Richard Mann
Now there was me thinking it was just a Potlatch problem. I'll delete my 5 as soon as P2 has the facility (and I can find it). If someone wants to delete all of them that haven't been touched for (say) three months, I don't think there'd be any objections. Richard

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Eugene Alvin Villar
It's possible that some relations were unintentionally emptied of their members. In some editors, that would make these relations then invisible. For some of these relations, someone would have noticed something missing and then recreated the relation. For others, the emptying might need to be

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread M∡rtin Koppenhoefer
2011/7/17 Sarah Hoffmann lon...@denofr.de: Question remains what to do with the existing orphaned relations. Is there any legimate use for them or would it be save to simply delete them all? I would ask the last editors to verify them, and let them delete those in the case they are not

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Richard Fairhurst
Richard Mann wrote: Now there was me thinking it was just a Potlatch problem. I'll delete my 5 as soon as P2 has the facility (and I can find it). You can delete a relation in P2 by selecting it in the Advanced view (which means you'll have to have selected a member of that relation, of

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Richard Fairhurst
Sarah Hoffmann wrote: I don't know about forbitting orphaned relations but it would certainly be helpful if the editors would show a big red warning sign if somebody tries to upload an empty relation. No. That would be entirely disproportionate. Empty relations don't do anyone any harm.

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Frederik Ramm
Hi, On 07/18/11 12:05, M?rtin Koppenhoefer wrote: I would ask the last editors to verify them, and let them delete those in the case they are not needed. I suspect that some of these relations actually were emptied without the mapper wanting it, so there might be cases where relation should be

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Richard Mann
Found it (on the third attempt - it was accessed via that tiny down arrow button). Could it be somewhere on the Edit Relation dialog too, please, since that's where you'll be once you've loaded it... Richard On Mon, Jul 18, 2011 at 11:57 AM, Richard Fairhurst rich...@systemed.net wrote:

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread M∡rtin Koppenhoefer
2011/7/18 Richard Fairhurst rich...@systemed.net: If you really care about empty relations, you are welcome to submit a patch to P2 that automatically deletes relations when they're set to 0 members (and undeletes them if you undo that action), of course! you could have empty relations (no

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Josh Doe
On Mon, Jul 18, 2011 at 9:51 AM, M∡rtin Koppenhoefer dieterdre...@gmail.com wrote: 2011/7/18 Richard Fairhurst rich...@systemed.net: If you really care about empty relations, you are welcome to submit a patch to P2 that automatically deletes relations when they're set to 0 members (and

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Russ Nelson
Sarah Hoffmann writes: Question remains what to do with the existing orphaned relations. Is there any legimate use for them or would it be save to simply delete them all? Since the only way to access them would be directly, as relations, it seems unlikely that they would ever be used again.

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Tobias Knerr
Josh Doe wrote: On Mon, Jul 18, 2011 at 9:51 AM, M∡rtin Koppenhoefer dieterdre...@gmail.com mailto:dieterdre...@gmail.com wrote: you could have empty relations (no own members) with tags on them that are themselves member of another relation and therefore usefull/intended

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Ed Loach
Relations without members can be used intentionally, Can you give an example, please? Because I've tried and failed to think of any. Perhaps I'm just getting hung up on the name relation as something which groups its related members in some way defined by the relation's tags (while not

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Werner Hoch
Hi Sarah, On Sonntag, 17. Juli 2011, Sarah Hoffmann wrote: I recently stumbled upon some empty route relations, so I had a closer look at the OSM planet and found that there are about 10.000 orphaned relations in the database and the number is growing. With orphaned I mean relations that

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Werner Hoch
Hi NE2, On Montag, 18. Juli 2011, Nathan Edgars II wrote: Sarah Hoffmann wrote: With orphaned I mean relations that have no members and are not member of any other relation. Some are completely empty but most still have some tags. I have created a list of the relations sorted by last

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Sarah Hoffmann
On Mon, Jul 18, 2011 at 03:59:23AM -0700, Richard Fairhurst wrote: Sarah Hoffmann wrote: I don't know about forbitting orphaned relations but it would certainly be helpful if the editors would show a big red warning sign if somebody tries to upload an empty relation. No. That would

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Richard Fairhurst
Sarah Hoffmann wrote: Wouldn't it be much easier to silently delete all empty relations when uploading the data? From a user point of view the result should be the same and you don't have to mess around with undo. It would certainly be easier, but I don't believe it's the Right Way To Do It.

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Robin Paulson
On 18 July 2011 23:15, Frederik Ramm frede...@remote.org wrote: I'd be tempted to delete them all if they're older than 3 months or so. Some of you said that it might have been something valuable accidentally deleted, but if nobody noticed that within 3 months then it cannot have been *so*

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread MP
On Mon, 18 Jul 2011 16:05:29 +0100, Ed Loach wrote: Relations without members can be used intentionally, Can you give an example, please? Because I've tried and failed to think of any. Perhaps I'm just getting hung up on the name relation as something which groups its related members in some

Re: [OSM-talk] Orphaned Relations

2011-07-18 Thread Jorge Gustavo
Hi Sarah, hi all, Thanks for pointing out the problem. In my case, there were orphaned relations without any use at all. They simply were not removed after cleaning some administrative boundaries and I didn't noticed. I remove my orphaned relations, using JOSM. 1) wget

[OSM-talk] Orphaned Relations

2011-07-17 Thread Sarah Hoffmann
Hi, I recently stumbled upon some empty route relations, so I had a closer look at the OSM planet and found that there are about 10.000 orphaned relations in the database and the number is growing. With orphaned I mean relations that have no members and are not member of any other relation.