Re: [mkgmap-dev] mkgmap Exception in thread "main" java.lang.AssertionError
Hey Steve, i patched mkgmap-r1923 with your last 3rd patch. The mkgmap run was clean and the generated gmapsupp file seems ok. Many thanks for your efforts, great work at all! greetings Michael Am 27.04.2011 20:24, schrieb Steve Ratcliffe: Hello Here is a new patch. I have reproduced the actual error you see on a gmapsupp of 1.2G. This patch fixes that and also the other cases I believe. The patch still has the debugging in. If it still fails, could you send me the output again. There is no need, for the purpose of testing the patch, to recompile everything. Just "mkgmap --gmapsupp 63*.img" or similar should do. Thanks, Best wishes ..Steve ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev Land: germany KFZ-Kennzeichen: D MAP-ID: 59 Splitter Version: /osm/splitter-r170/splitter.jar MkGmap Version: /osm/mkgmap-r1923/mkgmap.jar create header 512 create header 512 dir: header blocks(slots) 38 dir: headerBlocks 41 header blocks needed 1 dir: end slot 41 file size in blocks 8205 dir: header blocks(slots) 27 dir: headerBlocks 30 header blocks needed 1 dir: end slot 30 file size in blocks 5678 create header 512 create header 512 dir: header blocks(slots) 31 dir: headerBlocks 34 header blocks needed 1 dir: end slot 34 file size in blocks 6564 dir: header blocks(slots) 30 dir: headerBlocks 33 header blocks needed 1 dir: end slot 33 file size in blocks 6269 create header 512 dir: header blocks(slots) 43 dir: headerBlocks 46 header blocks needed 1 dir: end slot 46 file size in blocks 9397 create header 512 dir: header blocks(slots) 30 dir: headerBlocks 33 header blocks needed 1 dir: end slot 33 file size in blocks 6320 create header 512 dir: header blocks(slots) 14 dir: headerBlocks 17 header blocks needed 1 dir: end slot 17 file size in blocks 2362 create header 512 dir: header blocks(slots) 47 dir: headerBlocks 50 header blocks needed 1 dir: end slot 50 file size in blocks 10580 create header 512 dir: header blocks(slots) 20 dir: headerBlocks 23 header blocks needed 1 dir: end slot 23 file size in blocks 3824 create header 512 dir: header blocks(slots) 34 dir: headerBlocks 37 header blocks needed 1 dir: end slot 37 file size in blocks 7303 create header 512 dir: header blocks(slots) 21 dir: headerBlocks 24 header blocks needed 1 dir: end slot 24 file size in blocks 4106 create header 512 dir: header blocks(slots) 14 dir: headerBlocks 17 header blocks needed 1 dir: end slot 17 file size in blocks 2319 create header 512 dir: header blocks(slots) 32 dir: headerBlocks 35 header blocks needed 1 dir: end slot 35 file size in blocks 6742 create header 512 dir: header blocks(slots) 30 dir: headerBlocks 33 header blocks needed 1 dir: end slot 33 file size in blocks 6318 create header 512 dir: header blocks(slots) 13 dir: headerBlocks 16 header blocks needed 1 dir: end slot 16 file size in blocks 2314 create header 512 dir: header blocks(slots) 34 dir: headerBlocks 37 header blocks needed 1 dir: end slot 37 file size in blocks 6994 create header 512 dir: header blocks(slots) 13 dir: headerBlocks 16 header blocks needed 1 dir: end slot 16 file size in blocks 2111 create header 512 create header 512 dir: header blocks(slots) 46 dir: headerBlocks 49 header blocks needed 1 dir: end slot 49 file size in blocks 9838 dir: header blocks(slots) 49 dir: headerBlocks 52 header blocks needed 1 dir: end slot 52 file size in blocks 10975 create header 512 create header 512 dir: header blocks(slots) 24 dir: headerBlocks 27 header blocks needed 1 dir: end slot 27 file size in blocks 4683 dir: header blocks(slots) 60 dir: headerBlocks 63 header blocks needed 1 dir: end slot 63 file size in blocks 13495 create header 512 dir: header blocks(slots) 28 dir: headerBlocks 31 header blocks needed 1 dir: end slot 31 file size in blocks 6003 create header 512 dir: header blocks(slots) 21 dir: headerBlocks 24 header blocks needed 1 dir: end slot 24 file size in blocks 4082 create header 512 dir: header blocks(slots) 34 dir: headerBlocks 37 header blocks needed 1 dir: end slot 37 file size in blocks 7332 create header 512 dir: header blocks(slots) 19 dir: headerBlocks 22 header blocks needed 1 dir: end slot 22 file size in blocks 3586 create header 512 dir: header blocks(slots) 43 dir: headerBlocks 46 header blocks needed 1 dir: end slot 46 file size in blocks 9517 create header 512 dir: header blocks(slots) 38 dir: headerBlocks 41 header blocks needed 1 dir: end slot 41 file size in blocks 8334 create header 512 dir: header blocks(slots) 35 dir: headerBlocks 38 header blocks needed 1 dir: end slot 38 file size in blocks 7551 create header 512 create header 512 dir: header blocks(slots) 17 dir: headerBlocks 20 header blocks needed 1 dir: end slot 20 file size in blocks 2971 dir: header blocks(slots) 32 dir: headerBlocks 35 header blocks needed 1 dir: end slot 35 file size in blocks 7076 create header 512 dir: header block
Re: [mkgmap-dev] mkgmap Exception in thread "main" java.lang.AssertionError
dear Steve, here is the output from your debug messages. Please have a look to them. cheers Michael Am 25.04.2011 17:16, schrieb Steve Ratcliffe: I have another patch. It may not fix your problem (although it does, at least, fix a different problem - one however that I don't believe has ever been reported). And here it is attached... ..Steve ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev Land: germany KFZ-Kennzeichen: D MAP-ID: 59 Splitter Version: /osm/splitter-r170/splitter.jar MkGmap Version: /osm/mkgmap-r1923/mkgmap.jar create header 512 create header 512 dir: header blocks(slots) 27 header blocks needed 1 dir: end slot 30 file size in blocks 5678 dir: header blocks(slots) 38 header blocks needed 1 dir: end slot 41 file size in blocks 8205 create header 512 dir: header blocks(slots) 31 header blocks needed 1 dir: end slot 34 file size in blocks 6564 create header 512 dir: header blocks(slots) 30 header blocks needed 1 dir: end slot 33 file size in blocks 6269 create header 512 create header 512 dir: header blocks(slots) 43 header blocks needed 1 dir: end slot 46 file size in blocks 9397 dir: header blocks(slots) 30 header blocks needed 1 dir: end slot 33 file size in blocks 6320 create header 512 dir: header blocks(slots) 14 header blocks needed 1 dir: end slot 17 file size in blocks 2362 create header 512 dir: header blocks(slots) 47 header blocks needed 1 dir: end slot 50 file size in blocks 10580 create header 512 dir: header blocks(slots) 20 header blocks needed 1 dir: end slot 23 file size in blocks 3824 create header 512 dir: header blocks(slots) 34 header blocks needed 1 dir: end slot 37 file size in blocks 7303 create header 512 dir: header blocks(slots) 21 header blocks needed 1 dir: end slot 24 file size in blocks 4106 create header 512 dir: header blocks(slots) 14 header blocks needed 1 dir: end slot 17 file size in blocks 2319 create header 512 dir: header blocks(slots) 32 header blocks needed 1 dir: end slot 35 file size in blocks 6742 create header 512 dir: header blocks(slots) 30 header blocks needed 1 dir: end slot 33 file size in blocks 6318 create header 512 dir: header blocks(slots) 13 header blocks needed 1 dir: end slot 16 file size in blocks 2314 create header 512 dir: header blocks(slots) 34 header blocks needed 1 dir: end slot 37 file size in blocks 6994 create header 512 dir: header blocks(slots) 13 header blocks needed 1 dir: end slot 16 file size in blocks 2111 create header 512 dir: header blocks(slots) 46 header blocks needed 1 dir: end slot 49 file size in blocks 9838 create header 512 dir: header blocks(slots) 49 header blocks needed 1 dir: end slot 52 file size in blocks 10975 create header 512 create header 512 dir: header blocks(slots) 60 header blocks needed 1 dir: end slot 63 file size in blocks 13495 dir: header blocks(slots) 24 header blocks needed 1 dir: end slot 27 file size in blocks 4683 create header 512 dir: header blocks(slots) 28 header blocks needed 1 dir: end slot 31 file size in blocks 6003 create header 512 dir: header blocks(slots) 21 header blocks needed 1 dir: end slot 24 file size in blocks 4082 create header 512 dir: header blocks(slots) 34 header blocks needed 1 dir: end slot 37 file size in blocks 7332 create header 512 dir: header blocks(slots) 19 header blocks needed 1 dir: end slot 22 file size in blocks 3586 create header 512 dir: header blocks(slots) 43 header blocks needed 1 dir: end slot 46 file size in blocks 9517 create header 512 dir: header blocks(slots) 38 header blocks needed 1 dir: end slot 41 file size in blocks 8334 create header 512 dir: header blocks(slots) 35 header blocks needed 1 dir: end slot 38 file size in blocks 7551 create header 512 create header 512 dir: header blocks(slots) 17 header blocks needed 1 dir: end slot 20 file size in blocks 2971 dir: header blocks(slots) 32 header blocks needed 1 dir: end slot 35 file size in blocks 7076 create header 512 dir: header blocks(slots) 16 header blocks needed 1 dir: end slot 19 file size in blocks 2715 create header 512 dir: header blocks(slots) 11 header blocks needed 1 dir: end slot 14 file size in blocks 1849 create header 512 dir: header blocks(slots) 45 header blocks needed 1 dir: end slot 48 file size in blocks 9805 create header 512 dir: header blocks(slots) 27 header blocks needed 1 dir: end slot 30 file size in blocks 5711 create header 512 dir: header blocks(slots) 60 header blocks needed 1 dir: end slot 63 file size in blocks 13557 create header 512 dir: header blocks(slots) 73 header blocks needed 1 dir: end slot 76 file size in blocks 16860 create header 512 dir: header blocks(slots) 26 header blocks needed 1 dir: end slot 29 file size in blocks 5103 create header 512 create header 512 dir: header blocks(slots) 42 header blocks needed 1 dir: end slot 45 file size in blocks 9180 dir: header blocks(slots) 59 header blocks needed 1 dir: end slot 62
Re: [mkgmap-dev] mkgmap Exception in thread "main" java.lang.AssertionError
Hi Steve, i've done the job, but sorry, i got the same error again. Do you have any idea? The gmapsuppimg size is 1453588480. Michael Am 18.04.2011 15:15, schrieb Steve Ratcliffe: Hi i got the following error from mkgmap (mkgmap-r1914): Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.sys.Directory.sync(Directory.java:160) at uk.me.parabola.imgfmt.sys.ImgFS.sync(ImgFS.java:230) at uk.me.parabola.imgfmt.sys.ImgFS.close(ImgFS.java:240) Could you try the attached patch on exactly the same input files and arguments. I've long suspected that there is a slight problem with the way the size of the gmapsupp is calculated, which leads to a problem with particular sized input files. Thanks, ..Steve ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
[mkgmap-dev] mkgmap Exception in thread "main" java.lang.AssertionError
Hi there, i got the following error from mkgmap (mkgmap-r1914): Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.sys.Directory.sync(Directory.java:160) at uk.me.parabola.imgfmt.sys.ImgFS.sync(ImgFS.java:230) at uk.me.parabola.imgfmt.sys.ImgFS.close(ImgFS.java:240) at uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onFinish(GmapsuppBuilder.java:124) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:419) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126) at uk.me.parabola.mkgmap.main.Main.main(Main.java:129) adding: germany.gmapsupp.img (deflated 27%) Is there anybody, who can help me to isolate this error? Here are the calling parameters: java -Xmx4000M -enableassertions -jar mkgmap.jar -c /osm/mkgmap.conf \ --style-file=/osm/styles \ --description="germany" \ --country-name=germany \ --country-abbr=D \ --family-id=59 \ --product-id=1 \ --area-name=D \ --overview-mapname=germany \ --mapname=5900 \ --generate-sea=extend-sea-sectors,close-gaps=2000 \ --series-name=OSM \ --family-name=OSM \ --latin1 \ --lower-case \ --draw-priority=25 \ --add-pois-to-areas \ --net \ --route \ --max-jobs \ --make-opposite-cycleways \ --tdbfile \ --index \ --remove-short-arcs \ --add-pois-to-areas \ --adjust-turn-headings \ --report-similar-arcs \ --link-pois-to-ways \ --check-roundabouts \ --check-roundabout-flares \ --gmapsupp \ --make-poi-index \ --code-page=1252 \ --charset=windows-1252 \ --verbose \ ../*.osm.gz \ ../5900.TYP cheers Michael ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Broken coastline errors between V1188 and V1398
Hi Chris, thanks for your well done work. I tested your script with mkgmap V 1398 and the daily download from http://download.geofabrik.de/osm/europe/germany/schleswig-holstein.osm.bz2 After building, i see the complete coastline as before in version 1188 of mkgmap. Now i don't know what to do in the next step. A nice variant would be a code extension for mkgmap with such behavior. Who of the mean mkgmap developers is able to support such code extension? Or is it a minor functionality/behavior which should never be implemented? cheers Michael Chris-Hein Lunkhusen schrieb: >>> I can confirm that this problem exists in the newer versions of mkgmap. >>> Some coastlines are missing in the map. >>> > > >> After playing a little bit with the data, I think it is the >> MP code thats causing the coastline to disappear. >> >> It seems that the error occurs, when a coastline is member >> of to many boundary-multipolygons. In my test the coastline >> was disappearing when beeing member of more than two >> boundary-MPs. >> >> So as a workaround: I think for boundary-multipolygons the >> multi-MP handling is not neccecary at all, because >> boundaries (normally) are rendered as lines and not as >> areas. >> > > I hacked a little OSM preprocessor in vb.net (don't speak java) > which does the following: > > change type from multipolygon to boundarypolygon for all > MPs with no inner-elements. This eliminates the MP > processing for those boundary polygons. > > If someone want's to get it, -> mail me. > > Chris > > ___ > mkgmap-dev mailing list > mkgmap-dev@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] Broken coastline errors between V1188 and V1398
Chris-Hein Lunkhusen schrieb: > Chris-Hein Lunkhusen schrieb: > >> Michael.TheBlackCat schrieb: >> >> >>> i recognized broken coastline errors between the mkgmap verion 1188 and >>> 1398. Please refer to the appended jpegs (my coastline is a little bit >>> thicker ti identify the sea area). >>> >> Hi Michael, >> I can confirm that this problem exists in the newer versions of mkgmap. >> Some coastlines are missing in the map. >> >> Dunno if this has something to do with the changes in the multipolygon >> code. >> > > After playing a little bit with the data, I think it is the > MP code thats causing the coastline to disappear. > > It seems that the error occurs, when a coastline is member > of to many boundary-multipolygons. In my test the coastline > was disappearing when beeing member of more than two > boundary-MPs. > > So as a workaround: I think for boundary-multipolygons the > multi-MP handling is not neccecary at all, because > boundaries (normally) are rendered as lines and not as > areas. > > Chris > > Hi Chris, thanks for your help and work. But now, i don't know what make to do. I noticed your last message with the vb script. You can send me the script and i attempt to test it with the latest version of mkgmap, but i use a linux-server for rendering, i hope, it works out. My email address is: michael.theblack...@googlemail.com Cheers, Michael > ___ > mkgmap-dev mailing list > mkgmap-dev@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev