source: subversion/applications/rendering/osmarender/testdata/lock.osm @ 18199

Last change on this file since 18199 was 18199, checked in by petschge, 11 years ago

Add rendering for nodes in waterways with lock=yes and ways with
lock=yes. Rendering assumes that the waterway is oriented along the
direction of flow. Fixes #1530.
Adds a small file for testing too.

File size: 3.3 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<osm version='0.5' generator='JOSM'>
3  <bounds minlat='0.0' minlon='0.0' maxlat='0.025' maxlon='0.025' origin='petschge' />
4  <node id='-1' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.010486577455402536' lon='0.012520973155027914' />
5  <node id='-2' timestamp='2009-10-17T11:16:25Z' user='petschge' visible='true' lat='0.0' lon='0.025' />
6  <node id='-3' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.007843959955930211' lon='0.012646812085195384' />
7  <node id='-4' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.01862416133680968' lon='0.012562919465083736' />
8  <node id='-5' action='modify' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.005662751848310787' lon='0.012646812085195384'>
9    <tag k='lock' v='yes' />
10  </node>
11  <node id='-6' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.0024161074870470913' lon='0.012588087370107866' />
12  <node id='-7' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.0032298658725814283' lon='0.01260486577513956' />
13  <node id='-8' timestamp='2009-10-17T11:16:25Z' user='petschge' visible='true' lat='0.0' lon='0.0' />
14  <node id='-9' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.021476510245660302' lon='0.012562919465083736' />
15  <node id='-10' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.01350671171287028' lon='0.012646812085195384' />
16  <node id='-11' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.016149329157656583' lon='0.012353187914804617' />
17  <node id='-12' action='modify' visible='true' lat='0.014874773032169934' lon='0.01258284091171952' />
18  <node id='-13' visible='true' lat='0.0023158540862319205' lon='0.018683231688072576' />
19  <node id='-14' visible='true' lat='0.006888327923633324' lon='0.018631271757920707' />
20  <node id='-15' action='modify' visible='true' lat='0.004706010868549704' lon='0.018735191618224446'>
21    <tag k='lock' v='yes' />
22  </node>
23  <node id='-16' timestamp='2009-10-17T11:16:25Z' user='petschge' visible='true' lat='0.025' lon='0.0' />
24  <node id='-17' timestamp='2009-10-17T11:16:25Z' user='petschge' visible='true' lat='0.025' lon='0.025' />
25  <node id='-18' timestamp='2009-10-17T11:16:25Z' visible='true' lat='0.022416107493419126' lon='0.012588087370107866' />
26  <way id='-19' action='modify' timestamp='2009-10-17T12:16:47Z' visible='true'>
27    <nd ref='-11' />
28    <nd ref='-12' />
29    <nd ref='-10' />
30    <tag k='lock' v='yes' />
31    <tag k='waterway' v='river' />
32  </way>
33  <way id='-20' timestamp='2009-10-17T11:16:25Z' user='petschge' visible='true'>
34    <nd ref='-8' />
35    <nd ref='-16' />
36    <tag k='highway' v='residential' />
37  </way>
38  <way id='-21' action='modify' timestamp='2009-10-17T12:16:47Z' visible='true'>
39    <nd ref='-10' />
40    <nd ref='-1' />
41    <nd ref='-3' />
42    <nd ref='-5' />
43    <nd ref='-7' />
44    <nd ref='-6' />
45    <nd ref='-13' />
46    <nd ref='-15' />
47    <nd ref='-14' />
48    <tag k='waterway' v='river' />
49  </way>
50  <way id='-22' action='modify' timestamp='2009-10-17T11:16:25Z' visible='true'>
51    <nd ref='-18' />
52    <nd ref='-9' />
53    <nd ref='-4' />
54    <nd ref='-11' />
55    <tag k='waterway' v='river' />
56  </way>
57  <way id='-23' timestamp='2009-10-17T11:16:25Z' user='petschge' visible='true'>
58    <nd ref='-2' />
59    <nd ref='-17' />
60    <tag k='highway' v='residential' />
61  </way>
62</osm>
Note: See TracBrowser for help on using the repository browser.