<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Andrzej,<br><br><div>> IMO it should goes like that:<br>> - Each duplication of a road should duplicate restrictions.<br>> - Any modification of access flags for original or duplicated roads <br>> should be performed accordingly on restrictions.<br>> - Redundant restrictions should be removed, this can happen because of <br>> changes in access flags or when restriction goes wrong-way.<br><br>Yes, that's what it should do.<br><br>> <br>> > Assume that a via way of an only_left restriction has<br>> > also an opposite cycleway. Should mkgmap create<br>> > all possible combinations of restrictions to make sure that<br>> > also bicycles are only routed left ?<br>> <br>> I don't understand this problem. If OSM restriction "only_left_turn" <br>> include bicycle, then you should create Garmin restrictions to route <br>> bicycles too.<br><br>correct. As I said in my next post, I forgot that the mapper can<br>specify to which vehicles the restriction applies.<br>My fear is that I can have multiple arcs for each part (from,via,to) of a restriction relation.<br>If the restriction applies to cars and bicycles and all arcs allow traffic for both of them,<br>I have to add various combinations of arcs.<br>I don't know if this happens, I assume that style developpers are NOT<br>creating duplicate arcs which allow the same vehicles.<br>The make-opposite-cycleways option adds a cycleway and <br>forbids traffic for bicycles on the normal road. <br>I think I should be able to create a reasonable amount of restriction for that.<br><br>> <br>> I see your next post, will processing of restriction:bicycle solve this <br>> question?<br><br>Yes, this and the except=* tag. I just have to add code to support <br>type=restriction:* tags.<br><br>Gerd<br><br></div>                                            </div></body>
</html>