[mkgmap-dev] Commit: r3184: correctiopn: make sure that isViaWay property is copied in Way.copy()
From Carlos Dávila cdavilam at orangecorreo.es on Sat Apr 12 17:56:13 BST 2014
It fixed the problem. Thanks El 12/04/14 18:11, GerdP escribió: > Hi Carlos, > > I have committed a fix for the NPE with r3185. > I have already rewritten the error prone parts of the code this morning, > but I want to create some test cases to verify that. > > Gerd > > > Carlos Dávila-2 wrote >> El 12/04/14 14:23, svn commit escribió: >>> Version mkgmap-r3184 was committed by gerd on Sat, 12 Apr 2014 >>> >>> correctiopn: make sure that isViaWay property is copied in Way.copy() >>> _______________________________________________ >>> mkgmap-dev mailing list >>> >> mkgmap-dev at .org >>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >>> >> I'm still getting an exception with some countries, for example Australia: >> SEVERE (RestrictionRelation): 55145019.o5m: Turn restriction >> (only_straight_on) http://www.openstreetmap.org/browse/relation/2308386 >> (at >> http://www.openstreetmap.org/?mlat=-33.816172&mlon=151.102868&zoom=17) >> way http://www.openstreetmap.org/browse/way/100103995 doesn't have >> required node >> java.lang.NullPointerException >> at >> uk.me.parabola.mkgmap.reader.osm.RestrictionRelation.addRestriction(RestrictionRelation.java:496) >> at >> uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:673) >> at >> uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:248) >> at >> uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:53) >> at >> uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:127) >> 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:220) >> at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216) >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:724) >> >> My command for the problematic tile: >> export PAIS=AUSTRALIA ABR=AUS MAPA=Australia FID=45 NAMETAG=name >> DRIVEON=left pais=australia; java -Xmx2000m -ea >> -Dlog.config=logging.properties -jar mkgmap.jar --output-dir=./tmp >> --bounds=bounds.zip --precomp-sea=sea --max-jobs --route --tdbfile >> --latin1 --code-page=1252 >> --description="OpenStreetMap-$MAPA"--country-name=$PAIS >> --country-abbr=$ABR --area-name=$MAPA --family-name="OpenStreetMap >> $MAPA" --family-id=1$FID --product-id=1 --series-name="OSM-$MAPA" >> --overview-mapname=${ABR}-1${FID} --overview-mapnumber=551${FID}000 >> --mapname=551${FID}001 --name-tag-list=$NAMETAG --index >> --process-destination --process-exits --x-housenumbers >> --remove-short-arcs=0 --reduce-point-density=4 >> --reduce-point-density-polygon=8 --polygon-size-limits="24:12, 18:10, >> 16:0" --add-pois-to-areas --adjust-turn-headings --report-similar-arcs >> --report-dead-ends=2 --link-pois-to-ways >> --location-autofill=is_in,nearest --drive-on-$DRIVEON >> --check-roundabouts --check-roundabout-flares >> --license-file=license_ODbL.txt --copyright-message="OpenStreetMap >> contributors, ODbL. See: http://www.openstreetmap.org/copyright" >> --style=mio --check-styles 55145019.o5m typ/$ABR-1$FID.TYP >> >> source tile: http://mapas.alternativaslibres.es/55145019.o5m >> mkgmap: 3184 >> splitter: 321 >> >> >>
- Previous message: [mkgmap-dev] Commit: r3184: correctiopn: make sure that isViaWay property is copied in Way.copy()
- Next message: [mkgmap-dev] Commit: r3185: fix possible NPE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list