logo separator

[mkgmap-dev] Error in branch

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Feb 3 15:55:19 GMT 2017

This is also important to know when it comes to insideness calculations with uk.me.parabola.imgfmt.app.Area .
I don't remember exactly why this is so, I once tried to change this and ran into even more problems.

Gerd


________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen at hotmail.com>
Gesendet: Freitag, 3. Februar 2017 16:30:55
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Error in branch

Hi Ticker,

yes, sometimes the WrongAngleFixer produces Coord instances were the
delta values are quite high. This might be the reason for the difference.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Freitag, 3. Februar 2017 15:29:36
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Error in branch

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
_______________________________________________
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