logo separator

[mkgmap-dev] Commit: r3264: apply rc-and-logging-v2.patch : set return code 1 if map creation failed

From svn commit svn at mkgmap.org.uk on Fri May 9 07:15:29 BST 2014

Version mkgmap-r3264 was committed by gerd on Fri, 09 May 2014

apply rc-and-logging-v2.patch : set return code 1 if map creation failed

It also changes the handling of so called MapFailedExceptions like
"There is not enough room in a single garmin map..."
or
"Overflow of the NET1. The tile ..."

These messages are now printed as severe messages via the logging system (showing the input file):
Severe (MapFailedException): \ld_sp\63240003.o5m: (thrown in BufferedImgFileWriter.ensureSize()) There is not enough room in a single garmin map for all the input data. The .osm file should be split into smaller pieces first.

The stdout contains two new messages:
Number of MapFailedExceptions: 3
Number of ExitExceptions: 0

If any of the two shows a non-zero value, the program exits with return code 1.


More information about the mkgmap-dev mailing list