source: josm/trunk/data_nodist/relation_sort.osm@ 6461

Last change on this file since 6461 was 6461, checked in by simon04, 10 years ago

fix #9089 - improve sorting of associatedStreet/street relation members

In addition, fix a bug when more additionalSorters are adequate: This
led to duplicate relation members.

File size: 7.9 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' upload='true' generator='JOSM'>
3 <node id='-136' action='modify' visible='true' lat='0.012919043857859922' lon='-0.02396592658039119'>
4 <tag k='leisure' v='playground' />
5 <tag k='name' v='playground' />
6 </node>
7 <node id='-119' action='modify' visible='true' lat='0.013321070318548687' lon='-0.02263899788567645'>
8 <tag k='name' v='tree' />
9 <tag k='natural' v='tree' />
10 </node>
11 <node id='-62' action='modify' visible='true' lat='0.011392242679627185' lon='-0.02151079901779618' />
12 <node id='-60' action='modify' visible='true' lat='0.010990181404602947' lon='-0.02221645759558677' />
13 <node id='-58' action='modify' visible='true' lat='0.0121881598958588' lon='-0.02275800952737954' />
14 <node id='-56' action='modify' visible='true' lat='0.011571901667096615' lon='-0.023094362404978128' />
15 <node id='-54' action='modify' visible='true' lat='0.01196661592868377' lon='-0.023053401490175603' />
16 <node id='-52' action='modify' visible='true' lat='0.011096850722520079' lon='-0.023143660145474393' />
17 <node id='-50' action='modify' visible='true' lat='0.011113261386811617' lon='-0.023652390748067607' />
18 <node id='-48' action='modify' visible='true' lat='0.011539938658067678' lon='-0.02462061995945469' />
19 <node id='-46' action='modify' visible='true' lat='0.01539626034645824' lon='-0.023880241371069214' />
20 <node id='-44' action='modify' visible='true' lat='0.015428020586761428' lon='-0.023340317266381447' />
21 <node id='-42' action='modify' visible='true' lat='0.0154002303764964' lon='-0.02298301455004395' />
22 <node id='-40' action='modify' visible='true' lat='0.015181878724288504' lon='-0.022316049479547295' />
23 <node id='-38' action='modify' visible='true' lat='0.014911916681254264' lon='-0.022177098423193826' />
24 <node id='-36' action='modify' visible='true' lat='0.014657834758095989' lon='-0.022161218302467714' />
25 <node id='-34' action='modify' visible='true' lat='0.01427274184276135' lon='-0.02253440113953132' />
26 <node id='-32' action='modify' visible='true' lat='0.013986899678383742' lon='-0.022423240294448546' />
27 <node id='-30' action='modify' visible='true' lat='0.01389955901697638' lon='-0.022077847668655632' />
28 <node id='-28' action='modify' visible='true' lat='0.014014689888824738' lon='-0.021819795706856333' />
29 <node id='-26' action='modify' visible='true' lat='0.014252891692468746' lon='-0.021776125374859526' />
30 <node id='-24' action='modify' visible='true' lat='0.014379932654311749' lon='-0.021569683805420084'>
31 <tag k='name' v='t1n1' />
32 </node>
33 <node id='-22' action='modify' visible='true' lat='0.014268771812702965' lon='-0.021518073413060227' />
34 <node id='-20' action='modify' visible='true' lat='0.014332292293628876' lon='-0.02137515232652523'>
35 <tag k='name' v='t1n2' />
36 </node>
37 <node id='-18' action='modify' visible='true' lat='0.01342315540873657' lon='-0.024273274359040455' />
38 <node id='-16' action='modify' visible='true' lat='0.01305394261171071' lon='-0.023320467115473805' />
39 <node id='-14' action='modify' visible='true' lat='0.013204803754647857' lon='-0.021911106401031468' />
40 <node id='-12' action='modify' visible='true' lat='0.01301027228084355' lon='-0.02147837311124495' />
41 <node id='-10' action='modify' visible='true' lat='0.013173043514037084' lon='-0.023991402216151987'>
42 <tag k='addr:housenumber' v='1' />
43 <tag k='name' v='t2n1' />
44 </node>
45 <node id='-8' action='modify' visible='true' lat='0.013073792762102373' lon='-0.023697619982718937'>
46 <tag k='addr:housenumber' v='2' />
47 <tag k='name' v='t2n2' />
48 </node>
49 <node id='-6' action='modify' visible='true' lat='0.012930871679247545' lon='-0.023173575998757284'>
50 <tag k='addr:housenumber' v='3' />
51 <tag k='name' v='t2n3' />
52 </node>
53 <node id='-4' action='modify' visible='true' lat='0.013038062491396258' lon='-0.022228708815553687'>
54 <tag k='addr:housenumber' v='4' />
55 <tag k='name' v='t2n4' />
56 </node>
57 <way id='-94' action='modify' visible='true'>
58 <nd ref='-52' />
59 <nd ref='-56' />
60 <tag k='name' v='t3w2' />
61 </way>
62 <way id='-92' action='modify' visible='true'>
63 <nd ref='-60' />
64 <nd ref='-62' />
65 <tag k='name' v='t3w7' />
66 </way>
67 <way id='-90' action='modify' visible='true'>
68 <nd ref='-54' />
69 <nd ref='-58' />
70 <tag k='name' v='t3w4' />
71 </way>
72 <way id='-88' action='modify' visible='true'>
73 <nd ref='-56' />
74 <nd ref='-54' />
75 <tag k='name' v='t3w3' />
76 </way>
77 <way id='-86' action='modify' visible='true'>
78 <nd ref='-52' />
79 <nd ref='-60' />
80 <tag k='name' v='t3w6' />
81 </way>
82 <way id='-84' action='modify' visible='true'>
83 <nd ref='-48' />
84 <nd ref='-50' />
85 <nd ref='-52' />
86 <tag k='name' v='t3w1' />
87 </way>
88 <way id='-82' action='modify' visible='true'>
89 <nd ref='-46' />
90 <nd ref='-44' />
91 <tag k='name' v='t1w1' />
92 </way>
93 <way id='-80' action='modify' visible='true'>
94 <nd ref='-36' />
95 <nd ref='-34' />
96 <tag k='name' v='t1w5' />
97 </way>
98 <way id='-78' action='modify' visible='true'>
99 <nd ref='-32' />
100 <nd ref='-30' />
101 <nd ref='-28' />
102 <tag k='name' v='t1w6' />
103 </way>
104 <way id='-76' action='modify' visible='true'>
105 <nd ref='-44' />
106 <nd ref='-42' />
107 <tag k='name' v='t1w2' />
108 </way>
109 <way id='-74' action='modify' visible='true'>
110 <nd ref='-42' />
111 <nd ref='-40' />
112 <tag k='name' v='t1w3' />
113 </way>
114 <way id='-72' action='modify' visible='true'>
115 <nd ref='-40' />
116 <nd ref='-38' />
117 <tag k='name' v='t1w4' />
118 </way>
119 <way id='-70' action='modify' visible='true'>
120 <nd ref='-28' />
121 <nd ref='-26' />
122 <nd ref='-22' />
123 <tag k='name' v='t1w7' />
124 </way>
125 <way id='-68' action='modify' visible='true'>
126 <nd ref='-18' />
127 <nd ref='-16' />
128 <tag k='name' v='t2w1' />
129 </way>
130 <way id='-66' action='modify' visible='true'>
131 <nd ref='-16' />
132 <nd ref='-14' />
133 <nd ref='-12' />
134 <tag k='name' v='t2w2' />
135 </way>
136 <way id='-64' action='modify' visible='true'>
137 <nd ref='-58' />
138 <nd ref='-52' />
139 <tag k='name' v='t3w5' />
140 </way>
141 <relation id='-123' action='modify' visible='true'>
142 <member type='node' ref='-136' role='' />
143 <member type='way' ref='-68' role='street' />
144 <member type='node' ref='-10' role='house' />
145 <member type='node' ref='-8' role='house' />
146 <member type='node' ref='-6' role='house' />
147 <member type='way' ref='-66' role='street' />
148 <member type='node' ref='-119' role='tree' />
149 <member type='node' ref='-4' role='house' />
150 <tag k='test' v='street' />
151 <tag k='type' v='street' />
152 </relation>
153 <relation id='-100' action='modify' visible='true'>
154 <member type='way' ref='-64' role='forward' />
155 <member type='way' ref='-94' role='forward' />
156 <member type='way' ref='-92' role='' />
157 <member type='way' ref='-90' role='forward' />
158 <member type='way' ref='-86' role='' />
159 <member type='way' ref='-88' role='forward' />
160 <member type='way' ref='-84' role='' />
161 <tag k='test' v='loop' />
162 </relation>
163 <relation id='-98' action='modify' visible='true'>
164 <member type='way' ref='-74' role='' />
165 <member type='way' ref='-70' role='' />
166 <member type='way' ref='-82' role='' />
167 <member type='way' ref='-76' role='' />
168 <member type='way' ref='-72' role='' />
169 <member type='way' ref='-80' role='' />
170 <member type='way' ref='-78' role='' />
171 <member type='node' ref='-24' role='' />
172 <member type='node' ref='-20' role='' />
173 <tag k='test' v='generic' />
174 </relation>
175 <relation id='-96' action='modify' visible='true'>
176 <member type='way' ref='-68' role='street' />
177 <member type='node' ref='-10' role='house' />
178 <member type='node' ref='-8' role='house' />
179 <member type='node' ref='-6' role='house' />
180 <member type='way' ref='-66' role='street' />
181 <member type='node' ref='-4' role='house' />
182 <tag k='test' v='associatedStreet' />
183 <tag k='type' v='associatedStreet' />
184 </relation>
185</osm>
Note: See TracBrowser for help on using the repository browser.