| 1 |
|
| 2 |
WAY |
| 3 |
highway=primary |
| 4 |
maxspeed=60 |
| 5 |
|
| 6 |
WAY 2 |
| 7 |
highway=primary |
| 8 |
maxspeed:forward=30 |
| 9 |
|
| 10 |
WAY 3 |
| 11 |
highway=primary |
| 12 |
maxspeed:backward=20 |
| 13 |
|
| 14 |
WAY 4 |
| 15 |
highway=primary |
| 16 |
maxspeed=30 |
| 17 |
maxspeed:forward=32 |
| 18 |
|
| 19 |
WAY 5 |
| 20 |
highway=primary |
| 21 |
maxspeed=30 |
| 22 |
maxspeed:forward=28 |
| 23 |
|
| 24 |
WAY 6 |
| 25 |
highway=primary |
| 26 |
maxspeed=30 |
| 27 |
maxspeed:backward=32 |
| 28 |
|
| 29 |
WAY 7 |
| 30 |
highway=primary |
| 31 |
maxspeed=30 |
| 32 |
maxspeed:backward=28 |
| 33 |
|
| 34 |
WAY 8 |
| 35 |
highway=primary |
| 36 |
maxspeed=30 |
| 37 |
maxspeed:forward=26 |
| 38 |
maxspeed:backward=27 |
| 39 |
|
| 40 |
WAY 9 |
| 41 |
highway=primary |
| 42 |
maxspeed:forward=26 |
| 43 |
maxspeed:backward=27 |
| 44 |
|
| 45 |
WAY 10 |
| 46 |
highway=secondary |
| 47 |
test=2 |
| 48 |
test1=1 |
| 49 |
test2=2 |
| 50 |
name=fred |
| 51 |
|
| 52 |
WAY 11 |
| 53 |
highway=secondary |
| 54 |
test=2 |
| 55 |
name=fred |
| 56 |
|
| 57 |
WAY 12 |
| 58 |
highway=secondary |
| 59 |
test=2 |
| 60 |
test1=10 |
| 61 |
name=fred |
| 62 |
|
| 63 |
WAY 14 |
| 64 |
highway=secondary |
| 65 |
test3=3 |
| 66 |
test1=1 |
| 67 |
name=fred |
| 68 |
|
| 69 |
<<<lines>>> |
| 70 |
maxspeed:forward=* & maxspeed!=* { set maxspeed='${maxspeed:forward}' } |
| 71 |
$maxspeed:forward < $maxspeed { set maxspeed='${maxspeed:forward}' } |
| 72 |
maxspeed:backward=* & maxspeed!=* { set maxspeed='${maxspeed:backward}' } |
| 73 |
maxspeed:backward < $maxspeed { set maxspeed='${maxspeed:backward}' } |
| 74 |
|
| 75 |
highway=primary {name '${maxspeed}' } [0x1] |
| 76 |
|
| 77 |
|
| 78 |
test=test1 { name 'wrong' } |
| 79 |
test=test2 { name 'wrong' } |
| 80 |
test=$test1 { name 'wrong' } |
| 81 |
test=$test2 { name 'ok' } |
| 82 |
$test1 < $test2 { set ref=A2 } |
| 83 |
$test1 > 4 { set ref=A4 } |
| 84 |
test1=* & test3 > test1 { set ref=A99} |
| 85 |
highway=secondary [0x2] |
| 86 |
|
| 87 |
<finalize> |
| 88 |
name=* { name '${name}' } |
| 89 |
ref=* { addlabel '${ref}' } |
| 90 |
|
| 91 |
<<<results>>> |
| 92 |
WAY 1: Line 0x1, labels=[60, null, null, null], res=24-24 (1/1),(2/2), |
| 93 |
WAY 2: Line 0x1, labels=[30, null, null, null], res=24-24 (1/1),(2/2), |
| 94 |
WAY 3: Line 0x1, labels=[20, null, null, null], res=24-24 (1/1),(2/2), |
| 95 |
WAY 4: Line 0x1, labels=[30, null, null, null], res=24-24 (1/1),(2/2), |
| 96 |
WAY 5: Line 0x1, labels=[28, null, null, null], res=24-24 (1/1),(2/2), |
| 97 |
WAY 6: Line 0x1, labels=[30, null, null, null], res=24-24 (1/1),(2/2), |
| 98 |
WAY 7: Line 0x1, labels=[28, null, null, null], res=24-24 (1/1),(2/2), |
| 99 |
WAY 8: Line 0x1, labels=[26, null, null, null], res=24-24 (1/1),(2/2), |
| 100 |
WAY 9: Line 0x1, labels=[26, null, null, null], res=24-24 (1/1),(2/2), |
| 101 |
WAY 10: Line 0x2, labels=[ok, A2, null, null], res=24-24 (1/1),(2/2), |
| 102 |
WAY 11: Line 0x2, labels=[fred, null, null, null], res=24-24 (1/1),(2/2), |
| 103 |
WAY 12: Line 0x2, labels=[fred, A4, null, null], res=24-24 (1/1),(2/2), |
| 104 |
WAY 14: Line 0x2, labels=[fred, A99, null, null], res=24-24 (1/1),(2/2), |