source: josm/trunk/test/data/regress/18106/uncon3.osm@ 15883

Last change on this file since 15883 was 15335, checked in by GerdP, 5 years ago

fix #18051 and #18106
This is more or less a rewrite of the code, I hope I didn't introduce too many new problems.

  • always consider all ways with matching tag when calculating unconnected nodes
  • for partial tests filter the calculated errors (this means a small additional delay for this test when uploading data)
  • fix recursion problem in isConnectedTo so that it doesn't stop too early
  • remove code which excluded eg. ways with highway=cycleway + railway=abandoned or waterway=river + boundary=administrative
  • improve performance, esp. use HashSet when calculating types of nodes in method addNode() and QuadBuckets only when searching is done. Together with other changes this reduces runtime by ~50%, so I hope the delay for the upload is not too high.
File size: 1.4 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' generator='JOSM'>
3 <node id='-151993' action='modify' visible='true' lat='-6.37298855155' lon='-89.28101090197' />
4 <node id='-151995' action='modify' visible='true' lat='-6.37284430385' lon='-89.28088730653' />
5 <node id='-151997' action='modify' visible='true' lat='-6.37284794506' lon='-89.28088216792' />
6 <node id='-151999' action='modify' visible='true' lat='-6.37289236259' lon='-89.28092848459' />
7 <node id='-152001' action='modify' visible='true' lat='-6.37289741983' lon='-89.28092204994' />
8 <node id='-152003' action='modify' visible='true' lat='-6.37287761379' lon='-89.28089921398' />
9 <node id='-152005' action='modify' visible='true' lat='-6.37289334962' lon='-89.28090860684' />
10 <node id='-152269' action='modify' visible='true' lat='-6.37297269834' lon='-89.28099731849' />
11 <way id='-152203' action='modify' visible='true'>
12 <nd ref='-151993' />
13 <nd ref='-152269' />
14 <nd ref='-151999' />
15 <nd ref='-151995' />
16 <tag k='highway' v='residential' />
17 </way>
18 <way id='-152204' action='modify' visible='true'>
19 <nd ref='-151999' />
20 <nd ref='-152001' />
21 <nd ref='-152005' />
22 <tag k='highway' v='footway' />
23 </way>
24 <way id='-152208' action='modify' visible='true'>
25 <nd ref='-152005' />
26 <nd ref='-152003' />
27 <nd ref='-151997' />
28 <tag k='highway' v='footway' />
29 </way>
30</osm>
Note: See TracBrowser for help on using the repository browser.