Ticket #21153: bad-mp-split.osm

File bad-mp-split.osm, 3.5 KB (added by GerdP, 2 years ago)

another example that gives unexpected result when a multipolygon is split with a split way that is outside of the multipolygon

Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' generator='JOSM'>
3 <node id='-102792' action='modify' visible='true' lat='52.41783032327' lon='6.10548957022' />
4 <node id='-102793' action='modify' visible='true' lat='52.42391138536' lon='6.09614709126' />
5 <node id='-102794' action='modify' visible='true' lat='52.43311355974' lon='6.09524877598' />
6 <node id='-102795' action='modify' visible='true' lat='52.437166289' lon='6.10090816227' />
7 <node id='-102796' action='modify' visible='true' lat='52.43842584514' lon='6.11267609249' />
8 <node id='-102797' action='modify' visible='true' lat='52.43568763367' lon='6.12129991922' />
9 <node id='-102798' action='modify' visible='true' lat='52.42971774286' lon='6.1234558759' />
10 <node id='-102799' action='modify' visible='true' lat='52.42500698305' lon='6.12273722367' />
11 <node id='-102800' action='modify' visible='true' lat='52.4233635763' lon='6.11105912498' />
12 <node id='-102801' action='modify' visible='true' lat='52.42599299769' lon='6.10486074952' />
13 <node id='-102802' action='modify' visible='true' lat='52.43048456309' lon='6.10045900462' />
14 <node id='-102803' action='modify' visible='true' lat='52.43366124764' lon='6.10225563519' />
15 <node id='-102804' action='modify' visible='true' lat='52.43404462511' lon='6.10791502148' />
16 <node id='-102805' action='modify' visible='true' lat='52.43081319625' lon='6.11150828262' />
17 <node id='-102806' action='modify' visible='true' lat='52.42714332023' lon='6.11321508166' />
18 <node id='-102807' action='modify' visible='true' lat='52.42774585816' lon='6.11671851127' />
19 <node id='-102808' action='modify' visible='true' lat='52.43190862241' lon='6.11806598419' />
20 <node id='-102809' action='modify' visible='true' lat='52.43513997096' lon='6.11510154376' />
21 <node id='-102810' action='modify' visible='true' lat='52.43601622803' lon='6.10809468454' />
22 <node id='-102811' action='modify' visible='true' lat='52.4350304376' lon='6.0997403524' />
23 <node id='-102813' action='modify' visible='true' lat='52.42856748751' lon='6.09749456419' />
24 <node id='-102814' action='modify' visible='true' lat='52.42358270074' lon='6.10252512978' />
25 <node id='-102815' action='modify' visible='true' lat='52.42024093471' lon='6.11752699502' />
26 <node id='-102816' action='modify' visible='true' lat='52.414214159' lon='6.1161795221' />
27 <way id='-105066' action='modify' visible='true'>
28 <nd ref='-102815' />
29 <nd ref='-102816' />
30 <nd ref='-102792' />
31 <nd ref='-102793' />
32 <nd ref='-102794' />
33 <nd ref='-102795' />
34 <nd ref='-102796' />
35 <nd ref='-102797' />
36 <nd ref='-102798' />
37 <nd ref='-102799' />
38 <nd ref='-102800' />
39 <nd ref='-102801' />
40 <nd ref='-102802' />
41 <nd ref='-102803' />
42 <nd ref='-102804' />
43 <nd ref='-102805' />
44 <nd ref='-102806' />
45 </way>
46 <way id='-105111' action='modify' visible='true'>
47 <nd ref='-102806' />
48 <nd ref='-102807' />
49 <nd ref='-102808' />
50 <nd ref='-102809' />
51 <nd ref='-102810' />
52 <nd ref='-102811' />
53 <nd ref='-102813' />
54 <nd ref='-102814' />
55 <nd ref='-102815' />
56 </way>
57 <way id='-105213' action='modify' visible='true'>
58 <nd ref='-102811' />
59 <nd ref='-102803' />
60 </way>
61 <relation id='-99790' action='modify' visible='true'>
62 <member type='way' ref='-105111' role='outer' />
63 <member type='way' ref='-105066' role='outer' />
64 <tag k='natural' v='wood' />
65 <tag k='type' v='multipolygon' />
66 </relation>
67</osm>