<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Gerd,</div>

<div>&nbsp;</div>

<div>a quick test looks ok for me. The values in DPSMapEdit seem to be ok.</div>

<div>Thank you very much</div>

<div>&nbsp;</div>

<div>Manfred</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Montag, 20. Januar 2014 um 05:15 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Gerd Petermann&quot; &lt;gpetermann_muenchen@hotmail.com&gt;<br/>
<b>An:</b>&nbsp;&quot;mkgmap-dev@lists.mkgmap.org.uk&quot; &lt;mkgmap-dev@lists.mkgmap.org.uk&gt;<br/>
<b>Betreff:</b>&nbsp;Re: [mkgmap-dev] Weird road speed</div>

<div name="quoted-content"><!--*.hmmessage P {
        margin: 0.0px;
        padding: 0.0px;
}
body.hmmessage {
        font-size: 12.0pt;
        font-family: Calibri;
}
-->
<div class="hmmessage">
<div>Hi all,<br/>
<br/>
I&#39;ve committed r2979 with the roadspeed-v1.patch.<br/>
It fixes the reported problem, at least MapSource calculates<br/>
a reasonable travel time again.<br/>
GPSMapEdit still shows weird values, so I assume that<br/>
there are differences in the img parsing algos which explain that.<br/>
<br/>
I&#39;d like to do the change regarding copies of GType after the merge<br/>
of the high-prec-coord branch.<br/>
<br/>
Gerd<br/>
&nbsp;
<div>&gt; Date: Sun, 19 Jan 2014 21:41:52 +0100<br/>
&gt; From: wmgcnfg@web.de<br/>
&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br/>
&gt; Subject: Re: [mkgmap-dev] Weird road speed<br/>
&gt;<br/>
&gt; Hi,<br/>
&gt;<br/>
&gt; I haven&#39;t tested your patch. Copying the GType before postConvertRules()<br/>
&gt; is required - that&#39;s a must to change.<br/>
&gt;<br/>
&gt; The strange thing is that I could reproduce the problem with r2814<br/>
&gt; (which is the version before merging the reduce-limits-branch).<br/>
&gt; So the bug is in there for a long time and should have nothing to do<br/>
&gt; with manipulating the GType objects.<br/>
&gt;<br/>
&gt; My personal guess is that it&#39;s a problem in writing the img format. But<br/>
&gt; that&#39;s only a very big guess...<br/>
&gt;<br/>
&gt; WanMil<br/>
&gt;<br/>
&gt;<br/>
&gt; &gt; Hi,<br/>
&gt; &gt;<br/>
&gt; &gt; attached is a patch that shows what I&#39;d prefer. Can&#39;t test it now.<br/>
&gt; &gt;<br/>
&gt; &gt; Gerd<br/>
&gt; &gt; roadspeed-v1.patch<br/>
&gt; &gt; &lt;<a href="http://gis.19327.n5.nabble.com/file/n5793644/roadspeed-v1.patch" target="_blank">http://gis.19327.n5.nabble.com/file/n5793644/roadspeed-v1.patch</a>&gt;<br/>
&gt; &gt;<br/>
&gt; &gt;<br/>
&gt; &gt; GerdP wrote<br/>
&gt; &gt;&gt;<br/>
&gt; &gt;&gt; WanMil wrote<br/>
&gt; &gt;&gt;&gt; I added<br/>
&gt; &gt;&gt;&gt; type = new GType(type);<br/>
&gt; &gt;&gt;&gt; at line 202 but this didn&#39;t change the overall result. So it seems not<br/>
&gt; &gt;&gt;&gt; to be the only problem.<br/>
&gt; &gt;&gt; hmm, is it possible that this line has no effect?<br/>
&gt; &gt;&gt;<br/>
&gt; &gt;&gt; Please try something like<br/>
&gt; &gt;&gt; GType typeCopy = new GType(type);<br/>
&gt; &gt;&gt;<br/>
&gt; &gt;&gt; Gerd<br/>
&gt; &gt;<br/>
&gt; &gt;<br/>
&gt; &gt;<br/>
&gt; &gt;<br/>
&gt; &gt;<br/>
&gt; &gt; --<br/>
&gt; &gt; View this message in context: <a href="http://gis.19327.n5.nabble.com/Weird-road-speed-tp5793614p5793644.html" target="_blank">http://gis.19327.n5.nabble.com/Weird-road-speed-tp5793614p5793644.html</a><br/>
&gt; &gt; Sent from the Mkgmap Development mailing list archive at Nabble.com.<br/>
&gt; &gt; _______________________________________________<br/>
&gt; &gt; mkgmap-dev mailing list<br/>
&gt; &gt; mkgmap-dev@lists.mkgmap.org.uk<br/>
&gt; &gt; <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br/>
&gt; &gt;<br/>
&gt;<br/>
&gt; _______________________________________________<br/>
&gt; mkgmap-dev mailing list<br/>
&gt; mkgmap-dev@lists.mkgmap.org.uk<br/>
&gt; <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</div>
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</div>
</div>
</div>
</div></div></body></html>