logo separator

[mkgmap-dev] Commit: r1410: Add --merge-lines option to combine lines at lower zoom levels.

From Thilo Hannemann thannema at gmx.de on Mon Nov 30 21:57:54 GMT 2009

Am 30.11.2009 um 13:51 schrieb Felix Hartmann:

> So if I understand correctly, the only real possibility for merging, will be before creating the routing?
> And as I understood this is really complex (won't be implemented soon, because there are more important things to do). So for the while being the merge-lines can only be considered very experimental.

For reference: I've already posted about this in the thread "[PATCH v1] Merge similar lines and ways".

You'll have to do the merging after the processing of the ways, but before the IMG file is created. As the current code creates the IMG file "on the fly" during processing, there is no "in between" available. I tried to collect all the (half) processed ways in a list, then do the merging and proceed with the processing later. But that turned out to be hard as well, because there is actually no good "in between" point. I didn't succeed in the end, the ways got merged just fine, but the routing broke every time. So yes, I think this is really complex.


More information about the mkgmap-dev mailing list