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

Last change on this file since 6054 was 5630, checked in by jttt, 12 years ago

Relation sorting and way connection refactored, added tests

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