Ticket #1435: multipolygon2.osm

File multipolygon2.osm, 3.0 KB (added by R2D2_C3PO, 10 years ago)

Updated example (2 inner ways with different tags)

Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.5' generator='JOSM'>
3  <node id='-1' visible='true' lat='0.0' lon='0.1' />
4  <node id='-2' visible='true' lat='0.0' lon='0.2' />
5  <node id='-3' visible='true' lat='0.5' lon='0.3' />
6  <node id='-4' visible='true' lat='0.5' lon='0.4' />
7  <node id='-5' action='modify' visible='true' lat='0.36028170170805085' lon='0.22594689967561682' />
8  <node id='-6' action='modify' visible='true' lat='0.33975387400287327' lon='0.2034000296491453' />
9  <node id='-7' action='modify' visible='true' lat='0.254194939071537' lon='0.2145181831883696' />
10  <node id='-8' action='modify' visible='true' lat='0.348977426951429' lon='0.3013826397504093' />
11  <node id='-9' action='modify' visible='true' lat='0.3718654632109101' lon='0.18871040220765625' />
12  <node id='-10' action='modify' visible='true' lat='0.1814305710303033' lon='0.18187801735114972' />
13  <node id='-11' action='modify' visible='true' lat='0.36834094800787803' lon='0.3395605669065712' />
14  <node id='-12' action='modify' visible='true' lat='0.34282839264251336' lon='0.23715822209924797' />
15  <node id='-13' action='modify' visible='true' lat='0.31997134216479406' lon='0.2268785885196859' />
16  <node id='-14' action='modify' visible='true' lat='0.3268657297678815' lon='0.2573137574259422' />
17  <node id='-15' action='modify' visible='true' lat='0.3665549470612115' lon='0.16970394978864725' />
18  <way id='-16' visible='true'>
19    <nd ref='-7' />
20    <nd ref='-8' />
21    <tag k='building' v='yes' />
22  </way>
23  <way id='-17' action='modify' visible='true'>
24    <nd ref='-12' />
25    <nd ref='-13' />
26    <nd ref='-14' />
27    <nd ref='-12' />
28    <tag k='natural' v='wood' />
29  </way>
30  <way id='-18' action='modify' visible='true'>
31    <nd ref='-2' />
32    <nd ref='-1' />
33    <nd ref='-15' />
34    <nd ref='-3' />
35    <tag k='building' v='yes' />
36  </way>
37  <way id='-19' visible='true'>
38    <nd ref='-5' />
39    <nd ref='-6' />
40    <tag k='building' v='yes' />
41  </way>
42  <way id='-20' action='modify' visible='true'>
43    <nd ref='-8' />
44    <nd ref='-5' />
45    <tag k='building' v='yes' />
46  </way>
47  <way id='-21' visible='true'>
48    <nd ref='-6' />
49    <nd ref='-7' />
50    <tag k='building' v='yes' />
51  </way>
52  <way id='-22' action='modify' visible='true'>
53    <nd ref='-2' />
54    <nd ref='-4' />
55    <nd ref='-3' />
56  </way>
57  <way id='-23' action='modify' visible='true'>
58    <nd ref='-9' />
59    <nd ref='-10' />
60    <nd ref='-11' />
61    <nd ref='-9' />
62    <tag k='landuse' v='commercial' />
63  </way>
64  <relation id='-24' action='modify' visible='true'>
65    <member type='way' ref='-23' role='inner' />
66    <member type='way' ref='-20' role='outer' />
67    <member type='way' ref='-16' role='outer' />
68    <member type='way' ref='-19' role='outer' />
69    <member type='way' ref='-21' role='outer' />
70    <member type='way' ref='-18' role='outer' />
71    <member type='way' ref='-22' role='outer' />
72    <member type='way' ref='-17' role='inner' />
73    <tag k='type' v='multipolygon' />
74  </relation>
75</osm>