User:EdLoach/Units

From OpenStreetMap Wiki
Jump to: navigation, search

Value Types

Speed

Speed - default units km/h. Used for keys such as maxspeed, minspeed

Units Convert to default multiplier Aliases Comment
mph 1.609 miles per hour
km/h 1 kph / kmph km per hour
knots 1.852 miles per hour

Measure

Measure - default units m. Used for keys such as maxwidth and maxheight

Units Convert to default multiplier Aliases Comment
m 1 metre / metres metres
feet/inches special - see description Feet and inches as used on older roadsigns in the UK (newer ones are marked in both metric and feet/inches - in this case it is suggested the metric value be used). The format is nn'mm" where nn is an integer number of feet and mm is an integer number of inches between 0 and 11. e.g. 12'0" or 16'6". Conversion to m is done by multiplying the feet by 12, adding the inches, then multiplying that result by 0.0254

Duration

Duration - default units hours. Used for keys such as maxstay

Units Convert to default multiplier Aliases Comment
hours 1 h / hour hours
minutes 0.01666 min / minute minutes
days 24 day days