[mkgmap-dev] Error when not using dem-poly
From osm@pinns osm at pinns.co.uk on Mon Jan 8 10:28:00 GMT 2018
Thanks Gerd On 08/01/2018 10:21, Gerd Petermann wrote: > Hi Nick, > > thanks for reporting. I'll try to reproduce the problem. Please note that > overview-dem-dist=888888 > is probably too large, 88888 would be a "normal" value. > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von nwillink <osm at pinns.co.uk> > Gesendet: Montag, 8. Januar 2018 11:01:46 > An: mkgmap-dev at lists.mkgmap.org.uk > Betreff: [mkgmap-dev] Error when not using dem-poly > > 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 > _______________________________________________ > 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
- Previous message: [mkgmap-dev] Error when not using dem-poly
- 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