<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 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><br><div>> Date: Sun, 19 Jan 2014 21:41:52 +0100<br>> From: wmgcnfg@web.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Weird road speed<br>> <br>> Hi,<br>> <br>> I haven't tested your patch. Copying the GType before postConvertRules() <br>> is required - that's a must to change.<br>> <br>> The strange thing is that I could reproduce the problem with r2814 <br>> (which is the version before merging the reduce-limits-branch).<br>> So the bug is in there for a long time and should have nothing to do <br>> with manipulating the GType objects.<br>> <br>> My personal guess is that it's a problem in writing the img format. But <br>> that's only a very big guess...<br>> <br>> WanMil<br>> <br>> <br>> > Hi,<br>> ><br>> > attached is a patch that shows what I'd prefer. Can't test it now.<br>> ><br>> > Gerd<br>> > roadspeed-v1.patch<br>> > <http://gis.19327.n5.nabble.com/file/n5793644/roadspeed-v1.patch><br>> ><br>> ><br>> > GerdP wrote<br>> >><br>> >> WanMil wrote<br>> >>> I added<br>> >>>         type = new GType(type);<br>> >>> at line 202 but this didn't change the overall result. So it seems not<br>> >>> to be the only problem.<br>> >> hmm, is it possible that this line has no effect?<br>> >><br>> >> Please try something like<br>> >> GType typeCopy = new GType(type);<br>> >><br>> >> Gerd<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > --<br>> > View this message in context: http://gis.19327.n5.nabble.com/Weird-road-speed-tp5793614p5793644.html<br>> > Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>> > _______________________________________________<br>> > mkgmap-dev mailing list<br>> > mkgmap-dev@lists.mkgmap.org.uk<br>> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> ><br>> <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>