
Hi Gerd Yes - looks good. I think the old code would have quietly underflowed when doing getWidth()/getHeight() on the empty area, resulting in a value of 1 (Integer.MIN_VALUE - Integer.MAX_VALUE) Ticker On Thu, 2016-12-15 at 18:53 +0000, Gerd Petermann wrote:
Hi Steph,
your style produces an empty map for this input. This was no problem in the past but failed since r3702. In r3726 I've added a check to allow it again.
@Ticker: Please review my changes.
Gerd Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Stéphane MARTIN <st3ph.martin@laposte.net> Gesendet: Donnerstag, 15. Dezember 2016 17:24:40 An: Development list for mkgmap Betreff: [mkgmap-dev] MapFailedExceptions with mkgmap-r3706
Sorry everybody about my multiple posts :-(
I no have return in my mail client (Thunderbird) concerning all the thread I initiated ! I have to investigate…
Anyway, thanks Gerd.
60000327.osm.pbf : https://tuxdomain.darktech.org/osm-garmin/view.php?file=France-ski+ex ceptions/60000327.osm.pbf
Style : https://tuxdomain.darktech.org/osm-garmin/view.php?file=France-ski+ex ceptions/ski.zip
mkgmap options : java -ea -Xms$JXMS -Xmx$JXMX -Dlog.config=logging.properties \ -XX:StringTableSize=100003 -jar $WORKDIR/applis/mkgmap.jar --gmapsupp \ --max-jobs --latin1 --area-name="$COUNTRY" \ --name-tag-list=name:fr,int_name,name \ --verbose \ --style-file="$WORKDIR/styles/$STYLE/" \ --list-styles --check-styles \ --family-name="$COUNTRY OSM $STYLE" \ --series-name="$COUNTRY-OSM-$STYLE" \ --mapname=$MAPNAME \ --overview-mapnumber=$MAPNAME \ --remove-ovm-work-files \ --reduce-point-density=4 --reduce-point-density-polygon=8 \ --polygon-size-limits="24:12, 18:10, 15:8, 14:4" \ --preserve-element-order \ --add-pois-to-lines \ --add-pois-to-areas \ --report-similar-arcs \ --link-pois-to-ways \ --min-size-polygon \ --country-name="$COUNTRY" --country-abbr="$ABBR" \ -c "mkgmap-$STYLE-$COUNTRY-$STYLE.cfg" \ --draw-priority=35 --transparent \ --description="$COUNTRY OSM $STYLE" $ID*.pbf \ "$WORKDIR/styles/$STYLE/$STYLE.TYP" 2>&1 | tee "$COUNTRY.log"
Cheers. SM _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev