Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/src/test/super-or-not.osm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1846 - (show annotations) (download) (as text)
Fri Dec 18 15:13:15 2015 UTC (9 years, 3 months ago) by amb
File MIME type: application/vnd.openstreetmap.data+xml
File size: 4030 byte(s)
Fix a bug where the optimum end of the route was not being used
because the search was stopping at the first super-node that was part
of another possible end of the route.  Add to an existing test case.

1 <?xml version='1.0' encoding='UTF-8'?>
2 <osm version='0.6' upload='true' generator='JOSM'>
3 <node id='58' visible='true' version='1' lat='-0.21702848246' lon='-0.52738775364'>
4 <tag k='name' v='WP05b' />
5 </node>
6 <node id='157' visible='true' version='1' lat='-0.21702799565' lon='-0.52726101675'>
7 <tag k='name' v='WP04a' />
8 </node>
9 <node id='153' visible='true' version='1' lat='-0.21609707601' lon='-0.51589184508'>
10 <tag k='name' v='WP05a' />
11 </node>
12 <node id='150' visible='true' version='1' lat='-0.21603316931' lon='-0.51583828513'>
13 <tag k='name' v='WP04b' />
14 </node>
15 <node id='147' visible='true' version='1' lat='-0.21633389849' lon='-0.52287240312' />
16 <node id='144' visible='true' version='1' lat='-0.21721592819' lon='-0.52320999057' />
17 <node id='142' visible='true' version='1' lat='-0.21808340301' lon='-0.52354652897' />
18 <node id='140' visible='true' version='1' lat='-0.21803525152' lon='-0.52537629914' />
19 <node id='137' visible='true' version='1' lat='-0.21719656314' lon='-0.52555268966' />
20 <node id='135' visible='true' version='1' lat='-0.21625364598' lon='-0.52582571638' />
21 <node id='133' visible='true' version='1' lat='-0.21620549448' lon='-0.52755918286' />
22 <node id='130' visible='true' version='1' lat='-0.21717586593' lon='-0.52805654727' />
23 <node id='129' visible='true' version='1' lat='-0.21790684752' lon='-0.5284259161' />
24 <node id='38' visible='true' version='1' lat='-0.21586572948' lon='-0.51793076193'>
25 <tag k='name' v='WP03b' />
26 </node>
27 <node id='39' visible='true' version='1' lat='-0.21643524062' lon='-0.51851503617' />
28 <node id='40' visible='true' version='1' lat='-0.21645095963' lon='-0.51622073236' />
29 <node id='41' visible='true' version='1' lat='-0.21592984609' lon='-0.51682304808' />
30 <node id='42' visible='true' version='1' lat='-0.21724799057' lon='-0.51520643399' />
31 <node id='43' visible='true' version='1' lat='-0.21591849123' lon='-0.51906383592' />
32 <node id='44' visible='true' version='1' lat='-0.21594107925' lon='-0.51561058751' />
33 <node id='45' visible='true' version='1' lat='-0.217245462' lon='-0.5196371203'>
34 <tag k='name' v='WP03a' />
35 </node>
36 <node id='60' visible='true' version='1' lat='-0.21608467423' lon='-0.51873450905'>
37 <tag k='name' v='WP01a' />
38 </node>
39 <node id='64' visible='true' version='1' lat='-0.2162375644' lon='-0.51581298121'>
40 <tag k='name' v='WP01b' />
41 </node>
42 <node id='70' visible='true' version='1' lat='-0.21805621372' lon='-0.51499420762' />
43 <node id='72' visible='true' version='1' lat='-0.21797637812' lon='-0.51992953502' />
44 <node id='74' visible='true' version='1' lat='-0.21716998323' lon='-0.52876820995' />
45 <node id='77' visible='true' version='1' lat='-0.217214311' lon='-0.51415229882' />
46 <node id='82' visible='true' version='1' lat='-0.21646963011' lon='-0.51741191015' />
47 <node id='86' visible='true' version='1' lat='-0.21688045301' lon='-0.51518291131'>
48 <tag k='name' v='WP02b' />
49 </node>
50 <node id='340' visible='true' version='1' lat='-0.21686615104' lon='-0.51936231071'>
51 <tag k='name' v='WP02a' />
52 </node>
53 <way id='131' visible='true' version='1'>
54 <nd ref='129' />
55 <nd ref='130' />
56 <nd ref='133' />
57 <nd ref='135' />
58 <nd ref='137' />
59 <nd ref='140' />
60 <nd ref='142' />
61 <nd ref='144' />
62 <nd ref='147' />
63 <tag k='highway' v='unclassified' />
64 </way>
65 <way id='46' visible='true' version='1'>
66 <nd ref='72' />
67 <nd ref='45' />
68 <nd ref='43' />
69 <nd ref='39' />
70 <nd ref='38' />
71 <nd ref='82' />
72 <nd ref='41' />
73 <nd ref='40' />
74 <nd ref='44' />
75 <nd ref='42' />
76 <nd ref='70' />
77 <tag k='highway' v='residential' />
78 <tag k='name' v='Local road' />
79 </way>
80 <way id='75' visible='true' version='1'>
81 <nd ref='74' />
82 <nd ref='130' />
83 <nd ref='137' />
84 <nd ref='144' />
85 <nd ref='45' />
86 <nd ref='42' />
87 <nd ref='77' />
88 <tag k='highway' v='primary' />
89 <tag k='name' v='Main road' />
90 </way>
91 </osm>