<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>I think the java code works as documented in the style manual.<br><br>A possible solution in the style:<br>Add the following two lines at the end of inc/roadspeed:<br># make sure that mkgmap:road-speed is also set when mkgmap:road-speed-max is set&nbsp; <br>mkgmap:road-speed-max=* &amp; mkgmap:road-speed!=* { add mkgmap:road-speed=0}<br><br>Alternative:<br>Change the java code (and docu) to always evaluate mkgmap:road-speed-max (and -min) <br><br>Any comments?<br><br>Gerd<br><br><div><hr id="stopSpelling">From: gpetermann_muenchen@hotmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Fri, 14 Aug 2015 08:32:29 +0200<br>Subject: [mkgmap-dev] maxspeed evaluation<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hi all,<br><br>I think the rules in the default style don't work.<br>Example: a way with two tags <br>highway=tertiary and maxspeed=30<br>will have the same attributes as one with<br>highway=tertiary and maxspeed=70<br>or one with<br>highway=tertiary and maxspeed!=*<br>although inc/roadspeed sets different<br>values for mkgmap:road-speed-max.<br>Reason: <br>The tag mkgmap:road-speed-max=* is only evaluated<br>by mkgmap when the tag mkgmap:road-speed=*.<br>If mkgmap:road-speed is not set, the value in <br>mkgmap:road-speed-max is completely ignored.<br><br>I guess this is not intended?<br><br>Gerd<br>                                               </div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>