Hi all,
I thought about this again and found this solution:
With r3172 you can add rules to the relations file to manipulate restriction
relations,
e.g. like this :
type=restriction & except ~ '.*bicycle' {set except='${except};motorcar'}
The meaning of the restriction relation is now evaluated after style
processing, so
you can change or add or remove tags.
If the restriction is not valid after that, it will be ignored.
You probably have to add a few more rules to handle the cases like
type=restriction:motorcar
or
restriction:motorcar=no_u_turn
I hope that works for all cases?
Gerd
> Date: Sun, 30 Mar 2014 18:43:25 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [mkgmap-dev] vehicles in restriction relations
>
> Hi Gerd,
> I think it should not be hardcoded but handled in the style files, because
> mapmakers like me are "misusing"
> mkgmap:car for other purposes (I use car for racing bike routing in my bike
> maps).
> If mkgmap hardcode the access for car to no, I can't change this anymore in
> my style.
> _______________________________________________
> mkgmap-dev mailing list
> [email protected]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev