logo separator

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

From Johann Gail johann.gail at gmx.de on Sun Nov 29 17:20:17 GMT 2009

>>> 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
Hi Thilo,

what is the state of this patch? Is it runable, or have you stopped work 
on it because of unsolvable problems? Maybe the garmin strucutres need 
to be made more dynamic, getting its final values in a later step?

I remembered that there was some problems, but have not investigated 
further. In general the concept seems ok to me.


More information about the mkgmap-dev mailing list