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