source: josm/trunk/test/data/regress/18385/data.osm

Last change on this file was 15555, checked in by GerdP, 5 years ago

fix #18385: Combine way action may remove parts of the ways

  • Count all edges that are added to the graph, even if they are rejected because they are duplicates.
  • add new method buildSpanningPathNoRemove() which returns null if any duplicate edge was found

and use this method in CombineWayAction

File size: 2.0 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.6' generator='JOSM'>
3 <node id='-122635' action='modify' visible='true' lat='52.66926046073' lon='12.21392505729' />
4 <node id='-122637' action='modify' visible='true' lat='52.55051305295' lon='13.09798864018' />
5 <node id='-122639' action='modify' visible='true' lat='52.61734809138' lon='13.4565029042' />
6 <node id='-122641' action='modify' visible='true' lat='52.3991399431' lon='13.68057431922' />
7 <node id='-122643' action='modify' visible='true' lat='53.1825599038' lon='11.54578483796' />
8 <node id='-122645' action='modify' visible='true' lat='53.27036137055' lon='13.39946654402' />
9 <node id='-122647' action='modify' visible='true' lat='53.5302652224' lon='13.87612755415' />
10 <node id='-122649' action='modify' visible='true' lat='53.34582398928' lon='14.5035275162' />
11 <node id='-122651' action='modify' visible='true' lat='52.12985665416' lon='14.73167295694' />
12 <node id='-122653' action='modify' visible='true' lat='51.97954756913' lon='12.48688478104' />
13 <node id='-122655' action='modify' visible='true' lat='52.40908200502' lon='13.08169253727' />
14 <node id='-122657' action='modify' visible='true' lat='52.24974002702' lon='13.5746496503' />
15 <node id='-122659' action='modify' visible='true' lat='51.40375250434' lon='13.20798733482' />
16 <node id='-122661' action='modify' visible='true' lat='51.58384268627' lon='14.68278464821' />
17 <way id='-122662' action='modify' visible='true'>
18 <nd ref='-122651' />
19 <nd ref='-122649' />
20 <nd ref='-122647' />
21 <nd ref='-122645' />
22 <nd ref='-122643' />
23 <nd ref='-122635' />
24 <nd ref='-122637' />
25 <nd ref='-122639' />
26 <nd ref='-122641' />
27 </way>
28 <way id='-122663' action='modify' visible='true'>
29 <nd ref='-122641' />
30 <nd ref='-122657' />
31 <nd ref='-122655' />
32 <nd ref='-122637' />
33 <nd ref='-122635' />
34 <nd ref='-122653' />
35 <nd ref='-122659' />
36 <nd ref='-122661' />
37 <nd ref='-122651' />
38 </way>
39</osm>
Note: See TracBrowser for help on using the repository browser.