Skip to content

v0.2.53..v0.2.54 changeset HighwayCornerSplitterDogLeg.osm

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/algorithms/splitter/HighwayCornerSplitterDogLeg.osm b/test-files/algorithms/splitter/HighwayCornerSplitterDogLeg.osm
new file mode 100644
index 0000000..4f54373
--- /dev/null
+++ b/test-files/algorithms/splitter/HighwayCornerSplitterDogLeg.osm
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<osm version="0.6" generator="hootenanny" srs="+epsg:4326">
+    <bounds minlat="51.50173046759" minlon="-0.08150697291" maxlat="51.504345066" maxlon="-0.07864237368"/>
+    <node visible="true" id="-23" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5021645747699992" lon="-0.0796401554300000"/>
+    <node visible="true" id="-22" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5025519284600009" lon="-0.0797206217100000"/>
+    <node visible="true" id="-21" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5026320701900033" lon="-0.0786423736800000"/>
+    <node visible="true" id="-20" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5031129176200011" lon="-0.0786906534400000"/>
+    <node visible="true" id="-19" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5035503508100021" lon="-0.0787389332100000"/>
+    <node visible="true" id="-18" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5035069415899969" lon="-0.0796026045100000"/>
+    <node visible="true" id="-17" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5038675707199971" lon="-0.0796455198500000"/>
+    <node visible="true" id="-16" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5042615881700030" lon="-0.0796777063600000"/>
+    <node visible="true" id="-15" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5034768890400017" lon="-0.0815069729100000"/>
+    <node visible="true" id="-14" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5029760101899967" lon="-0.0814533287300000"/>
+    <node visible="true" id="-13" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5025352322499970" lon="-0.0813567692000000"/>
+    <node visible="true" id="-12" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5025485892199981" lon="-0.0812012010800000"/>
+    <node visible="true" id="-11" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5037139697699970" lon="-0.0807291322900000"/>
+    <node visible="true" id="-10" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5037139697699970" lon="-0.0806486660200000"/>
+    <node visible="true" id="-9" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5030761864000013" lon="-0.0805413776600000"/>
+    <node visible="true" id="-8" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5024684473400001" lon="-0.0804609113900000"/>
+    <node visible="true" id="-7" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5018640394700000" lon="-0.0803643518700000"/>
+    <node visible="true" id="-6" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5043450659999991" lon="-0.0801229530600000"/>
+    <node visible="true" id="-5" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5039443710000029" lon="-0.0800907665500000"/>
+    <node visible="true" id="-4" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5034935849099966" lon="-0.0800532156200000"/>
+    <node visible="true" id="-3" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5034869065599992" lon="-0.0801873260700000"/>
+    <node visible="true" id="-2" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5027789963300009" lon="-0.0800693088800000"/>
+    <node visible="true" id="-1" timestamp="1970-01-01T00:00:00Z" version="1" lat="51.5017304675900007" lon="-0.0799030119200000"/>
+    <way visible="true" id="-4" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-16"/>
+        <nd ref="-17"/>
+        <nd ref="-18"/>
+        <nd ref="-19"/>
+        <nd ref="-20"/>
+        <nd ref="-21"/>
+        <nd ref="-22"/>
+        <nd ref="-23"/>
+        <tag k="name" v="Not A Dog Leg"/>
+        <tag k="highway" v="secondary"/>
+    </way>
+    <way visible="true" id="-3" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-15"/>
+        <nd ref="-14"/>
+        <nd ref="-13"/>
+        <nd ref="-12"/>
+        <tag k="name" v="Dog Leg End"/>
+        <tag k="highway" v="tertiary"/>
+    </way>
+    <way visible="true" id="-2" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-11"/>
+        <nd ref="-10"/>
+        <nd ref="-9"/>
+        <nd ref="-8"/>
+        <nd ref="-7"/>
+        <tag k="name" v="Dog Leg Start"/>
+        <tag k="highway" v="residential"/>
+    </way>
+    <way visible="true" id="-1" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-6"/>
+        <nd ref="-5"/>
+        <nd ref="-4"/>
+        <nd ref="-3"/>
+        <nd ref="-2"/>
+        <nd ref="-1"/>
+        <tag k="name" v="Dog Leg Middle"/>
+        <tag k="highway" v="primary"/>
+    </way>
+</osm>
Clone this wiki locally