Re: [Talk-us] Data Upload

2009-07-18 Thread Dave Hansen
On Sat, 2009-07-18 at 22:16 -0700, Andrew Ayre wrote:
> Thanks. How would I test it without risking putting dummy data or 
> partial data on the public server? I've tried to use another upload 
> script with api06.dev.openstreetmap.org and
> mysql.dev.openstreetmap.org 
> but they don't appear to be functional (server error 500).

Those are the two that I would have tried.  Perhaps try the dev@ list
and ask for suggestions there.  You'll probably have a more broad and
smarter audience than us poor US folks. ;)

-- Dave


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


Re: [Talk-us] Data Upload

2009-07-18 Thread Andrew Ayre
Hi Dave,

Thanks. How would I test it without risking putting dummy data or 
partial data on the public server? I've tried to use another upload 
script with api06.dev.openstreetmap.org and mysql.dev.openstreetmap.org 
but they don't appear to be functional (server error 500).

Andy

Dave Hansen wrote:
> On Sat, 2009-07-18 at 20:07 -0700, Andrew Ayre wrote:
>> I tried bulk_upload.py and it gave me a 404 error.
> 
> I've used this in the past:
> 
> http://wiki.openstreetmap.org/wiki/Bulk_upload.pl
> 
> Evidently it hasn't been updated to 0.6 yet.  But, honestly, that
> shouldn't be *that* hard to do.
> 
> -- Dave
> 
> 
> 

-- 
Andy
PGP Key ID: 0xDC1B5864

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


Re: [Talk-us] Data Upload

2009-07-18 Thread Dave Hansen
On Sat, 2009-07-18 at 20:07 -0700, Andrew Ayre wrote:
> 
> I tried bulk_upload.py and it gave me a 404 error.

I've used this in the past:

http://wiki.openstreetmap.org/wiki/Bulk_upload.pl

Evidently it hasn't been updated to 0.6 yet.  But, honestly, that
shouldn't be *that* hard to do.

-- Dave


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


Re: [Talk-us] Data Upload

2009-07-18 Thread Apollinaris Schoell
It's very slow today. Did an upload of 4k nodes and it took  about 3h
if possible split the data, waiting 15h and then it stops because of a  
conflict is a pain


On Jul 18, 2009, at 8:07 PM, Andrew Ayre wrote:

> Thanks Tyler and Dave.
>
> I tried bulk_upload.py and it gave me a 404 error.
>
> I then tried the uploader here:
>
> http://www.openstreetmap.pl/balrog/bulkupload/
>
> and it complained that the OSM file was not a 0.6 OSM file. Well, I
> created it in the latest version of JOSM...
>
> I then tried bulk_upload.php and it gave me "Fatal error: The API
> returned:" and then blank. It's uploaded something, but who knows  
> what?
>
> I'm now trying JOSM again - it's saying 15 hours for a 5Mb upload
>
> So, does anyone have a reliable means of uploading OSM files created  
> in
> JOSM?
>
> Andy
>
> Andrew Ayre wrote:
>> After working on a new set of data for import, is there a faster  
>> way of
>> uploading it than with JOSM? For example I have an OSM file with 30k
>> nodes in it. JOSM says it will take four hours. Then after an hour  
>> the
>> connection is reset.
>>
>> I understand there is some overhead with changesets, etc. but 4 hours
>> for a 5Mb file is painful.
>>
>> I saw a method using curl but that was for API 0.5.
>>
>> thanks, Andy
>>
>
> -- 
> Andy
> PGP Key ID: 0xDC1B5864
>
> ___
> Talk-us mailing list
> Talk-us@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-us


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


Re: [Talk-us] Data Upload

2009-07-18 Thread Andrew Ayre
Thanks Tyler and Dave.

I tried bulk_upload.py and it gave me a 404 error.

I then tried the uploader here:

http://www.openstreetmap.pl/balrog/bulkupload/

and it complained that the OSM file was not a 0.6 OSM file. Well, I
created it in the latest version of JOSM...

I then tried bulk_upload.php and it gave me "Fatal error: The API
returned:" and then blank. It's uploaded something, but who knows what?

I'm now trying JOSM again - it's saying 15 hours for a 5Mb upload

So, does anyone have a reliable means of uploading OSM files created in 
JOSM?

Andy

Andrew Ayre wrote:
> After working on a new set of data for import, is there a faster way of 
> uploading it than with JOSM? For example I have an OSM file with 30k 
> nodes in it. JOSM says it will take four hours. Then after an hour the 
> connection is reset.
> 
> I understand there is some overhead with changesets, etc. but 4 hours 
> for a 5Mb file is painful.
> 
> I saw a method using curl but that was for API 0.5.
> 
> thanks, Andy
> 

-- 
Andy
PGP Key ID: 0xDC1B5864

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


Re: [Talk-us] Proposed automated motorway_link mass edit

2009-07-18 Thread Theodore Book
I have looked through the changes in my part of the world, and it makes 
things much better.  I would encourage you to go ahead and run it with 
the changes that you have made.



Frederik Ramm wrote:
> Hi,
> 
> I'm new on this list but I assume that the problem I'm talking about 
> has been widely discussed. Someone from the US alerted me to the fact 
> that TIGER only has one type of road link which was imported as 
> motorway_link, and therefore you have little bits of motorway_link 
> sprinkled liberally across the US.
> 
> I propose to run a script that downgrades every motorway_link to the 
> highest road type to which it is connected. A motorway_link that 
> connects to a motorway remains unchanged; a motorway_link that connects 
> a primary and a secondary road will become primary_link, one that 
> connects two tracks (yes, these do exist) will become a track also, and 
> everything in between.
> 
> (This will sometimes cause whole sets of interconnected motorway_links 
> to be downgraded, like this: 
> http://www.openstreetmap.org/?lat=25.7839&lon=-80.28898&zoom=17&layers=0B00FTFT)
> 
> Preliminary analysis shows that there would be roughly 28k changes 
> across the whole US. I have prepared a full list of all proposed 
> changes, arranged by state and county, here:
> 
> http://www.remote.org/frederik/tmp/us-motorway-link-downgrade/
> 
> I invite you to make some random checks (way IDs are linked to the 
> openstreetmap.org browse page where you get to see the map context) to 
> see whether my script does the right thing.
> 
> I would then run the script after the weekend if nobody has any 
> objections. (Anything that is changed by hand between now and then will 
> not be touched by the script.)
> 
> Let me know what you think.
> 
> Bye
> Frederik
> 


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