source: josm/trunk/test/data/regress/13165/13165.osm@ 15959

Last change on this file since 15959 was 15959, checked in by GerdP, 4 years ago

fix #13165 Validator did not warn about overlapping multipolygons

  • let CrossingFinder accept multipolygons
  • improve highlighting of overlapping areas
  • if incomplete multipolygons are tested the area calculation is used unless open ends are found, else the same algortihm as in CrossingWays is used to hilite the crossing segments. In the later case overlaps with shared nodes are not (yet) found.
File size: 4.2 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' upload='never' generator='JOSM'>
3 <node id='-59050' action='modify' visible='true' lat='-28.84554096518' lon='28.12137065786' />
4 <node id='-59052' action='modify' visible='true' lat='-28.84580879756' lon='28.12075374978' />
5 <node id='-59054' action='modify' visible='true' lat='-28.84715264786' lon='28.12046943563' />
6 <node id='-59056' action='modify' visible='true' lat='-28.84739698242' lon='28.12186418432' />
7 <node id='-59058' action='modify' visible='true' lat='-28.84584168921' lon='28.12176762479' />
8 <node id='-59060' action='modify' visible='true' lat='-28.84745806597' lon='28.12080202955' />
9 <node id='-59062' action='modify' visible='true' lat='-28.84788095109' lon='28.1220680322' />
10 <node id='-59064' action='modify' visible='true' lat='-28.84637265295' lon='28.12277077096' />
11 <node id='-59066' visible='true' lat='-28.84598265329' lon='28.12451152461' />
12 <node id='-59068' visible='true' lat='-28.84759902786' lon='28.12354592937' />
13 <node id='-59070' visible='true' lat='-28.84802191241' lon='28.12481193202' />
14 <node id='-59072' visible='true' lat='-28.84651361632' lon='28.12551467078' />
15 <node id='-59074' visible='true' lat='-28.84568192967' lon='28.12411455768' />
16 <node id='-59076' visible='true' lat='-28.84594976169' lon='28.12349764961' />
17 <node id='-59078' visible='true' lat='-28.84729361018' lon='28.12321333545' />
18 <node id='-59080' visible='true' lat='-28.8475379444' lon='28.12460808414' />
19 <node id='-59117' visible='true' lat='-28.84782221715' lon='28.12765641469' />
20 <node id='-59118' visible='true' lat='-28.84788330044' lon='28.12659425992' />
21 <node id='-59119' visible='true' lat='-28.8475778836' lon='28.126261666' />
22 <node id='-59120' visible='true' lat='-28.84626693029' lon='28.12755985516' />
23 <node id='-59121' visible='true' lat='-28.84679789187' lon='28.12856300133' />
24 <node id='-59122' visible='true' lat='-28.84830618384' lon='28.12786026257' />
25 <node id='-59123' visible='true' lat='-28.84623403878' lon='28.12654598016' />
26 <node id='-59124' visible='true' lat='-28.84596620749' lon='28.12716288823' />
27 <way id='-59082' action='modify' visible='true'>
28 <nd ref='-59050' />
29 <nd ref='-59052' />
30 <nd ref='-59054' />
31 <nd ref='-59056' />
32 <nd ref='-59050' />
33 <tag k='landuse' v='farmland' />
34 </way>
35 <way id='-59084' action='modify' visible='true'>
36 <nd ref='-59058' />
37 <nd ref='-59060' />
38 <nd ref='-59062' />
39 <nd ref='-59064' />
40 <nd ref='-59058' />
41 <tag k='landuse' v='farmland' />
42 </way>
43 <way id='-59086' action='modify' visible='true'>
44 <nd ref='-59066' />
45 <nd ref='-59068' />
46 <nd ref='-59070' />
47 </way>
48 <way id='-59088' visible='true'>
49 <nd ref='-59074' />
50 <nd ref='-59076' />
51 <nd ref='-59078' />
52 <nd ref='-59080' />
53 <nd ref='-59074' />
54 <tag k='landuse' v='farmland' />
55 </way>
56 <way id='-59090' action='modify' visible='true'>
57 <nd ref='-59070' />
58 <nd ref='-59072' />
59 <nd ref='-59066' />
60 </way>
61 <way id='-59125' visible='true'>
62 <nd ref='-59120' />
63 <nd ref='-59118' />
64 <nd ref='-59122' />
65 </way>
66 <way id='-59126' visible='true'>
67 <nd ref='-59122' />
68 <nd ref='-59121' />
69 <nd ref='-59120' />
70 </way>
71 <way id='-59127' action='modify' visible='true'>
72 <nd ref='-59124' />
73 <nd ref='-59123' />
74 <nd ref='-59119' />
75 </way>
76 <way id='-59147' action='modify' visible='true'>
77 <nd ref='-59119' />
78 <nd ref='-59117' />
79 <nd ref='-59124' />
80 </way>
81 <relation id='-59092' action='modify' visible='true'>
82 <member type='way' ref='-59086' role='outer' />
83 <member type='way' ref='-59090' role='outer' />
84 <tag k='landuse' v='farmland' />
85 <tag k='type' v='multipolygon' />
86 </relation>
87 <relation id='-59153' action='modify' visible='true'>
88 <member type='way' ref='-59127' role='outer' />
89 <member type='way' ref='-59147' role='outer' />
90 <tag k='landuse' v='farmland' />
91 <tag k='type' v='multipolygon' />
92 </relation>
93 <relation id='-59215' action='modify' visible='true'>
94 <member type='way' ref='-59125' role='outer' />
95 <member type='way' ref='-59126' role='outer' />
96 <tag k='landuse' v='farmland' />
97 <tag k='type' v='multipolygon' />
98 </relation>
99</osm>
Note: See TracBrowser for help on using the repository browser.