logo separator

[mkgmap-dev] [PATCH v1] Merge similar lines and ways

From Thilo Hannemann thannema at gmx.de on Thu Sep 10 06:49:37 BST 2009

Hi Mark,

Am 09.09.2009 um 19:58 schrieb Mark Burton:

>> I will modify the code that the merging is applied even earlier.
>> Shouldn't be too hard to do.
>
> Did you do that? I would be keen to try a version because I notice on
> my first few trips with the Nuvi that sometimes it says "keep
> right/left" when it should say "turn right/left". I think that is
> because the way looks like this:

I was too optimistic in saying that it "shouldn't be too hard to do".  
Actually I could not get it working. The merging of the ways works  
fine, but the routing on the resulting maps is broken. The problem  
here is that it is not possible to merge the ways just after reading  
from the osm file, because then the attributes are not determined  
completely yet. But it is also not possible to merge the ways after  
all the styling has been done, because then there are already  
references written to the Garmin structures that would point to  
removed portions of the merged ways. So it has to be somewhen in  
between and that makes it diffcult.

Anyway, as soon as I find some time I'll update the patch to work  
against the current revision and post it here, maybe somebody can help.

Regards
Thilo




More information about the mkgmap-dev mailing list