More Tricks
Platform Numbers
When you are catching a train it might be helpful to have your platforms clearly labelled.
Platform numbers are found in the 'ref' tag railway=platform & ref=1 Not all platforms are correctly tagged using 'ref' Platforms ,however, are a problem: Some are marked as a line, some as a polygon. |
|
Platforms with numbers |
Options with line platforms:
use the ref and show them like highway symbols, the way roads are tagged
Problem
Not all platforms are lines and some Garmin devices do not show highway:symbols, like Fenix watches!
Options with polygon platforms
use the ref and add a corresponding type number then show them using
mkgmap:area2poi=true
Possible Solution
To satisfy both line and polygon platforms it might be easier to give platforms an icon in a TYP file.
Problem
You may need a lot of extra icons
To reduce the number of icons you may want to limit refs to numbers only, not numbers and letters( 1a,2b etc)
In our example 0x12C1F is used to identify platforms not 'caught in the net'.
In your points file add the following
if (railway=platform ) then
railway=platform & ref=* {set name= '$(ref)'}
ref ~'1.*' & (mkgmap:line2poi=true & mkgmap:line2poitype=mid|mkgmap:area2poi=true) [0x12C14 resolution 24 ]
ref~'2.*'& (mkgmap:line2poi=true & mkgmap:line2poitype=mid|mkgmap:area2poi=true) [0x12C15 resolution 24 ]
#etc etc
ref=* & (mkgmap:line2poi=true & mkgmap:line2poitype=mid|mkgmap:area2poi=true) [0x12C1F resolution 24 ]
end
For the ambitious
To use just numbers and allow for 29 different platform numbers you can use TYPWiz 7 to double the canvas width size for numbers 0 to 9 and have two separate icons (1 and 2) to mark the tens then combine numbers for platforms >9