[Talk-us] Data Upload

Dave Hansen dave at sr71.net
Thu Jul 16 03:28:02 BST 2009


On Wed, 2009-07-15 at 19:08 -0700, 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.

Yeah, there's a bulk_upload.pl script in SVN.  I'm pretty sure it got
updated for 0.6.  It also helps immensely to get an account on
dev.openstreemap.org since it's in the same datacenter as the database
server.  

-- Dave





More information about the Talk-us mailing list