<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Gerd,</div>
<div> </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> </div>
<div>Manfred</div>
<div>
<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> Montag, 20. Januar 2014 um 05:15 Uhr<br/>
<b>Von:</b> "Gerd Petermann" <gpetermann_muenchen@hotmail.com><br/>
<b>An:</b> "mkgmap-dev@lists.mkgmap.org.uk" <mkgmap-dev@lists.mkgmap.org.uk><br/>
<b>Betreff:</b> 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'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/>
<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/>
> > <<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>><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: <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/>
> > 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/>
> > <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br/>
> ><br/>
><br/>
> _______________________________________________<br/>
> mkgmap-dev mailing list<br/>
> mkgmap-dev@lists.mkgmap.org.uk<br/>
> <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>