Pt:Relation:restriction

restriction
Descrição
Usado para indicar proibição de sentidos de trânsito, por ex. proibido inverter sentido de marcha, proibido virar à esquerda, etc. 
Grupo: Restrições
Membros
  • - from
  • - to
  • - via
  • - location_hint
Situação: de facto

Esta é a proposta para o grupo de tags e membros que juntos formam uma Relação que representa uma restrição de conversão ou outra restrição (você não pode efetuar a conversão - você não pode seguir em frente).

Podem haver várias restrições em uma junção, representadas por diversas relações.

Você não precisa sinalizar uma restrição de conversão para vias que são de mão única - nós levamos o sentido da via em conta.

Etiquetas

Chave Valor Explicação
typerestriction
restrictiononly_left_turn / no_left_turn /
only_right_turn / no_right_turn /
only_straight_on / no_straight_on /
only_u_turn / no_u_turn

Se o prefixo é "no_", então não é possível ir do membro "from" para o membro "to"; se o prefixo é "only_", então é permitido ir apenas do membro "from" para o membro "to".
Os membros "from" e "to" devem começar/terminar no nó "via" (veja (1)).

exceptpsv / bicycle / hgv / motorcarA restrição não se aplica aos veículos deste tipo. (para mais de um tipo: except=bicycle;psv)
day_ondia da semana (em inglês)Exemplo: para não permitir conversão à direita nos picos da manhã dos dias úteis: day_on=Monday;day_off=Friday;hour_on=07:30;hour_off=09:30
day_offdia da semana (em inglês)
hour_onhora do dia
hour_offhora do dia
(1) Se um caminho não começa ou termina no nó "via", divida-o!

Membros

Nó ou caminho Regra Recorrência? Discussão
from 1 o caminho onde a restrição começa(ex.: proibida conversão à direita a partir daqui)
to 1 o outro lado da restrição

via node: 1
way: 1 ou mais
the nodes or way between the end points across which you would travel if the turn weren't restricted - may just be the simple intersection of the two ways, or consider a dual carriageway where you can't turn across it, where via would be the nodes on each carriageway and/or the little way connecting the two carriageways.
location_hint 1 (opcional) uma dica para o renderizador de onde é o melhor lugar para posicionar o símbolo indicativo da restrição. Ex.: em um cruzamento norte/sul/leste/oeste, onde você não pode fazer a conversão do sul para o leste, você pode colocar um nó a sudeste do cruzamento, e o renderizador colocará a placa ali.

Superposition of restrictions

In some cases two or more restriction relations have to be combined in order to map the situation. A combination of restriction relations which share the same way as role 'from' and the same elements (one node or one or more ways) as role 'via' but have different ways as their roles 'to' is called "superposition". The following table shows examples of superpositions.

Map Tags, Members and Roles Descriptions
Two restrictions with restriction=no_...
  • way a has role 'from' in restriction 1 and restriction 2
  • node N has role 'via' in restriction 1 and restriction 2
  • way b has role 'to' in restriction 2
  • way c has role 'to' in restriction 1
Coming from a, turning to b and c is forbidden. So turning to a (u-turn), d, e and f is allowed.
Two restrictions with restriction=only_...
  • way a has role 'from' in restriction 1 and restriction 2
  • node N has role 'via' in restriction 1 and restriction 2
  • way d has role 'to' in restriction 2
  • way e has role 'to' in restriction 1
Coming from a, only turning to d and e is allowed. So turning to a (u-turn), b, c, f and g is forbidden.

A superposition can consist of either restrictions with restriction=no_... or restrictions with restriction=only_... exclusively. A superposition which consists of both is an error.

Placas de Trânsito

Placa Restrição Observações
1 a restriction=only_left_turn normalmente aparece ao se aproximar do cruzament
1 b restriction=only_left_turn normalmente aparece no cruzamento
1 c restriction=only_left_turn Brasil, Argentina, México
1 d restriction=only_left_turn Brasil, Argentina, México
2 restriction=no_left_turn França, Espanha, Polônia, Irlanda, Reino Unido, Suíça, Brasil, Austrália, Estados Unidos
3 a restriction=only_right_turn normalmente aparece ao se aproximar do cruzament
3 b restriction=only_right_turn normalmente aparece no cruzamento
3 c restriction=only_right_turn Brasil, Argentina, México
3 d restriction=only_right_turn Brasil, Argentina, México
4 restriction=no_right_turn França, Espanha, Polônia, Irlanda, Reino Unido, Suíça, Brasil, Austrália, Estados Unidos
5 a restriction=only_straight_on Rússia, Reino Unido
5 b restriction=only_straight_on Brasil, Argentina, México
6 restriction=no_straight_on Irlanda, Brasil (Estados Unidos, Reino Unido e França não usam esta placa - neste caso, você se deparará com uma placa de Não Entre)
7 a restriction=only_u_turn Israel, Áustria
7 b restriction=only_u_turn Israel
8 a restriction=no_u_turn Alemanha, França, Espanha, Polônia, Suécia, Brasil, Holanda, Estados Unidos
8 b restriction=no_u_turn Reino Unido, Austrália
9 a restriction=only_straight_on +
restriction=only_u_turn
Israel
9 b restriction=only_straight_on +
restriction=only_u_turn
Israel
10 a restriction=only_straight_on +
restriction=only_left_turn
Alemanha, Itália, Holanda
10 b restriction=only_straight_on +
restriction=only_left_turn
Brasil, Argentina, México
11 a restriction=only_straight_on +
restriction=only_right_turn
Alemanha, Itália, Holanda
11 b restriction=only_straight_on +
restriction=only_right_turn
Brasil, Argentina, México
12 a restriction=only_left_turn +
restriction=only_right_turn
Alemanha, Polônia, Suíça, Holanda (RVV 1990, sign D7)
12 b restriction=only_left_turn +
restriction=only_right_turn
Brasil, Argentina, México

Obviamente, a tabela acima não é exaustiva. Ex.: as placas suecas tem um fundo amarelo ao invés de branco. No entanto, com as placas acima ficará fácil de entender a chave-valor restriction=xy para a maioria dos países.

No Brasil, todas as placas nesta categoria não importa se permissiva ou proibitiva, são uma placa vermelha redonda com a seta apontando para a direção. As proibitivas possuem uma faixa vermelha em diagonal (similar a 1-6, 9-11), enquanto que as permissivas não tem.

Exemplos

MapaTag e MembrosDescrição
type=restriction

restriction=only_right_turn
caminho a tem a regra 'from'
caminho b tem a regra 'to'
N tem a regra 'via'

Passando pelo caminho a e chegando no nó N, é permitido apenas conversões à direita para b. Portanto, conversões à esquerda são proibidas.
type=restriction

Combination of two restrictions:
restriction=only_straight_on +
restriction=only_right_turn

  • way a has role 'from' in both restrictions
  • node N has role 'via' in both restrictions
  • way c has role 'to' in the first restriction
  • way b has role 'to' in the second restriction
Coming from a only going straight on to c or turning to b is allowed at N. Two restrictions have to be combined to express this situation. Each of the other 3 directions at this crossing has to be defined separately.
type=restriction

restriction=no_left_turn

  • way a has role 'from'
  • way d has role 'to'
  • node P has role 'via'
At P coming from a turning left to d is forbidden. So going straight on to c or turning right to b or returning to a (u-turn) is allowed.

Referências

    Errors

    Veja também

    Ferramentas

    This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.