logo separator

[mkgmap-dev] Error in branch

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Fri Feb 3 14:29:36 GMT 2017

Hi Gerd

Interesting - checking adjacent Coord for equality of appropriately
powerOf2 rounded highPrec gives different results from equivalent
rounding of Map precision values.

I've committed fix.

Ticker


On Fri, 2017-02-03 at 10:31 +0000, Ticker Berkin wrote:
> Hi Gerd
> 
> I'll check it out. My bounds.zip (&sea.zip) are quite old so I'll get
> the latest.
> 
> Ticker
> 
> On Fri, 2017-02-03 at 09:11 +0000, Gerd Petermann wrote:
> > Hi Ticket,
> > 
> > I found another problem in the branch which probably was introduced
> > with r3779 and still exists with r3782:
> > java.lang.AssertionError
> >         at
> > uk.me.parabola.imgfmt.app.net.RoadIndex.write(RoadIndex.java:45)
> >         at
> > uk.me.parabola.imgfmt.app.net.RoadDef.writeLevelDivs(RoadDef.java:3
> > 61
> > )
> >         at
> > uk.me.parabola.imgfmt.app.net.RoadDef.writeNet1(RoadDef.java:230)
> >         at
> > uk.me.parabola.imgfmt.app.net.NETFile.write(NETFile.java:66)
> >         at
> > uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:263)
> >         at
> > uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
> >         at
> > uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
> >         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:265)
> >         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:261)
> >         at java.util.concurrent.FutureTask.run(Unknown Source)
> >         at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> > Source)
> >         at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> > Source)
> >         at java.lang.Thread.run(Unknown Source)
> > 
> > See http://files.mkgmap.org.uk/download/331/63240003.osm.pbf
> > 
> > Needed options to reproduce the error with r3782:
> > java -ea -jar mkgmap.jar --link-pois-to-ways --route
> > 63240003.osm.pbf
> > 
> > For r3779 these options will not create a crash, but with options
> > --bounds=f:\osm\bounds.zip --route --link-pois-to-ways
> > I see it, too. My bounds.zip is quite new, it contains version.txt
> > wih content 20170103.
> > 
> > Gerd
> > _______________________________________________
> > mkgmap-dev mailing list
> > mkgmap-dev at lists.mkgmap.org.uk
> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list