[osmosis-dev] Has the behaviour of Osmosis changed regarding deletions in .osc?
Brett Henderson
brett at bretth.com
Thu Nov 12 06:01:20 GMT 2009
On Thu, Nov 12, 2009 at 11:23 AM, Frederik Ramm <frederik at remote.org> wrote:
> Hi,
>
>
> Brett Henderson wrote:
>
>> I always thought that osmosis would only write the object "header"
>> (the <way id="..." XML tag) to an .osc file if the object has been
>> deleted, and omit the tags and members. Now I see that it in fact
>> includes the full object. Has this behaviour changed some time, or has
>> this always been the case?
>>
>>
>> Nothing should have changed in that space. The Osmosis --write-xml-change
>> task will write everything that is passed to it in the pipeline. So if the
>> original change derivation task provides tags and members they'll be written
>> to the output file.
>>
>
> Oh right, then that was my misunderstanding. I remembered from looking at
> the planet .osc files, and then tried it out by comparing two .osm files and
> thought the behaviour must have changed.
>
> Interestingly, the .osc files on planet seem to contain the full set of
> tags for deleted *nodes*, but no tags for deleted ways or relations.
That is strange. Do you have an example of each? It would be interesting
to see what the API returns, and beyond that what is actually in the db.
Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20091112/8a4d9c4a/attachment.html>
More information about the osmosis-dev
mailing list