Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-25 Thread andrzej zaborowski
2009/7/25 Yann Coupin :
>  From what I understand when I patched the source to allow the Corine
> Land Cover huge import sometimes ago, bulk_upload does what it's told.
> That is if you feed it a standard OSM file, it add the features. If

If you feed it a standard OSM file it will do the same thing as JOSM
does, i.e. add/modify/remove features as indicated by the action=
property.

> you want to add/change/delete, you have to use the changeset syntax
> which enclose data in blocks that explicitely tell if you want to add/
> update/delete the features in that block.

Possibly the patched version but the one that was and still is in SVN
will completely screw up when given a changeset.

I recommend (shameless plug)
http://www.openstreetmap.pl/balrog/bulkupload/ for changeset uploads.

I also recommend reverting this kinds of failed uploads as soon as you
notice it, so as not to add manual work for people (I noticed on a lot
of the duplicate country nodes people have been making changes to the
tags not noticing they were only editing one of the six identical
copies and then wondering why their changes had no effect and risking
doing work somebody else already did on a different copy).  The
changesets such as those adding name:ar= for country nodes are really
trivial to revert if noticed in time, not requiring the fancy scripts.

Cheers

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-25 Thread Yann Coupin
 From what I understand when I patched the source to allow the Corine  
Land Cover huge import sometimes ago, bulk_upload does what it's told.  
That is if you feed it a standard OSM file, it add the features. If  
you want to add/change/delete, you have to use the changeset syntax  
which enclose data in blocks that explicitely tell if you want to add/ 
update/delete the features in that block.

Yann

Le 25 juil. 09 à 11:15, Tom Hughes a écrit :

> On 25/07/09 02:49, Mikel Maron wrote:
>
>> Thanks Mala, as I was the cause of at least one set of those bad  
>> imports!
>> This was an import of Arabic placenames globally, in a changeset  
>> pushed
>> through the bulk_upload.py.
>>
>> bulk_upload.py seems to support modify and delete, but in my  
>> experience
>> (obviously!) not.
>> Can anyone confirm that bulk_upload.py does work .. and then  
>> perhaps I
>> can determine what I've been doing wrong.
>
> I thought we had established some time ago that it does support them  
> if
> you give it the right input format. You gave it the wrong format and  
> as
> a result (and because it doesn't validate the input properly) it  
> treated
> everything as a create.
>
> Basically it supports osmChange and you gave it osm or vice versa -  
> the
> details escape me right now.


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-25 Thread Tom Hughes
On 25/07/09 02:49, Mikel Maron wrote:

> Thanks Mala, as I was the cause of at least one set of those bad imports!
> This was an import of Arabic placenames globally, in a changeset pushed
> through the bulk_upload.py.
>
> bulk_upload.py seems to support modify and delete, but in my experience
> (obviously!) not.
> Can anyone confirm that bulk_upload.py does work .. and then perhaps I
> can determine what I've been doing wrong.

I thought we had established some time ago that it does support them if 
you give it the right input format. You gave it the wrong format and as 
a result (and because it doesn't validate the input properly) it treated 
everything as a create.

Basically it supports osmChange and you gave it osm or vice versa - the 
details escape me right now.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://www.compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-24 Thread Mikel Maron
It looks like many of these dupes are being cleaned up by user Mala

http://www.openstreetmap.org/user/Mala/edits


Thanks Mala, as I was the cause of at least one set of those bad imports!
This was an import of Arabic placenames globally, in a changeset pushed through 
the bulk_upload.py.

bulk_upload.py seems to support modify and delete, but in my experience 
(obviously!) not.
Can anyone confirm that bulk_upload.py does work .. and then perhaps I can 
determine what I've been doing wrong.
I'm not the only one, as you'll see that other dup country changesets have used 
bulk_upload.py as well.

-Mikel





From: Stefan Baebler 
To: Ævar Arnfjörð Bjarmason 
Cc: openstreetmap 
Sent: Friday, July 24, 2009 5:04:25 AM
Subject: Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

Yes, i also encountered them.

There seem to be many broken imports of various country names,
creating new nodes instead of updating existing ones:
http://www.openstreetmap.org/browse/changeset/1558061
http://www.openstreetmap.org/browse/changeset/1558170
http://www.openstreetmap.org/browse/changeset/1558184
http://www.openstreetmap.org/browse/changeset/1725949
(notice "v1" at all nodes in all of the above changesets!)

Some of them seem ok though:
http://www.openstreetmap.org/browse/changeset/1558224

Stefan

On Fri, Jul 24, 2009 at 9:47 AM, Ævar Arnfjörð
Bjarmason wrote:
> I don't know if this has been noted previously but there seem to be a
> lot of recent duplicate place= nodes in the database from different
> users:
>
>  http://www.openstreetmap.org/browse/node/27564988
>  http://www.openstreetmap.org/browse/node/435916947
>
>  http://www.openstreetmap.org/browse/node/428339584
>  http://www.openstreetmap.org/browse/node/265958490
>
> Then there were a lot of duplicate place=country nodes by user
> balrog-kun, but these seem to be mostly cleaned up now:
>
>  249399354 | Ísland   | country
>  424314784 | Ísland   | country
>  424312027 | Ísland   | country
>  424298323 | Ísland   | country
>  424317955 | Ísland   | country
>  432425001 | Ísland   | country
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-24 Thread andrzej zaborowski
2009/7/24 andrzej zaborowski :
> I was updating wikipedia= and other tags and found each country=place
> node had 6 copies, usually five of them by user Baruch, differing only
> in name:ar= and name:he=.  I merged them into 1 usually so you'll see 5
> of them deleted, all with last editing user set to me (balrog-kun).

While doing this I found that at least one country was completely
missing (Montenegro) and couldn't find any sane way to check what
happened to the node or whether there had never been any (unlikely).

Cheers

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-24 Thread andrzej zaborowski
2009/7/24 Ævar Arnfjörð Bjarmason :
> I don't know if this has been noted previously but there seem to be a
> lot of recent duplicate place= nodes in the database from different
> users:
>
>  http://www.openstreetmap.org/browse/node/27564988
>  http://www.openstreetmap.org/browse/node/435916947
>
>  http://www.openstreetmap.org/browse/node/428339584
>  http://www.openstreetmap.org/browse/node/265958490
>
> Then there were a lot of duplicate place=country nodes by user
> balrog-kun, but these seem to be mostly cleaned up now:

I was updating wikipedia= and other tags and found each country=place
node had 6 copies, usually five of them by user Baruch, differing only
in name:ar= and name:he.  I merged them into 1 usually so you'll see 5
of them deleted, all with last editing user set to me (balrog-kun).

Cheers

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-24 Thread Stefan Baebler
Yes, i also encountered them.

There seem to be many broken imports of various country names,
creating new nodes instead of updating existing ones:
http://www.openstreetmap.org/browse/changeset/1558061
http://www.openstreetmap.org/browse/changeset/1558170
http://www.openstreetmap.org/browse/changeset/1558184
http://www.openstreetmap.org/browse/changeset/1725949
(notice "v1" at all nodes in all of the above changesets!)

Some of them seem ok though:
http://www.openstreetmap.org/browse/changeset/1558224

Stefan

On Fri, Jul 24, 2009 at 9:47 AM, Ævar Arnfjörð
Bjarmason wrote:
> I don't know if this has been noted previously but there seem to be a
> lot of recent duplicate place= nodes in the database from different
> users:
>
>  http://www.openstreetmap.org/browse/node/27564988
>  http://www.openstreetmap.org/browse/node/435916947
>
>  http://www.openstreetmap.org/browse/node/428339584
>  http://www.openstreetmap.org/browse/node/265958490
>
> Then there were a lot of duplicate place=country nodes by user
> balrog-kun, but these seem to be mostly cleaned up now:
>
>  249399354 | Ísland                                   | country
>  424314784 | Ísland                                   | country
>  424312027 | Ísland                                   | country
>  424298323 | Ísland                                   | country
>  424317955 | Ísland                                   | country
>  432425001 | Ísland                                   | country
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Duplicate place=city capital=yes and other place nodes

2009-07-24 Thread Ævar Arnfjörð Bjarmason
I don't know if this has been noted previously but there seem to be a
lot of recent duplicate place= nodes in the database from different
users:

  http://www.openstreetmap.org/browse/node/27564988
  http://www.openstreetmap.org/browse/node/435916947

  http://www.openstreetmap.org/browse/node/428339584
  http://www.openstreetmap.org/browse/node/265958490

Then there were a lot of duplicate place=country nodes by user
balrog-kun, but these seem to be mostly cleaned up now:

 249399354 | Ísland   | country
 424314784 | Ísland   | country
 424312027 | Ísland   | country
 424298323 | Ísland   | country
 424317955 | Ísland   | country
 432425001 | Ísland   | country

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk