Skip to content

v0.2.50..v0.2.51 changeset elementTypeUnorderedTest2.osm

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/test-files/io/OsmJsonReaderTest/elementTypeUnorderedTest2.osm b/test-files/io/OsmJsonReaderTest/elementTypeUnorderedTest2.osm
new file mode 100644
index 0000000..d706a58
--- /dev/null
+++ b/test-files/io/OsmJsonReaderTest/elementTypeUnorderedTest2.osm
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<osm version="0.6" generator="hootenanny" srs="+epsg:4326">
+    <bounds minlat="39.0354544" minlon="-77.1171442" maxlat="39.0359918" maxlon="-77.1165293"/>
+    <node visible="true" id="-12" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0355982000000026" lon="-77.1166728999999975">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-12"/>
+    </node>
+    <node visible="true" id="-11" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0355869999999996" lon="-77.1166513000000009">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-11"/>
+    </node>
+    <node visible="true" id="-10" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0355160000000012" lon="-77.1167123000000032">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-10"/>
+    </node>
+    <node visible="true" id="-9" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0354543999999990" lon="-77.1165931999999970">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-9"/>
+    </node>
+    <node visible="true" id="-8" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0355288000000016" lon="-77.1165292999999963">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-8"/>
+    </node>
+    <node visible="true" id="-7" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0355662999999993" lon="-77.1166019000000063">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-7"/>
+    </node>
+    <node visible="true" id="-6" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0355947999999984" lon="-77.1165775000000053">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-6"/>
+    </node>
+    <node visible="true" id="-5" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0356299999999976" lon="-77.1166455999999982">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-5"/>
+    </node>
+    <node visible="true" id="-4" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0359704999999977" lon="-77.1171441999999985">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-4"/>
+    </node>
+    <node visible="true" id="-3" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0359582999999972" lon="-77.1171300999999971">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-3"/>
+    </node>
+    <node visible="true" id="-2" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0359795999999974" lon="-77.1170996000000031">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-2"/>
+    </node>
+    <node visible="true" id="-1" timestamp="1970-01-01T00:00:00Z" version="1" user="ElliottPlack" uid="105946" lat="39.0359917999999979" lon="-77.1171137000000044">
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-1"/>
+    </node>
+    <way visible="true" id="-2" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-5"/>
+        <nd ref="-6"/>
+        <nd ref="-7"/>
+        <nd ref="-8"/>
+        <nd ref="-9"/>
+        <nd ref="-10"/>
+        <nd ref="-11"/>
+        <nd ref="-12"/>
+        <nd ref="-5"/>
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-2"/>
+        <tag k="building" v="yes"/>
+        <tag k="error:circular" v="15"/>
+    </way>
+    <way visible="true" id="-1" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-1"/>
+        <nd ref="-2"/>
+        <nd ref="-3"/>
+        <nd ref="-4"/>
+        <nd ref="-1"/>
+        <tag k="hoot:status" v="0"/>
+        <tag k="hoot:id" v="-1"/>
+        <tag k="building" v="yes"/>
+        <tag k="error:circular" v="15"/>
+    </way>
+</osm>
Clone this wiki locally