[mkgmap-dev] Assertion building Italy map
From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Feb 4 20:24:58 GMT 2016
Hi Carlos, thanks for the data. Quite a special case. The problem is caused by this way: https://www.openstreetmap.org/way/393470425 It is an inner member of a mp-relation which your style adds as a road. Therefore all the inner elements are also added as roads, and this building is so small that all points are rounded to three equal Garmin points. As this way is also a closed loop the code tries to split it and removes equal points, in the end the way remained with just one point and that way was not discarded. I've added a check to detect this special case with r3664. I did not try if routing works now at this place. ciao, Gerd ________________________________________ Von: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam at orangecorreo.es> Gesendet: Donnerstag, 4. Februar 2016 17:41 An: Development list for mkgmap Betreff: [mkgmap-dev] Assertion building Italy map I'm getting the following error building Italy map with latest version of mkgmap and my own style: |java.lang.AssertionError: failed for node 66008 at 40.842415,14.246541|| || at uk.me.parabola.imgfmt.app.net.RouteNode.getOffsetNod1(RouteNode.java:273)|| || at uk.me.parabola.imgfmt.app.net.RoadDef.writeNod2(RoadDef.java:579)|| || at uk.me.parabola.imgfmt.app.net.NODFile.writeRoadData(NODFile.java:125)|| || at uk.me.parabola.imgfmt.app.net.NODFile.write(NODFile.java:73)|| || at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:251)|| || at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)|| || at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)|| || at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:255)|| || at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:251)|| || 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)| Default style works fine with the same input files. What info/file about my style would you need to trackr the error? My command: java -Xmx4500m -ea -Dlog.config=logging.properties -jar mkgmap.jar --output-dir=./tmp --bounds=bounds.zip --precomp-sea=sea.zip --max-jobs --route --latin1 --code-page=1252 --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 --name-tag-list=$NAMETAG --index --process-destination --process-exits --housenumbers --reduce-point-density=4 --polygon-size-limits="24:12, 18:10, 16:0" --add-pois-to-areas --report-similar-arcs --report-dead-ends=2 --link-pois-to-ways --location-autofill=is_in,nearest --drive-on=detect,$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 -c $pais.args -- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx Instale LibreOffice desde http://es.libreoffice.org/descarga/ LibreOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal. LibreOffice está en continuo desarrollo y no tendrá que pagar por las nuevas versiones. _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Assertion building Italy map
- Next message: [mkgmap-dev] Assertion building Italy map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list