I know two methods to map a turn restriction. One is a node with
traffic_sign=*, the other is a restriction relation ( type=no_left_turn ). For the latter you would need
some preprocessing by mkgmap so that it adds a new node close to the via node of the restriction.
It would also have to calculate the direction of the role=from way to give you a hint which icon to use,
if you really like to use different icons for a road going from N to S , E to W, etc.
Besides the need of the java code I see one possible technical problem :
after style processing mkgmap might detect that the restriction relation
is invalid, which means the restriction would not be stored in the img
while your icon would still appear.
Gerd
JOSM shows individual NO LEFT turn icons at the right side of each intersection, if it is set
It seems to me I would have to make 4 separate TYP symbols and lock my GPS in NORTH-UP mode to keep orientation.
I would also have to place a small NO LEFT turn symbol in each quadrant of each TYP symbol and only use the appropriate icon.
I just do not know how to write the code. Has anyone done this?
Greg
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev