[osmosis-dev] Error on a node modified and deleted in the same changeset
Michael Spreng
mailinglist at osm.datendelphin.net
Sat May 4 06:45:56 UTC 2013
On 03.05.2013 23:55, Jocelyn Jaubert wrote:
> Do you mean that on diff generated on planet.osm.org, the version on
> deleted objects is increased by one ?
Not on diff generation, actually, but on the api-db level already, when
someone deletes something. I don't know exactly how diffs from the
api-db are generated, but the api-db certainly knows about the version
of deleted objects.
> If it is the recommended way, I can take a look at osmosis code source,
> and see if this version increase is something easy to do.
In my opinion yes, this is the only sane way to handle this. Just take
care that you won't break creation of diffs from the api-db.
> Otherwise, does it mean that we have to apply diff from Geofabrik one
> per one, and don't use osmosis --read-replication-interval with these
> diffs ?
Just ensure with the interval that it only consumes one diff at a time,
then osmosis won't have a problem with the diffs.
Michael
More information about the osmosis-dev
mailing list