[mkgmap-dev] Error when not using dem-poly
From nwillink osm at pinns.co.uk on Mon Jan 8 10:01:46 GMT 2018
Hi Gerd I'm using latest r4036 I'm applying what you suggested to Minko to avoid contours been given a dem. In my dem.args I have dem=e:\dem\europe\ overview-dem-dist=888888 dem-dists=3312,13248,26512,53024 and get the following error: Number of MapFailedExceptions: 0 Exception in thread "main" java.lang.NullPointerException at uk.me.parabola.mkgmap.reader.hgt.HGTConverter.getElevation(HGTConvert er.java:89) at uk.me.parabola.mkgmap.reader.hgt.HGTConverter.getHeights(HGTConverter .java:287) at uk.me.parabola.imgfmt.app.dem.DEMSection.calcTiles(DEMSection.java:10 5) at uk.me.parabola.imgfmt.app.dem.DEMSection.<init>(DEMSection.java:78) at uk.me.parabola.imgfmt.app.dem.DEMFile.calc(DEMFile.java:60) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:340) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(Over viewBuilder.java:191) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuil der.java:103) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:617) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.ja va:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:136) at uk.me.parabola.mkgmap.main.Main.main(Main.java:107) 1) When I add dem-poly=areas.poly the error disappears. 2) I also don't get the error if I replace -c dem-args with --dem=e:\dem\europe\ --overview-dem-dist=888888 --dem-dists=3312,13248,26512,53024 3) This only seems to affect certain pbfs. file: http://files.mkgmap.org.uk/download/385/12345678.osm.pbf r Nick -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
- Previous message: [mkgmap-dev] r4035 fixes problem with *.hgt.zip files
- Next message: [mkgmap-dev] Error when not using dem-poly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list