
Hi Carlos, I've added a test to avoid this exception. @Mike: Not sure what goes wrong here. I think when you feed mkgmap with *.img there is nothing that can be done with more than one job. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam@orangecorreo.es> Gesendet: Montag, 19. Februar 2018 18:26:50 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Commit r4124: slightly modified maxjobs-v6.patch by Mike Baggaley El 19/02/18 a las 14:53, svn commit escribió:
Version mkgmap-r4124 was committed by gerd on Mon, 19 Feb 2018
slightly modified maxjobs-v6.patch by Mike Baggaley
-- if max-jobs option is not set, try to find a reasonable value -- further improve documentation of options -- report run time in hours, minutes and seconds instead of ms
http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4124
I get an error with this build when combining contour lines with OSM map: java -ea -Xmx4500M -jar mkgmap.jar --output-dir=./tmp --gmapi --tdbfile --latin1 --code-page=1252 --description="OSM+$CURVAS-$MAPA" --country-name=$PAIS --country-abbr=$ABR --family-name="OSM+$CURVAS $MAPA" --family-id=3$FID --product-id=1 --product-version=$VERSION --series-name="OSM+$CURVAS $MAPA" --area-name="$MAPA" --overview-mapname=$ABR-3$FID --overview-mapnumber=653${FID}000 --index --road-name-config=$CONFIG --x-mdr7-del=GRADE0,GRADE1,GRADE2,GRADE3,GRADE4,GRADE5,GRADE6,GRADE7,UNNAMED --show-profiles=1 tmp/551${FID}*.img curvas/602${FID}*.img typ/$ABR-3${FID}.TYP Time started: Mon Feb 19 18:09:18 CET 2018 Exception in thread "main" java.lang.ArithmeticException: / by zero at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:513) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143) at uk.me.parabola.mkgmap.main.Main.main(Main.java:114) It happens with all maps with the same command _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev