
Hi WanMil,
okay, this will be a big change that requires a branch. So, for now, I'd like to finish the merge-lines issue. Attached is version 2 of the patch that allows merging lines at all resolutuions except for roads on res 24.
Looks good.
Some numbers for a map of niedersachsen with default style and lots of enabled features: (seconds run time, gmapsupp.img size in bytes) r2581 with merge-lines: 99s, 127.567.872 r2581 with no-merge-lines: 103s, 128.182.272 patched r2585 with merge-lines: 95s, 125.599.744 patched r2585 with no-merge-lines: like r2581
Oh, I didn't expect that merge-lines noticeably decreases processing time. Nice :-)
I see no good reason why merge-lines is an option. I think we should enable it and remove the parm, or at least, make merge-lines the default and allow to switch it off with --no-merge-lines.
+1
Compiled binary is here: |http://files.mkgmap.org.uk/download/119/mkgmap.jar
|Gerd