<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText>I've not done much maxspeed tagging to date, for various
reasons, but the main one is that Map Features says that maxspeed should be in
km/h. Or more accurately looking at the history for the template for that
section [1], the original conversion stated:<o:p></o:p></p>
<p class=MsoPlainText>"{{{maxspeed:desc|Maximum speed, country-specific
units}}"<o:p></o:p></p>
<p class=MsoPlainText>And the revision 3 minutes later changed it to<o:p></o:p></p>
<p class=MsoPlainText>"{{{maxspeed:desc|Maximum speed in km/h}}}"<o:p></o:p></p>
<p class=MsoPlainText>With a description for the edit (from Pieren) of<o:p></o:p></p>
<p class=MsoPlainText>"(restore metrics text, although it should be
discussed)". I don’t know where to find the versions pre 2008 to find out
what it said on older versions.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I noticed that “should be discussed” note, but don’t know
where to look for that discussion. However, the decision to put in km/h has
made a mess of the maxspeed tagging on UK roads, especially as there is both a
conversion table in the wiki quoting whole numbers, and a multiplication factor
to use. See for example Tagwatch [2] where the most common maxspeed is 48,
followed by 30mph (the format I’ve been using), and lower down come 48.28,
48.28032, 48.27808 and 48.3. I’d also guess that the ways tagged as maxspeed=30
mean 30mph. If we had stayed with assumed country-specific units then the
tagging would have been more consistent, easier for the user to tag, and not
require a conversion to a random number of decimal places. <o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>The maplint mention in the message subject is because Map
Features defines the value for the maxspeed key as being a number, so any way I’ve
tagged as =30mph, 20mph, 10mph, national or 40mph (as I did for the first time
yesterday) gets highlighted in the maplint information, rendering it (no pun
intended) next to useless for checking other mistakes I may have made in the
tagging. <o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I have no suggestion what to do about either of these
situations though. I wouldn’t have been bothered at all if maplint hadn’t
suddenly started highlighting lots of ways in the area… I realise that that is
down to the word number in the wiki page causing the validation to fail with
the mph in the value. <o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Thinking about it I have a similar issue with maxheight.
Most of the signs these days I think quote in metres, but I tagged one the
other day as so many feet and inches (possibly 13’9” – I forget), as I tag what
is on the sign and not what a metric conversion is (to the centimetre, metre,
decimetre, millimetre?). It seems I’m not the only one [3].<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I suspect what I’d like most would be for maplint to recognise
that if the value contains valid units for whatever the key is (optional
units), then it wouldn’t highlight the way as in need of checking. I believe
maplint is common to both Mapnik and Osmarender (as it’s highlighting ways on
Mapnik which don’t yet show as I only added them yesterday), and I know how to
rebuild the not-in-map_features information as I did it recently to add some
keys that *<b>were</b>* in Map Features but not being recognised by the T@H
client when it generated the maplint tiles, but it would probably need the perl
code that creates the XML tweaking to cope with optional units in some way (a
bit like it currently doesn’t like * in the value column, IIRC, or “User
Defined”).<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>It’s raining here incidentally, which is why I thought I’d
rant on email instead of going out mapping a bit more of the area.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Ed<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>[1] <a
href="http://wiki.openstreetmap.org/index.php?title=Template%3AMap_Features%3Arestrictions&diff=73032&oldid=73031">http://wiki.openstreetmap.org/index.php?title=Template%3AMap_Features%3Arestrictions&diff=73032&oldid=73031</a><o:p></o:p></p>
<p class=MsoPlainText>[2] <a
href="http://tagwatch.stoecker.eu/Great_britain/En/keystats_maxspeed.html">http://tagwatch.stoecker.eu/Great_britain/En/keystats_maxspeed.html</a><o:p></o:p></p>
<p class=MsoPlainText>[3] <a
href="http://tagwatch.stoecker.eu/Great_britain/En/keystats_maxheight.html">http://tagwatch.stoecker.eu/Great_britain/En/keystats_maxheight.html</a><o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
</div>
</body>
</html>