Skip to content

v0.2.54..v0.2.55 changeset ServiceChangesetReplacementOutOfSpecMixedRelationsTest.sh

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/test-files/cmd/glacial/serial/ServiceChangesetReplacementOutOfSpecMixedRelationsTest.sh b/test-files/cmd/glacial/serial/ServiceChangesetReplacementOutOfSpecMixedRelationsTest.sh
new file mode 100755
index 0000000..aa62584
--- /dev/null
+++ b/test-files/cmd/glacial/serial/ServiceChangesetReplacementOutOfSpecMixedRelationsTest.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+set -e
+
+# This test ensures that features belonging to relations that are not part of the OSM spec are not dropped. There also shouldn't be any 
+# duplicated features in the output which can happen when features belonging to relations are separated by geometry during processing.
+#
+# Output issues: 
+# 1. Drag the top left or right corners of "Victoria's Secret' down a bit and see the duplicated info nodes with the tag, "Map of the 
+# Shopping Centre". Generally, way nodes don't get info tag so not a critical problem.
+# 2. There's an empty relation in the output after disabling removal of missing elements.
+
+test-files/cmd/glacial/serial/ServiceChangesetReplacement.sh.off "ServiceChangesetReplacementOutOfSpecMixedRelationsTest" "test-files/cmd/glacial/serial/ServiceChangesetReplacementOutOfSpecMixedRelationsTest/input1.osm" "test-files/cmd/glacial/serial/ServiceChangesetReplacementOutOfSpecMixedRelationsTest/input2.osm" "-115.184767,36.031262,-115.048556,36.14796" "-180,-90,180,90" "true" "true" "" "" "false" "" "" "false" "" "xml" "5.0" "0.5" "true"
Clone this wiki locally