[mkgmap-dev] Backtrace with housenumber branch
From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Apr 14 16:56:04 BST 2015
Hi Thorsten, please try r3536. I've added a few checks to make sure that StyledConverter doesn't try to add restrictions to NOD when option --route is not active. It produces now the same result as the trunk version. Gerd > Date: Tue, 14 Apr 2015 16:50:59 +0200 > From: kukuk at suse.de > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] Backtrace with housenumber branch > > On Tue, Apr 14, Thorsten Kukuk wrote: > > > > > Hi, > > > > with the latest releases of the housenumber branch, including r3535, > > I get the following backtrace when building my bicycle map (the trunk > > version is fine and works): > > > > java.lang.NullPointerException > > at uk.me.parabola.imgfmt.app.net.RoadNetwork.addThroughRoute(RoadNetwork.java:651) > > at uk.me.parabola.mkgmap.general.MapDetails.addThroughRoute(MapDetails.java:135) > > at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:658) > > at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:250) > > at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:67) > > at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:130) > > at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167) > > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63) > > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:253) > > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:249) > > at java.util.concurrent.FutureTask.run(FutureTask.java:274) > > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) > > at java.lang.Thread.run(Thread.java:863) > > Exiting - if you want to carry on regardless, use the --keep-going option > > Number of ExitExceptions: 1 > > > > > > It's the bicycle style from my web page, and I call mkgmap with: > > mkgmap --style-file=bicycling --family-name=TK-DACH-Bicycling --country-name=DACH --country-abbr=DACH --area-name=DACH --latin1 --license-file=TK-DACH-Bicycling_license.txt '--copyright-message=OpenStreetMap contributors, ODbL. See: http://www.openstreetmap.org/copyright. TK-DACH-Bicycling based on data from 2015-04-13.' --series-name=TK-DACH-Bicycling --product-version=150414 --add-pois-to-areas '--pois-to-areas-placement=entrance=main;entrance=yes;building=entrance;barrier=entrance' --reduce-point-density=4 --reduce-point-density-polygon=8 --min-size-polygon=8 --polygon-size-limits=24:8,18:4,17:2,16:0 --make-opposite-cycleways --name-tag-list=name,place_name,loc_name --transparent --no-poi-address -c mkgmap.cfg --gmapsupp -c maps.cfg --description=TK-DACH-Bicycling TK_DACH.TYP > > I forgot, the input file: > http://osm.thkukuk.de/tmp/71200177.osm.pbf > > And only the style: > http://osm.thkukuk.de/tmp/bicycling.zip > > > Thorsten > > > > -- > > Thorsten Kukuk, Senior Architect SLES & Common Code Base > > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany > > GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) > > _______________________________________________ > > mkgmap-dev mailing list > > mkgmap-dev at lists.mkgmap.org.uk > > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > -- > Thorsten Kukuk, Senior Architect SLES & Common Code Base > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany > GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) > _______________________________________________ > 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://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150414/bd45a687/attachment.html>
- Previous message: [mkgmap-dev] Backtrace with housenumber branch
- Next message: [mkgmap-dev] Backtrace with housenumber branch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list