[Talk-cz] Import DIBAVOD
Pavel Machek
pavel na ucw.cz
Čtvrtek Únor 25 14:34:28 UTC 2010
On Tue 2010-02-23 22:08:19, jzvc wrote:
> Dne 23.2.2010 21:55, Jan Bilak napsal(a):
> > Ja vychazel z tohoto:
> >
> > Diff upload: POST /api/0.6/changeset/#id/upload
> >
> > With this API call files in the OsmChange format can be uploaded to
> > the server. This is guaranteed to be running in a transaction. So
> > either all the changes are applied or none.
> > To upload an OSC file it has to conform to the OsmChange specification
> > with the addition of a changeset and a version attribute for each
> > element, except when you are creating an element where the version is
> > not required as the server sets that for you.
> >
> > [http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6]
>
> Otazka je, jestli vam to nezbuchlo ve finalni fazi, kdyz uz transakce
> byla uzavrena => melo by to by duplicitni komplet a teoreticky by melo
> jit revertnout komplet jeden changeset (pokud ho nekdo mezi tim
> nezmenil). Dalsi varianta, ktera me napada (spekulace) ze kdyz changeset
> je otevreny dyl nez X (hodina ???) tak ho OSM uzavre automaticky.
> Nektere typy chyb by tomu nasvedcovaly.
>
> BTW: Osobne trochu nechapu co trva na uploadu 1MB dat na 8Mbit lince cca
> 20 - 30 minut. Tech +- 10k zaznamu se da nacpat do databaze behem vterin.
Ono to vypadalo tak ze to behem par vterin poslalo ten megabyte, a pak
se nic nedelo -- server zrejme 30 minut ukladal do databaze...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Další informace o konferenci talk-cz