source: josm/trunk/data_nodist/direction-arrows.osm@ 8643

Last change on this file since 8643 was 2890, checked in by bastiK, 15 years ago

Reverse Arrows for 'oneway=-1' and similar (see #2387).
More efficient calculation of arrow geometry.
Test file for Arrow direction added.

File size: 16.7 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' generator='JOSM'>
3 <node id='-143' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.475690243509891' lon='-1.2195572267440005' />
4 <node id='-142' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47632497840996246' lon='-1.2224245764530357' />
5 <node id='-5' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4796378646700545' lon='-1.222848109646454' />
6 <node id='-4' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47900313007595446' lon='-1.2199807599374182' />
7 <node id='-153' action='modify' visible='true' lat='0.482563806671386' lon='-1.2257447604743539'>
8 <tag k='name' v='incline=*' />
9 </node>
10 <node id='-155' action='modify' visible='true' lat='0.47978683624152463' lon='-1.2262574500177505'>
11 <tag k='name' v='waterway=*' />
12 </node>
13 <node id='-27' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47771177330651926' lon='-1.214837040993729' />
14 <node id='-145' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4743988861191877' lon='-1.214413507800311' />
15 <node id='-144' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47597477985158776' lon='-1.2165585480406587' />
16 <node id='-13' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4770456414460069' lon='-1.2128480891895201' />
17 <node id='-7' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4764109066122975' lon='-1.2099807394804853' />
18 <node id='-115' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4758746474626959' lon='-1.2128519107331583' />
19 <node id='-116' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47523991252119446' lon='-1.2099845610241233' />
20 <node id='-129' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47457713024767473' lon='-1.2099662409177727' />
21 <node id='-128' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47521186525006476' lon='-1.2128335906268075' />
22 <node id='-96' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4764633314455231' lon='-1.2128409733562326' />
23 <node id='-97' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4758285965581824' lon='-1.2099736236471972' />
24 <node id='-164' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4777931685305473' lon='-1.2103856619794333' />
25 <node id='-26' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4792876662805732' lon='-1.2169820812340761' />
26 <node id='-19' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48036950894773345' lon='-1.2131904879318611' />
27 <node id='-14' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4791657020375284' lon='-1.2102793618913894' />
28 <node id='-12' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4798004366165714' lon='-1.213146711600425' />
29 <node id='-10' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47936268863731496' lon='-1.213146711600425' />
30 <node id='-8' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47973477442147744' lon='-1.2103231382228252' />
31 <node id='-3' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47872795401769974' lon='-1.2102793618913894' />
32 <node id='-2' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4782245437603482' lon='-1.210323138222825' />
33 <node id='-1' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47885927842657205' lon='-1.2131904879318611' />
34 <node id='-163' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47842790323667117' lon='-1.2132530116884697' />
35 <node id='-17' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4813140315130982' lon='-1.2101234506227323' />
36 <node id='-6' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4819487658925252' lon='-1.2129908003317675' />
37 <node id='-9' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48203631545746745' lon='-1.210167226954168' />
38 <node id='-18' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48267104976957914' lon='-1.213034576663203' />
39 <node id='-15' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4822989641455303' lon='-1.2129689121660499' />
40 <node id='-11' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48166422979871726' lon='-1.2101015624570148' />
41 <node id='-32' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4751195493564001' lon='-1.2048370205367955' />
42 <node id='-118' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4739485550463909' lon='-1.2048408420804337' />
43 <node id='-131' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47328577264919125' lon='-1.2048225219740827' />
44 <node id='-130' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4748616666352207' lon='-1.2069675622144307' />
45 <node id='-99' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4745372391933516' lon='-1.2048299047035078' />
46 <node id='-36' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47669544292428195' lon='-1.2069820607771429' />
47 <node id='-24' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4774365971965075' lon='-1.2051356429477' />
48 <node id='-21' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47693318684453173' lon='-1.2051794192791356' />
49 <node id='-22' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4778743452986904' lon='-1.2051356429477' />
50 <node id='-117' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47552444888146495' lon='-1.2069858823207813' />
51 <node id='-98' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4761131328941895' lon='-1.2069749449438552' />
52 <node id='-166' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47650181153371984' lon='-1.205241943035744' />
53 <node id='-29' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4800226751795712' lon='-1.204979731679043' />
54 <node id='-34' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4803728735314377' lon='-1.2049578435133252' />
55 <node id='-30' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4800193105956951' lon='-1.2073244595194834' />
56 <node id='-25' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47850907999728337' lon='-1.207324459519483' />
57 <node id='-23' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4784434177898294' lon='-1.2051794192791356' />
58 <node id='-33' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.479450238235392' lon='-1.2072806831880476' />
59 <node id='-35' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4790124902337393' lon='-1.2072806831880474' />
60 <node id='-165' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47807770478535566' lon='-1.2073869832760913' />
61 <node id='-37' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48136874999641444' lon='-1.2036554976531113' />
62 <node id='-44' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48171894827922374' lon='-1.2036336094873938' />
63 <node id='-45' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4820910339349863' lon='-1.2036992739845465' />
64 <node id='-38' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4819487658925157' lon='-1.2071028837536724' />
65 <node id='-40' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.482320851535727' lon='-1.2071685482508254' />
66 <node id='-42' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4822551893648863' lon='-1.204979731679043' />
67 <node id='-43' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4807449592606228' lon='-1.2050235080104783' />
68 <node id='-39' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4828461488797523' lon='-1.205089172507632' />
69 <node id='-41' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4815985676215157' lon='-1.20712477191939' />
70 <node id='-51' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4807340155630004' lon='-1.2007881479440765' />
71 <node id='-47' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48136874999640183' lon='-1.1977675810750161' />
72 <node id='-48' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4810842138783876' lon='-1.2007662597783586' />
73 <node id='-46' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48174083567128484' lon='-1.1978332455721696' />
74 <node id='-49' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48101855169561025' lon='-1.1977894692407338' />
75 <node id='-50' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48145629956880753' lon='-1.200831924275512' />
76 <node id='-54' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.47960857628212794' lon='-1.1959762749469767' />
77 <node id='-53' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4797928575014292' lon='-1.1956225408346692' />
78 <node id='-55' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4824972674572115' lon='-1.1959611311835499' />
79 <node id='-52' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4801649432621869' lon='-1.195688205331822' />
80 <node id='-60' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48479412617580425' lon='-1.2101234506227323' />
81 <node id='-65' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48477223879355674' lon='-1.2131002411603569' />
82 <node id='-62' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4841375046778457' lon='-1.2102328914513212' />
83 <node id='-63' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48542886022998155' lon='-1.2129908003317675' />
84 <node id='-57' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48354654527531427' lon='-1.210123450622732' />
85 <node id='-64' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4841812794463481' lon='-1.2129908003317675' />
86 <node id='-151' action='modify' visible='true' lat='0.48452904659867874' lon='-1.2258729328602032'>
87 <tag k='name' v='oneway=*' />
88 </node>
89 <node id='-173' action='modify' visible='true' lat='0.48769559035287136' lon='-1.2200224068971082'>
90 <tag k='name' v='no arrows' />
91 </node>
92 <node id='-175' action='modify' visible='true' lat='0.48769559035287136' lon='-1.2107085468587395'>
93 <tag k='name' v='normal arrows' />
94 </node>
95 <node id='-56' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48507866213848755' lon='-1.20712477191939' />
96 <node id='-58' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48442204066808775' lon='-1.2072342127479787' />
97 <node id='-67' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48442335747002924' lon='-1.2039721998362745' />
98 <node id='-66' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48407315932651057' lon='-1.1981061714238967' />
99 <node id='-68' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4837886233216322' lon='-1.201104850127239' />
100 <node id='-59' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.4838310812903243' lon='-1.2071247719193896' />
101 <node id='-61' timestamp='2010-01-24T10:28:01Z' visible='true' lat='0.48350277050269397' lon='-1.204979731679043' />
102 <node id='-179' action='modify' visible='true' lat='0.48756742260896846' lon='-1.2021637211354654'>
103 <tag k='name' v='reversed arrows' />
104 </node>
105 <way id='-69' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
106 <nd ref='-65' />
107 <nd ref='-62' />
108 <nd ref='-58' />
109 <nd ref='-39' />
110 <tag k='highway' v='residential' />
111 <tag k='oneway' v='yes' />
112 </way>
113 <way id='-70' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
114 <nd ref='-64' />
115 <nd ref='-57' />
116 <nd ref='-59' />
117 <nd ref='-42' />
118 <tag k='highway' v='residential' />
119 <tag k='oneway' v='1' />
120 </way>
121 <way id='-71' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
122 <nd ref='-67' />
123 <nd ref='-68' />
124 <nd ref='-66' />
125 <nd ref='-55' />
126 <tag k='highway' v='residential' />
127 <tag k='oneway' v='-1' />
128 </way>
129 <way id='-76' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
130 <nd ref='-18' />
131 <nd ref='-9' />
132 <nd ref='-40' />
133 <nd ref='-43' />
134 <tag k='highway' v='residential' />
135 <tag k='incline' v='up' />
136 </way>
137 <way id='-78' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
138 <nd ref='-15' />
139 <nd ref='-11' />
140 <nd ref='-38' />
141 <nd ref='-34' />
142 <tag k='highway' v='residential' />
143 <tag k='incline' v='22%' />
144 </way>
145 <way id='-79' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
146 <nd ref='-6' />
147 <nd ref='-17' />
148 <nd ref='-41' />
149 <nd ref='-29' />
150 <tag k='highway' v='residential' />
151 <tag k='incline' v='5°' />
152 </way>
153 <way id='-73' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
154 <nd ref='-13' />
155 <nd ref='-7' />
156 <nd ref='-36' />
157 <nd ref='-32' />
158 <tag k='aerialway' v='gondola' />
159 </way>
160 <way id='-81' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
161 <nd ref='-19' />
162 <nd ref='-8' />
163 <nd ref='-30' />
164 <nd ref='-23' />
165 <tag k='waterway' v='stream' />
166 </way>
167 <way id='-77' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
168 <nd ref='-12' />
169 <nd ref='-14' />
170 <nd ref='-33' />
171 <nd ref='-22' />
172 <tag k='waterway' v='river' />
173 </way>
174 <way id='-82' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
175 <nd ref='-10' />
176 <nd ref='-3' />
177 <nd ref='-35' />
178 <nd ref='-24' />
179 <tag k='waterway' v='canal' />
180 </way>
181 <way id='-80' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
182 <nd ref='-1' />
183 <nd ref='-2' />
184 <nd ref='-25' />
185 <nd ref='-21' />
186 <tag k='waterway' v='drain' />
187 </way>
188 <way id='-114' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
189 <nd ref='-115' />
190 <nd ref='-116' />
191 <nd ref='-117' />
192 <nd ref='-118' />
193 <tag k='piste:type' v='sled' />
194 </way>
195 <way id='-127' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
196 <nd ref='-128' />
197 <nd ref='-129' />
198 <nd ref='-130' />
199 <nd ref='-131' />
200 <tag k='man_made' v='piste:halfpipe' />
201 </way>
202 <way id='-95' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
203 <nd ref='-96' />
204 <nd ref='-97' />
205 <nd ref='-98' />
206 <nd ref='-99' />
207 <tag k='piste:type' v='downhill' />
208 </way>
209 <way id='-162' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
210 <nd ref='-163' />
211 <nd ref='-164' />
212 <nd ref='-165' />
213 <nd ref='-166' />
214 <tag k='waterway' v='rapids' />
215 </way>
216 <way id='-84' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
217 <nd ref='-5' />
218 <nd ref='-4' />
219 <nd ref='-26' />
220 <nd ref='-27' />
221 <tag k='waterway' v='riverbank' />
222 </way>
223 <way id='-141' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
224 <nd ref='-142' />
225 <nd ref='-143' />
226 <nd ref='-144' />
227 <nd ref='-145' />
228 <tag k='piste:type' v='nordic' />
229 </way>
230 <way id='-83' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
231 <nd ref='-37' />
232 <nd ref='-51' />
233 <nd ref='-49' />
234 <nd ref='-54' />
235 <tag k='highway' v='residential' />
236 <tag k='incline' v='-5°' />
237 </way>
238 <way id='-74' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
239 <nd ref='-44' />
240 <nd ref='-48' />
241 <nd ref='-47' />
242 <nd ref='-53' />
243 <tag k='highway' v='residential' />
244 <tag k='incline' v='-22%' />
245 </way>
246 <way id='-72' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
247 <nd ref='-45' />
248 <nd ref='-50' />
249 <nd ref='-46' />
250 <nd ref='-52' />
251 <tag k='highway' v='residential' />
252 <tag k='incline' v='down' />
253 </way>
254 <way id='-85' action='modify' timestamp='2010-01-24T10:28:01Z' visible='true'>
255 <nd ref='-63' />
256 <nd ref='-60' />
257 <nd ref='-56' />
258 <nd ref='-61' />
259 <tag k='highway' v='residential' />
260 <tag k='oneway' v='true' />
261 </way>
262</osm>
Note: See TracBrowser for help on using the repository browser.