MapFailedExceptions with mkgmap-r3706

Hi, I get a MapFailedExceptions with mkgmap-r3706: Time started: Tue Dec 13 14:16:13 CET 2016 The following styles are available: ski 0.1: Ski style Overlay style displaying ski resorts, pistes… Found one style in /home/steph/osm/styles/ski/ finished check-styles Number of MapFailedExceptions: 287 Number of ExitExceptions: 0 Time finished: Tue Dec 13 14:23:47 CET 2016 Total time taken: 454658ms It's an overlay for ski resorts in France. But no problem generating France map: Time started: Tue Dec 13 13:26:20 CET 2016 The following styles are available: default 0.77: "Default style" modifié. Style assez lourd destiné à être utilisé plus spécialement dans les zones densément étiquetées. Adéquat pour la randonnée et le routage longue distance. Found one style in /home/steph/osm/styles/default/ finished check-styles Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Tue Dec 13 13:43:43 CET 2016 Total time taken: 1043015ms All ovm_*.img files = 0 octet Files and logs here: http://tuxdomain.darktech.org/osm-garmin/index.php?dir=France-ski+exceptions An idea ? Steph

Hi, New post :-/ I don't see the previous in archives ! Steph -------- Message d'origine -------- De : "Stéphane MARTIN" <st3ph.martin@laposte.net> Envoyé : 13 décembre 2016 17:57:11 GMT+01:00 À : mkgmap-dev@lists.mkgmap.org.uk Objet : MapFailedExceptions with mkgmap-r3706 Hi, I get a MapFailedExceptions with mkgmap-r3706: Time started: Tue Dec 13 14:16:13 CET 2016 The following styles are available: ski 0.1: Ski style Overlay style displaying ski resorts, pistes… Found one style in /home/steph/osm/styles/ski/ finished check-styles Number of MapFailedExceptions: 287 Number of ExitExceptions: 0 Time finished: Tue Dec 13 14:23:47 CET 2016 Total time taken: 454658ms It's an overlay for ski resorts in France. But no problem generating France map: Time started: Tue Dec 13 13:26:20 CET 2016 The following styles are available: default 0.77: "Default style" modifié. Style assez lourd destiné à être utilisé plus spécialement dans les zones densément étiquetées. Adéquat pour la randonnée et le routage longue distance. Found one style in /home/steph/osm/styles/default/ finished check-styles Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Tue Dec 13 13:43:43 CET 2016 Total time taken: 1043015ms All ovm_*.img files = 0 octet Files and logs here: http://tuxdomain.darktech.org/osm-garmin/index.php?dir=France-ski+exceptions An idea ? Steph

Hi Steph, Sorry, my Internet connection is broken, so I cannot help. Gerd ---- Steph schrieb ---- Hi, New post :-/ I don't see the previous in archives ! Steph -------- Message d'origine -------- De : "St?phane MARTIN" <st3ph.martin@laposte.net> Envoy? : 13 d?cembre 2016 17:57:11 GMT+01:00 ? : mkgmap-dev@lists.mkgmap.org.uk Objet : MapFailedExceptions with mkgmap-r3706 Hi, I get a MapFailedExceptions with mkgmap-r3706: Time started: Tue Dec 13 14:16:13 CET 2016 The following styles are available: ski 0.1: Ski style Overlay style displaying ski resorts, pistes... Found one style in /home/steph/osm/styles/ski/ finished check-styles Number of MapFailedExceptions: 287 Number of ExitExceptions: 0 Time finished: Tue Dec 13 14:23:47 CET 2016 Total time taken: 454658ms It's an overlay for ski resorts in France. But no problem generating France map: Time started: Tue Dec 13 13:26:20 CET 2016 The following styles are available: default 0.77: "Default style" modifi?. Style assez lourd destin? ? ?tre utilis? plus sp?cialement dans les zones dens?ment ?tiquet?es. Ad?quat pour la randonn?e et le routage longue distance. Found one style in /home/steph/osm/styles/default/ finished check-styles Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Tue Dec 13 13:43:43 CET 2016 Total time taken: 1043015ms All ovm_*.img files = 0 octet Files and logs here: http://tuxdomain.darktech.org/osm-garmin/index.php?dir=France-ski+exceptions An idea ? Steph

Steph, I see e.g. GRAVE (MapFailedException): 60000327.osm.pbf: (thrown in Area.split()) Area split shift align problems you seem to use the new--order-by-decreasing-area option. I assume the problem will disappear without it. Please post a link to the file 60000327.osm.pbf and to your style and mkgmap options so that we can reproduce the problem. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Steph <st3ph.martin@laposte.net> Gesendet: Mittwoch, 14. Dezember 2016 11:40:12 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] Fwd: MapFailedExceptions with mkgmap-r3706 Hi, New post :-/ I don't see the previous in archives ! Steph -------- Message d'origine -------- De : "St?phane MARTIN" <st3ph.martin@laposte.net> Envoy? : 13 d?cembre 2016 17:57:11 GMT+01:00 ? : mkgmap-dev@lists.mkgmap.org.uk Objet : MapFailedExceptions with mkgmap-r3706 Hi, I get a MapFailedExceptions with mkgmap-r3706: Time started: Tue Dec 13 14:16:13 CET 2016 The following styles are available: ski 0.1: Ski style Overlay style displaying ski resorts, pistes... Found one style in /home/steph/osm/styles/ski/ finished check-styles Number of MapFailedExceptions: 287 Number of ExitExceptions: 0 Time finished: Tue Dec 13 14:23:47 CET 2016 Total time taken: 454658ms It's an overlay for ski resorts in France. But no problem generating France map: Time started: Tue Dec 13 13:26:20 CET 2016 The following styles are available: default 0.77: "Default style" modifi?. Style assez lourd destin? ? ?tre utilis? plus sp?cialement dans les zones dens?ment ?tiquet?es. Ad?quat pour la randonn?e et le routage longue distance. Found one style in /home/steph/osm/styles/default/ finished check-styles Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Tue Dec 13 13:43:43 CET 2016 Total time taken: 1043015ms All ovm_*.img files = 0 octet Files and logs here: http://tuxdomain.darktech.org/osm-garmin/index.php?dir=France-ski+exceptions An idea ? Steph

Hi, I get a MapFailedExceptions with mkgmap-r3706: Time started: Tue Dec 13 14:16:13 CET 2016 The following styles are available: ski 0.1: Ski style Overlay style displaying ski resorts, pistes… Found one style in /home/steph/osm/styles/ski/ finished check-styles Number of MapFailedExceptions: 287 Number of ExitExceptions: 0 Time finished: Tue Dec 13 14:23:47 CET 2016 Total time taken: 454658ms It's an overlay for ski resorts in France. But no problem generating France map: Time started: Tue Dec 13 13:26:20 CET 2016 The following styles are available: default 0.77: "Default style" modifié. Style assez lourd destiné à être utilisé plus spécialement dans les zones densément étiquetées. Adéquat pour la randonnée et le routage longue distance. Found one style in /home/steph/osm/styles/default/ finished check-styles Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Tue Dec 13 13:43:43 CET 2016 Total time taken: 1043015ms All ovm_*.img files = 0 octet Files and logs here: http://tuxdomain.darktech.org/osm-garmin/index.php?dir=France-ski+exceptions An idea ? Steph

Hi, I get a MapFailedExceptions with mkgmap-r3706: Time started: Tue Dec 13 14:16:13 CET 2016 The following styles are available: ski 0.1: Ski style Overlay style displaying ski resorts, pistes… Found one style in /home/steph/osm/styles/ski/ finished check-styles Number of MapFailedExceptions: 287 Number of ExitExceptions: 0 Time finished: Tue Dec 13 14:23:47 CET 2016 Total time taken: 454658ms It's an overlay for ski resorts in France. But no problem generating France map: Time started: Tue Dec 13 13:26:20 CET 2016 The following styles are available: default 0.77: "Default style" modifié. Style assez lourd destiné à être utilisé plus spécialement dans les zones densément étiquetées. Adéquat pour la randonnée et le routage longue distance. Found one style in /home/steph/osm/styles/default/ finished check-styles Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Tue Dec 13 13:43:43 CET 2016 Total time taken: 1043015ms All ovm_*.img files = 0 octet Files and logs here: http://tuxdomain.darktech.org/osm-garmin/index.php?dir=France-ski+exceptions An idea ? Steph

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+exception... Style : https://tuxdomain.darktech.org/osm-garmin/view.php?file=France-ski+exception... 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

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+exception... Style : https://tuxdomain.darktech.org/osm-garmin/view.php?file=France-ski+exception... 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

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
participants (5)
-
Gerd Petermann
-
Gerd Petermann
-
Steph
-
Stéphane MARTIN
-
Ticker Berkin