source: josm/trunk/test/data/alignCircleBefore.osm@ 19194

Last change on this file since 19194 was 17386, checked in by GerdP, 4 years ago

fix #20041: Align nodes in Circle creates Command which changes nothing

  • only create move command if node is visibly moved
  • reject a self-intersecting way
  • reject old nodes outside of download area (the original code only shows an info and continues)
  • add some unit tests to improve coverage
File size: 8.3 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' generator='JOSM'>
3 <node id='21657940' visible='true' version='11' lat='52.892583' lon='8.4304035' />
4 <node id='21658035' visible='true' version='9' lat='52.8925365' lon='8.4306565'>
5 <tag k='converted_by' v='Track2osm' />
6 </node>
7 <node id='21658036' visible='true' version='5' lat='52.8922741' lon='8.4295676'>
8 <tag k='converted_by' v='Track2osm' />
9 </node>
10 <node id='21658081' visible='true' version='6' lat='52.8931418' lon='8.4330586'>
11 <tag k='converted_by' v='Track2osm' />
12 </node>
13 <node id='73227374' visible='true' version='11' lat='52.8925356' lon='8.4304845' />
14 <node id='76465657' visible='true' version='7' lat='52.8930039' lon='8.434235' />
15 <node id='76474542' visible='true' version='4' lat='52.8930507' lon='8.4304979' />
16 <node id='76474543' visible='true' version='3' lat='52.8928728' lon='8.4304707' />
17 <node id='76478545' visible='true' version='6' lat='52.8947806' lon='8.4321263'>
18 <tag k='highway' v='traffic_signals' />
19 </node>
20 <node id='77636315' visible='true' version='7' lat='52.8925235' lon='8.4305719' />
21 <node id='77636748' visible='true' version='9' lat='52.8927478' lon='8.4305301' />
22 <node id='77636749' visible='true' version='7' lat='52.8927054' lon='8.4304192' />
23 <node id='77636750' visible='true' version='7' lat='52.8926437' lon='8.4303813' />
24 <node id='78037253' visible='true' version='5' lat='52.894249' lon='8.4316544' />
25 <node id='81224584' visible='true' version='6' lat='52.8910536' lon='8.4274468' />
26 <node id='82466180' visible='true' version='6' lat='52.8913547' lon='8.4279641' />
27 <node id='92811392' visible='true' version='5' lat='52.891013' lon='8.4315072' />
28 <node id='92811394' visible='true' version='4' lat='52.8906098' lon='8.4318617' />
29 <node id='92811395' visible='true' version='6' lat='52.8893739' lon='8.4330256' />
30 <node id='105304730' visible='true' version='5' lat='52.8938347' lon='8.4311831' />
31 <node id='305468587' visible='true' version='5' lat='52.8889607' lon='8.4332039' />
32 <node id='305492177' visible='true' version='5' lat='52.8916124' lon='8.4311284' />
33 <node id='305492179' visible='true' version='5' lat='52.891801' lon='8.4310449' />
34 <node id='305492181' visible='true' version='5' lat='52.8927226' lon='8.4306919' />
35 <node id='307388519' visible='true' version='3' lat='52.891443' lon='8.428123'>
36 <tag k='railway' v='level_crossing' />
37 </node>
38 <node id='440346289' visible='true' version='3' lat='52.8914858' lon='8.4281925' />
39 <node id='1133854864' visible='true' version='2' lat='52.8924889' lon='8.4300422' />
40 <node id='1133854897' visible='true' version='4' lat='52.8930884' lon='8.433848' />
41 <node id='1133854908' visible='true' version='3' lat='52.8927447' lon='8.4306268' />
42 <node id='1133854931' visible='true' version='3' lat='52.8925843' lon='8.4307354' />
43 <node id='1168240918' visible='true' version='2' lat='52.8946236' lon='8.4320619' />
44 <node id='1227909460' visible='true' version='3' lat='52.8923367' lon='8.4297234' />
45 <node id='1227909479' visible='true' version='2' lat='52.892313' lon='8.4308154' />
46 <node id='1577447735' visible='true' version='1' lat='52.8892172' lon='8.4331186' />
47 <node id='1601720771' visible='true' version='1' lat='52.8895817' lon='8.4328553' />
48 <node id='1601721365' visible='true' version='1' lat='52.8912922' lon='8.4313004' />
49 <node id='1601722162' visible='true' version='1' lat='52.8924023' lon='8.4307688' />
50 <node id='1601722860' visible='true' version='2' lat='52.8930766' lon='8.4325158' />
51 <node id='1601722886' visible='true' version='2' lat='52.8931176' lon='8.4327778' />
52 <node id='1601722905' visible='true' version='2' lat='52.89313' lon='8.4335832' />
53 <node id='1601722913' visible='true' version='2' lat='52.8931452' lon='8.4333054' />
54 <node id='1601723000' visible='true' version='1' lat='52.8932146' lon='8.4306242' />
55 <node id='1601723432' visible='true' version='1' lat='52.893986' lon='8.43134' />
56 <node id='1601723541' visible='true' version='1' lat='52.894126' lon='8.4315038' />
57 <node id='1601723720' visible='true' version='1' lat='52.8943366' lon='8.431761' />
58 <node id='1601723784' visible='true' version='1' lat='52.8945035' lon='8.4319646' />
59 <node id='2310189579' visible='true' version='1' lat='52.8924511' lon='8.4299149' />
60 <node id='2310189580' visible='true' version='3' lat='52.8926389' lon='8.4307568' />
61 <node id='2440942588' visible='true' version='2' lat='52.8924465' lon='8.4307308' />
62 <node id='2440942594' visible='true' version='1' lat='52.89254' lon='8.4302435' />
63 <node id='2440942604' visible='true' version='1' lat='52.8928214' lon='8.4304945' />
64 <node id='2507291974' visible='true' version='1' lat='52.8901024' lon='8.432352' />
65 <node id='2517859485' visible='true' version='1' lat='52.8912381' lon='8.4277637' />
66 <node id='3625401978' visible='true' version='1' lat='52.8925607' lon='8.4307081' />
67 <node id='3625401979' visible='true' version='1' lat='52.8926704' lon='8.4303894' />
68 <node id='3625401980' visible='true' version='1' lat='52.8925521' lon='8.430444' />
69 <node id='3625401981' visible='true' version='1' lat='52.8926046' lon='8.4303887' />
70 <node id='3625401982' visible='true' version='1' lat='52.8927331' lon='8.4304696' />
71 <node id='5504817312' visible='true' version='1' lat='52.8926807' lon='8.4307243' />
72 <way id='8325782' visible='true' version='14'>
73 <nd ref='77636748' />
74 <nd ref='3625401982' />
75 <nd ref='77636749' />
76 <nd ref='3625401979' />
77 <nd ref='77636750' />
78 <nd ref='3625401981' />
79 <nd ref='21657940' />
80 <nd ref='3625401980' />
81 <nd ref='73227374' />
82 <nd ref='77636315' />
83 <nd ref='21658035' />
84 <nd ref='3625401978' />
85 <nd ref='1133854931' />
86 <nd ref='2310189580' />
87 <nd ref='5504817312' />
88 <nd ref='305492181' />
89 <nd ref='1133854908' />
90 <nd ref='77636748' />
91 <tag k='converted_by' v='Track2osm' />
92 <tag k='highway' v='tertiary' />
93 <tag k='junction' v='roundabout' />
94 <tag k='maxspeed' v='50' />
95 <tag k='name' v='Visbeker Straße' />
96 <tag k='oneway' v='yes' />
97 <tag k='ref' v='K 248' />
98 </way>
99 <way id='9703493' visible='true' version='16'>
100 <nd ref='76478545' />
101 <nd ref='1168240918' />
102 <nd ref='1601723784' />
103 <nd ref='1601723720' />
104 <nd ref='78037253' />
105 <nd ref='1601723541' />
106 <nd ref='1601723432' />
107 <nd ref='105304730' />
108 <nd ref='1601723000' />
109 <nd ref='76474542' />
110 <nd ref='76474543' />
111 <nd ref='2440942604' />
112 <nd ref='77636748' />
113 <tag k='highway' v='tertiary' />
114 <tag k='maxspeed' v='50' />
115 <tag k='name' v='Visbeker Straße' />
116 </way>
117 <way id='10611560' visible='true' version='21'>
118 <nd ref='21658035' />
119 <nd ref='2440942588' />
120 <nd ref='1601722162' />
121 <nd ref='1227909479' />
122 <nd ref='305492179' />
123 <nd ref='305492177' />
124 <nd ref='1601721365' />
125 <nd ref='92811392' />
126 <nd ref='92811394' />
127 <nd ref='2507291974' />
128 <nd ref='1601720771' />
129 <nd ref='92811395' />
130 <nd ref='1577447735' />
131 <nd ref='305468587' />
132 <tag k='highway' v='unclassified' />
133 <tag k='maxspeed' v='50' />
134 <tag k='name' v='Goldenstedter Straße' />
135 <tag k='old_ref' v='L 882' />
136 <tag k='surface' v='asphalt' />
137 </way>
138 <way id='27822921' visible='true' version='11'>
139 <nd ref='5504817312' />
140 <nd ref='1601722860' />
141 <nd ref='1601722886' />
142 <nd ref='21658081' />
143 <nd ref='1601722913' />
144 <nd ref='1601722905' />
145 <nd ref='1133854897' />
146 <nd ref='76465657' />
147 <tag k='converted_by' v='Track2osm' />
148 <tag k='highway' v='tertiary' />
149 <tag k='maxspeed' v='50' />
150 <tag k='name' v='Feldstraße' />
151 <tag k='ref' v='K 248' />
152 </way>
153 <way id='495863846' visible='true' version='1'>
154 <nd ref='81224584' />
155 <nd ref='2517859485' />
156 <nd ref='82466180' />
157 <nd ref='307388519' />
158 <nd ref='440346289' />
159 <nd ref='21658036' />
160 <nd ref='1227909460' />
161 <nd ref='2310189579' />
162 <nd ref='1133854864' />
163 <nd ref='2440942594' />
164 <nd ref='21657940' />
165 <tag k='highway' v='tertiary' />
166 <tag k='maxspeed' v='50' />
167 <tag k='name' v='Visbeker Straße' />
168 <tag k='old_ref' v='L 837' />
169 <tag k='ref' v='K 248' />
170 </way>
171</osm>
Note: See TracBrowser for help on using the repository browser.