logo separator

[mkgmap-dev] [PATCH] Bicycle routing opposite to oneways for cycleways tagged as "opposite_*"

From Christian Gawron christian.gawron at gmx.de on Sat Feb 21 20:42:46 GMT 2009

Hallo Stefan,

Stefan Wenk schrieb:
>
> Hi Mark,
>
> > Looking at your patch, I see:
>
> >
>
> > + oppositeWay.addTag("access","no");
>
> >
>
> I included this part because I want to force not to use the new way, 
> except for bicycles. It doesn't help, because the way is used - even 
> for car/motorcycles. You can delete this part - it doesn't make a 
> difference.
>
> Stefan
>
I think the problem is that there is no rule which makes a cycleway a 
cycleway in the default style. What about changing
highway=cycleway [0x16 road_class=0 road_speed=1 resolution 23]
into
highway=cycleway { add motorcar=no; add hgv=no; add motorcycle=no } 
[0x16 road_class=0 road_speed=1 resolution 23]
?

I just did the opposite (adding bicycle=no) for motorways and it works 
(before Mapsource wanted me to ride my bike on the Autobahn ;-)

Viele Grüße
Christian



More information about the mkgmap-dev mailing list