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.

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

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.

Compiled binary is here:
http://files.mkgmap.org.uk/download/119/mkgmap.jar

Gerd


> Date: Thu, 2 May 2013 20:01:32 +0200
> From: wmgcnfg@web.de
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] merge-lines and routing
>
> > I'd like to move all calls to methods of RoadNetwork after the filter chain,
> > but that is not that simple. I think we have to move also all the code reg.
> > restrictions, maybe also the housenumber part.
>
> Hi Gerd,
>
> please don't mind about the housenumber part. I think it might be more
> easy to redevelop it after your changes instead of keeping the current code.
>
> WanMil
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev