Hi Andrzej,
thanks for your help :-)
With --preserve-element-order the ways are passed to the style in the
order of the input file. Each time the style creates a line,
it is added to either the list of roads (if routable) or the list of non-routable
ways. Roads are processed in order of appearance, other lines
are processed in order of appearance, but roads are
added after non-routable lines.
So, to match the version 6 of the patch, the style should first add
the road for the car, than the road for the bicycle.
I did not yet look at non-routable overlaying lines (e.g. to show
bicycle lanes).
I'll commit the patch v6 on friday if I hear no complains.
I would be glad to receive a patch for the default style
that allows us to remove the make-cycleway option.
Gerd
> Date: Wed, 26 Mar 2014 14:31:47 +0100
> From: popej@poczta.onet.pl
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] [Patch v5] correct make-cycleways
>
> Hi Gerd,
>
> I have tested a bit patch v6 and it seems to be OK.
>
> What is the order of roads if cycleway is created as a duplicate in
> style? Will it be the same as order of declaration in style or reversed?
>
> Using style gives possibility to change road type. This is another
> factor, which maybe could help.
>
> --
> Best regards,
> Andrzej
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev