logo separator

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

From Thilo Hannemann thannema at gmx.de on Sat Aug 15 14:38:27 BST 2009

Hi Mark,

Am 15.08.2009 um 13:45 schrieb Mark Burton:

> However, looking at the code it seems to me that the merging happens
> after StyledConverter.addRoad() is called and that is where the way
> lengths are limited. So you either have to do the merging earlier, or
> you need to add a constraint to limit the length of the merged way.

I see what you mean. Damn. I assumed that the length limiting would  
only occur in the filters later on. Thank you for pointing this out.

I will modify the code that the merging is applied even earlier.  
Shouldn't be too hard to do.

@Chris:
> If not - where can I download the patched versions?

You can download a version of mkgmap with all the patches that I do  
apply from http://wiki.openstreetmap.org/wiki/User:Radfahrer/Radkarte  
(it's in German though, it's the second link in the section  
"Entwicklung": "Ausserdem sind die Stil-Dateien, die TYP-Datei und das  
gepatchte mkgmap auch ->hier<- verfügbar". The current version has the  
patch in it, but as discussed above this patch is buggy. Also beware  
that this is no "official" version of mkgmap, so please don't ask for  
support for it on this mailing list. The mkgmap I use is heavily  
patched and by asking about problems with it on the mailing list you  
will only tie up resources for bugs that the official version of  
mkgmap doesn't have (and with that therefore nobody can help you).

The better approach is to wait until the patch makes it to trunk,  
which it will or will not, depending on whether the maintainers deem  
it beneficial or not.

Regards
Thilo




More information about the mkgmap-dev mailing list