<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 Manfred,<br><br>Thanks for the quick feedback :-)<br>I think GPSMapEdit has problems with small maps produced by<br>mkgmap. It often claims that the map is not routable.<br>It seems to be related to the existence of route restrictions in the data,<br>but that is just a guess. <br><br>Gerd<br><br><div><hr id="stopSpelling">From: ManneB@gmx.net<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Mon, 20 Jan 2014 06:47:10 +0100<br>Subject: Re: [mkgmap-dev] Weird road speed<br><br><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 style="padding:10px 0 10px 10px;border-left:2px solid #C3D9E5;word-wrap:break-word;">
<div style=""><b>Gesendet:</b>&nbsp;Montag, 20. Januar 2014 um 05:15 Uhr<br>
<b>Von:</b>&nbsp;"Gerd Petermann" &lt;gpetermann_muenchen@hotmail.com&gt;<br>
<b>An:</b>&nbsp;"mkgmap-dev@lists.mkgmap.org.uk" &lt;mkgmap-dev@lists.mkgmap.org.uk&gt;<br>
<b>Betreff:</b>&nbsp;Re: [mkgmap-dev] Weird road speed</div>

<div>
<div class="ecxhmmessage">
<div>Hi all,<br>
<br>
I'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'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't tested your patch. Copying the GType before postConvertRules()<br>
&gt; is required - that'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's a problem in writing the img format. But<br>
&gt; that'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'd prefer. Can'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'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>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>