[OSM-dev] Minor update to planetdiff

Jon Burgess jburgess777 at googlemail.com
Mon Sep 24 23:20:25 BST 2007


I've made a minor enhancement to the planetdiff code to ignore the
ordering of <tag...> within an object. It now considers an object with
either of the following sets of tags as equivalent:

  <tag k='A' v='1' />
  <tag k='B' v='2' />


  <tag k='B' v='2' />
  <tag k='A' v='1' />

The <bound> tag is now ignored instead of generating a warning.
I've also disabled the statistics output and increased the version in
the diff file to 0.2.

Overall this makes the diff file very slightly smaller since sometimes
the order of tags gets changed. The ordering of the tags is not
something which has any significance. 

The ordering of way segments is significant and will still cause a diff
to be generated.


	Jon










More information about the dev mailing list