-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add options to the "diff" command to ignore certain attributes
When the new command line options --ignore-changeset, --ignore-uid, or --ignore-user are used, the respective attributes of OSM objects are ignored when comparing the input files. This is especially useful for user names, because OSM users can change their own user names, which happens often enough to matter. When used with the OPL output format the ignored attributes are not written out to the output.
- Loading branch information
Showing
11 changed files
with
107 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<osm version="0.6" upload="false" generator="testdata"> | ||
<node id="15" version="1" timestamp="2015-01-01T02:00:00Z" uid="2" user="test" changeset="1" lat="5" lon="1"/> | ||
</osm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<osm version="0.6" upload="false" generator="testdata"> | ||
<node id="15" version="1" timestamp="2015-01-01T02:00:00Z" uid="1" user="test" changeset="1" lat="5" lon="1"/> | ||
</osm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-n11 v1 | ||
+n11 v2 | ||
-n13 v1 | ||
+n14 v1 | ||
*n16 v1 | ||
-w21 v1 | ||
+w21 v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-n11 v1 dV c1 t2015-01-01T01:00:00Z utest T x1 y2 | ||
+n11 v2 dV c2 t2015-01-01T02:00:00Z utest T x2 y2 | ||
-n13 v1 dV c1 t2015-01-01T01:00:00Z utest T x1 y4 | ||
+n14 v1 dV c2 t2015-01-01T02:00:00Z utest T x1 y5 | ||
-n16 v1 dV c1 t2015-01-01T02:00:00Z utest T x2 y5 | ||
+n16 v1 dV c1 t2015-01-01T02:00:00Z utest T x1 y5 | ||
-w21 v1 dV c1 t2015-01-01T01:00:00Z utest Txyz=abc Nn12,n13 | ||
+w21 v2 dV c2 t2015-01-01T02:00:00Z utest Txyz=new Nn12,n14 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters