[osmosis-dev] Error on a node modified and deleted in the same changeset
Jocelyn Jaubert
jocelyn.jaubert at gmail.com
Sat Jul 13 11:03:04 UTC 2013
Hi,
Le 09/07/2013 21:49, Frederik Ramm a écrit :
> I could run Jocelyn's patch on the Geofabrik server but technically it
> would create wrong osc files - if you were to compare a Geofabrik osc
> with one loaded from osm.org you'd find that the Geofabrik diff reports
> the wrong user name, wrong timestamp, and *possibly* also wrong version
> on a deleted object.
I understand that my patch is far from ideal, but it make it possible to
run osmosis to apply all diff at the same time. There must be some
better solution, but I didn't find any
I'm currently using a workaround, which is to set maxInterval in
configuration.txt to 0.5 day to make sure that osmosis is not trying to
merge two diffs. Then I had to add a loop to run osmosis until there are
no recent diffs.
Maybe the best way to fix this is to add a note on a website explaining
that the diffs generated by Geofabrik are not meant for "direct"
consumption by osmosis with a big value on maxInterval ?
--
Jocelyn
More information about the osmosis-dev
mailing list