logo separator

[mkgmap-dev] java.lang.AssertionError: deltaLong = -37306

From Felix Hartmann extremecarver at googlemail.com on Mon Nov 9 10:05:48 GMT 2009


Mark Burton wrote:
> Hi Felix,
>
> Please try the attached patch and see if it fixes the problem.
>
> The patch fools with the way splitting code a bit so please check it doesn't
> screw anything else.
>
> That's it for tonight!
>
> Cheers,
>
> Mark
>   
I found out more about this error when I tried to compile Asia with 
default style-file (the difference is however that with default 
style-file it carries on, while with my style-file it stops further 
processing on the same line - maybe this is related to the "continue" patch.
Here is the log with default style-file (it carries on and throws many 
more of theese error) - and below with my style-file where it drops out 
- your patch is already applied:

SCHWERWIEGEND (Polyline): Problem writing line of type 0x1c containing 
13 points and starting at 
http://www.openstreetmap.org/?lat=45.06564&lon=38.70166&zoom=17
SCHWERWIEGEND (Polyline): Subdivision shift is 0 and its centre is at 
http://www.openstreetmap.org/?lat=45.02590&lon=39.62644&zoom=17
*java.lang.AssertionError: deltaLong = -43098*
       at 
uk.me.parabola.imgfmt.app.trergn.MapObject.setDeltaLong(MapObject.java:136)
       at 
uk.me.parabola.imgfmt.app.trergn.MapObject.setLongitude(MapObject.java:125)
       at 
uk.me.parabola.imgfmt.app.trergn.LinePreparer.calcLatLong(LinePreparer.java:176)
       at 
uk.me.parabola.imgfmt.app.trergn.LinePreparer.<init>(LinePreparer.java:62)
       at uk.me.parabola.imgfmt.app.trergn.Polyline.write(Polyline.java:86)
       at 
uk.me.parabola.imgfmt.app.trergn.RGNFile.addMapObject(RGNFile.java:140)
       at uk.me.parabola.imgfmt.app.map.Map.addMapObject(Map.java:242)
       at 
uk.me.parabola.mkgmap.build.MapBuilder$LineAddFilter.doFilter(MapBuilder.java:1002)
       at 
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
       at 
uk.me.parabola.mkgmap.filters.RemoveEmpty.doFilter(RemoveEmpty.java:61)
       at 
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
       at 
uk.me.parabola.mkgmap.filters.LineSplitterFilter.doFilter(LineSplitterFilter.java:60)
       at 
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
       at 
uk.me.parabola.mkgmap.build.LayerFilterChain.startFilter(LayerFilterChain.java:75)
       at 
uk.me.parabola.mkgmap.build.MapBuilder.processLines(MapBuilder.java:862)
       at 
uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:643)
       at 
uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:578)
       at 
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:187)
       at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96)
       at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
       at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:190)
       at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:188)
       at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
       at java.util.concurrent.FutureTask.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)

*

This is the log for Asia with my style-file:*

SCHWERWIEGEND (LineSplitterFilter): Way (?????? 
?????????-?????????-?????-???, 
http://www.openstreetmap.org/browse/way/33706618) has a max dimension of 
32767 and is about to be split (routing will be broken)
SCHWERWIEGEND (LineSplitterFilter): Way (?????? 
?????????-?????????-?????-???, 
http://www.openstreetmap.org/browse/way/33706618) has a max dimension of 
32767 and is about to be split (routing will be broken)
SCHWERWIEGEND (LineSplitterFilter): Way (?????? 
?????????-?????????-?????-???, 
http://www.openstreetmap.org/browse/way/33706618) has a max dimension of 
32767 and is about to be split (routing will be broken)
SCHWERWIEGEND (LineSplitterFilter): Way (?????? 
?????????-?????????-?????-???, 
http://www.openstreetmap.org/browse/way/33706618) has a max dimension of 
32767 and is about to be split (routing will be broken)
SCHWERWIEGEND (LineSplitterFilter): Way (?????? 
?????????-?????????-?????-???, 
http://www.openstreetmap.org/browse/way/33706618) has a max dimension of 
32767 and is about to be split (routing will be broken)
*java.lang.AssertionError: deltaLong = -43098*
        at 
uk.me.parabola.imgfmt.app.trergn.MapObject.setDeltaLong(MapObject.java:136)
        at 
uk.me.parabola.imgfmt.app.trergn.MapObject.setLongitude(MapObject.java:125)
        at 
uk.me.parabola.imgfmt.app.trergn.LinePreparer.calcLatLong(LinePreparer.java:176)
        at 
uk.me.parabola.imgfmt.app.trergn.LinePreparer.<init>(LinePreparer.java:62)
        at 
uk.me.parabola.imgfmt.app.trergn.Polyline.write(Polyline.java:165)
        at 
uk.me.parabola.imgfmt.app.trergn.RGNFile.addMapObject(RGNFile.java:130)
        at uk.me.parabola.imgfmt.app.map.Map.addMapObject(Map.java:242)
        at 
uk.me.parabola.mkgmap.build.MapBuilder$LineAddFilter.doFilter(MapBuilder.java:1002)
        at 
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
        at 
uk.me.parabola.mkgmap.filters.RemoveEmpty.doFilter(RemoveEmpty.java:61)
        at 
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
        at 
uk.me.parabola.mkgmap.filters.LineSplitterFilter.doFilter(LineSplitterFilter.java:60)
        at 
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
        at 
uk.me.parabola.mkgmap.build.LayerFilterChain.startFilter(LayerFilterChain.java:75)
        at 
uk.me.parabola.mkgmap.build.MapBuilder.processLines(MapBuilder.java:862)
        at 
uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:643)
        at 
uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:578)
        at 
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:187)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:190)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:188)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
        at java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going option
> ------------------------------------------------------------------------
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091109/98b550f5/attachment.html 


More information about the mkgmap-dev mailing list