
20 Nov
2014
20 Nov
'14
11:13 p.m.
Version mkgmap-r3353 was committed by steve on Thu, 20 Nov 2014 Improve ConvertFilter. The patch allows for length conversions between m, km, mi, ft and speed conversions of km/h (kmh, kmph), mph, knots. New ones can easily be added. It will also take into account any unit that already exists. So for example if you have ${val|m=>ft} Then val will be assumed to be in meters if there is no unit. val=10 --> 33 if a unit is given, then it converts from that, so if already in feet the value will be unchanged. val=10ft --> 10 val=10km --> 32,808 If it can't work out what to do then the value is unchanged. http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2014q4/021995.html