[OSM-dev] 0.6 bulk uploader

Iván Sánchez Ortega ivan at sanchezortega.es
Thu Jan 22 19:34:38 GMT 2009


El Jueves, 22 de Enero de 2009, Dave Stubbs escribió:
> Last I saw that limit was being enforced by the API, so any diff
> upload that's bigger than 50,000 changes will fail automatically --
> just not till rails runs the validation, probably after the whole diff
> has been processed.

Yep, you're completely right. I just completely wasted 30 minutes of CPU time 
waiting for rails to parse 40 MB of data, get the first 50k edits into the 
database, and then roll 'em back.

Oh, BTW, this was with JOSM - ticket #2075 is already filed.

> So the bulk uploader needs to split the data into 
> useful changesets, not just multiple uploads.

I'll try to devote some time to programming such a bulk uploader, but I cannot 
guarantee anything.


Cheers,
-- 
----------------------------------
Iván Sánchez Ortega <ivan at sanchezortega.es>

Aviso: Este e-mail es confidencial y no debería ser usado por nadie que no sea 
el destinatario original. No se permite la reproducción mediante fotocopia, 
walkie-talkie, emisora de radioaficionado, satélite, televisión por cable, 
proyector, señales de humo, código morse, braille, lenguaje de signos, 
taquigrafía o cualquier otro medio. Bajo ningún concepto debe traducirse al 
francés este e-mail. Este e-mail no puede ser ridiculizado, parodiado, 
juzgado en una competición, o leído en voz alta con un acento gracioso 
llevando un bigote falso y/o cualquier tipo de sombrero, incluyendo pero no 
limitándose a pañuelos. No inciten ni provoquen a este e-mail. Si está 
medicándose, puede experimentar nauseas, desorientación, histeria, vómitos, 
pérdida temporal de la memoria a corto plazo y malestar general al leer este 
e-mail. Consulte a su médico o farmacéutico antes de leer este e-mail. Todas 
las modelos descritas en este e-mail son mayores de 18 años. Si ha recibido 
este e-mail por error es probablemente porque estaba bebiendo cuando escribí 
la dirección del destinatario.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090122/327c81c9/attachment.pgp>


More information about the dev mailing list