[mkgmap-dev] [PATCH v2] alpha support for motorway exits and service areas
From Michel Marti mcdmx at users.sf.net on Sun Mar 8 17:47:16 GMT 2009
Mark Burton wrote: > > The attached patch (based on r973) provides basic support for > processing motorway exits. It's still work in progress but I am posting > it so that people can try it out, find what breaks and suggest > improvements. This one, the patch applied... However, I get a NullPointerException after a while: Exception in thread "main" java.lang.NullPointerException at java.lang.String.compareTo(String.java:1168) at uk.me.parabola.imgfmt.app.lbl.POIIndex.compareTo(POIIndex.java:49) at java.util.Arrays.mergeSort(Arrays.java:1144) at java.util.Arrays.mergeSort(Arrays.java:1155) at java.util.Arrays.mergeSort(Arrays.java:1155) at java.util.Arrays.mergeSort(Arrays.java:1156) at java.util.Arrays.mergeSort(Arrays.java:1156) at java.util.Arrays.mergeSort(Arrays.java:1155) at java.util.Arrays.mergeSort(Arrays.java:1155) at java.util.Arrays.mergeSort(Arrays.java:1155) at java.util.Arrays.mergeSort(Arrays.java:1155) at java.util.Arrays.sort(Arrays.java:1079) at java.util.Collections.sort(Collections.java:117) at uk.me.parabola.imgfmt.app.lbl.PlacesFile.write(PlacesFile.java:84) at uk.me.parabola.imgfmt.app.lbl.LBLFile.writeBody(LBLFile.java:103) at uk.me.parabola.imgfmt.app.lbl.LBLFile.write(LBLFile.java:87) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:178) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:90) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) at uk.me.parabola.mkgmap.main.Main.processFilename(Main.java:150) at uk.me.parabola.mkgmap.CommandArgs$Filename.processArg(CommandArgs.java:329) at uk.me.parabola.mkgmap.CommandArgs.readArgs(CommandArgs.java:119) at uk.me.parabola.mkgmap.main.Main.main(Main.java:91) My command line looks like this: java -Xmx1024m -jar dist/mkgmap.jar \ --region-name=Switzerland --region-abbr=CH \ --net --route --gmapsupp --tdbfile \ --family-name=OSM.org --latin1 --description=OSM.ch \ --country-name="Switzerland" --country-abbr=CH switzerland.osm BTW: could you also print out the OSM-IDs of erroneous motorway-links? Thanks, - Michel
- Previous message: [mkgmap-dev] [PATCH v2] alpha support for motorway exits and service areas
- Next message: [mkgmap-dev] [PATCH v2] alpha support for motorway exits and service areas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list