[OSM-dev] comparing two planet files

Stephan Knauss osm at stephans-server.de
Wed Jan 5 22:04:16 GMT 2011


On 05.01.2011 11:13, Frederik Ramm wrote:
> Hi,
>
> On 01/05/11 01:21, Stephan Knauss wrote:
>> First I wondered that both resulting files got smaller.
>> Is removing the source tag saving this much?
>
> The processed files probably lack the <changeset> section of the
> original planet.

osmosis is stripping off the changeset section as well as the license 
comment.

is there any practical use for the changeset section after applying 
diffs? Or could osmchange strip them off same as osmosis does?

Whitespace formatting of osmosis and original planet is identical.
So the difference here could be the changeset section.

osmchange does not indent the node,way,relation lines but indents the 
others with six spaces.
So untagged nodes will take up less space, tags more. I did not count 
the whitespace but hope now that the difference of 2GB is due to these 
whitespaces. At least the explanation sounds plausible.

Stephan



More information about the dev mailing list