source: josm/trunk/test/data/regress/21881/not_consecutive.osm@ 19270

Last change on this file since 19270 was 19062, checked in by GerdP, 8 months ago

fix #21881: Add a check for loops in directional waterways
Patch by gaben, slightly modified

  • implements Tarjan algorithm to find strongly connected components
  • new preference validator.CycleDetector.directionalWaterways contains the list of waterway values which should be checked
File size: 5.1 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' upload='false' generator='JOSM'>
3 <node id='6780376649' timestamp='2019-09-08T07:06:52Z' uid='10276652' user='Sululu' version='1' changeset='74219981' lat='47.1291095' lon='21.7230971' />
4 <node id='6855025163' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1287594' lon='21.7230679' />
5 <node id='6855025164' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.128815' lon='21.7227853' />
6 <node id='6855025165' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1288229' lon='21.7226978' />
7 <node id='6855025166' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1288857' lon='21.7224701' />
8 <node id='6855025167' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1289508' lon='21.7222705' />
9 <node id='6855025168' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1289945' lon='21.722121' />
10 <node id='6855025169' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1292171' lon='21.7213232' />
11 <node id='6855025170' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1292377' lon='21.7212287' />
12 <node id='6855025171' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1290698' lon='21.7218512' />
13 <node id='6855025172' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1290536' lon='21.7219092' />
14 <node id='6855025173' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1292856' lon='21.7209623' />
15 <node id='6855025174' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1293064' lon='21.7208169' />
16 <node id='6855027686' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893' lat='47.1287994' lon='21.7228646' />
17 <node id='9044997814' timestamp='2021-08-29T10:38:07Z' uid='10276652' user='Sululu' version='1' changeset='110407049' lat='47.1290679' lon='21.7218579' />
18 <node id='9044997815' timestamp='2021-08-29T10:38:07Z' uid='10276652' user='Sululu' version='1' changeset='110407049' lat='47.1290555' lon='21.7219025' />
19 <way id='732065016' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893'>
20 <nd ref='6855025163' />
21 <nd ref='6855027686' />
22 <nd ref='6855025164' />
23 <tag k='layer' v='-1' />
24 <tag k='tunnel' v='culvert' />
25 <tag k='waterway' v='drain' />
26 </way>
27 <way id='732065017' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893'>
28 <nd ref='6855025164' />
29 <nd ref='6855025165' />
30 <nd ref='6855025166' />
31 <nd ref='6855025167' />
32 <tag k='waterway' v='drain' />
33 </way>
34 <way id='732065018' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893'>
35 <nd ref='6855025167' />
36 <nd ref='6855025168' />
37 <tag k='layer' v='-1' />
38 <tag k='tunnel' v='culvert' />
39 <tag k='waterway' v='drain' />
40 </way>
41 <way id='732065019' timestamp='2021-08-29T10:38:07Z' uid='10276652' user='Sululu' version='2' changeset='110407049'>
42 <nd ref='9044997814' />
43 <nd ref='6855025171' />
44 <nd ref='6855025169' />
45 <nd ref='6855025170' />
46 <tag k='waterway' v='drain' />
47 </way>
48 <way id='732065020' timestamp='2021-08-29T10:38:07Z' uid='10276652' user='Sululu' version='2' changeset='110407049'>
49 <nd ref='6855025171' />
50 <nd ref='9044997814' />
51 <nd ref='9044997815' />
52 <nd ref='6855025172' />
53 <tag k='layer' v='-1' />
54 <tag k='tunnel' v='culvert' />
55 <tag k='waterway' v='drain' />
56 </way>
57 <way id='732065021' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893'>
58 <nd ref='6855025170' />
59 <nd ref='6855025173' />
60 <nd ref='6855025174' />
61 <tag k='waterway' v='drain' />
62 </way>
63 <way id='732065024' timestamp='2019-10-06T10:17:31Z' uid='10276652' user='Sululu' version='1' changeset='75336893'>
64 <nd ref='6780376649' />
65 <nd ref='6855027686' />
66 <tag k='layer' v='-1' />
67 <tag k='tunnel' v='culvert' />
68 <tag k='waterway' v='drain' />
69 </way>
70 <way id='977512672' timestamp='2021-08-29T10:38:07Z' uid='10276652' user='Sululu' version='1' changeset='110407049'>
71 <nd ref='6855025168' />
72 <nd ref='6855025172' />
73 <nd ref='9044997815' />
74 <tag k='waterway' v='drain' />
75 </way>
76 <way id='977512673' timestamp='2021-08-29T10:38:07Z' uid='10276652' user='Sululu' version='1' changeset='110407049'>
77 <nd ref='9044997815' />
78 <nd ref='9044997814' />
79 <tag k='layer' v='-1' />
80 <tag k='tunnel' v='culvert' />
81 <tag k='waterway' v='drain' />
82 </way>
83</osm>
Note: See TracBrowser for help on using the repository browser.