Pt:Relation:restriction

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg restriction
France road sign B2b.svg
Descrição
Usado para indicar proibição de sentidos de trânsito, por ex. proibido inverter sentido de marcha, proibido virar à esquerda, etc. Show/edit corresponding data item.
Grupo: Restrições
Membros
  • caminho - from
  • caminho - to
  • caminho nó - via
  • nó - 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
type restriction
restriction only_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)).

except psv / bicycle / hgv / motorcar A restrição não se aplica aos veículos deste tipo. (para mais de um tipo: except=bicycle;psv)
day_on dia 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_off dia da semana (em inglês)
hour_on hora do dia
hour_off hora 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
caminho from 1 o caminho onde a restrição começa(ex.: proibida conversão à direita a partir daqui)
caminho to 1 o outro lado da restrição
nó
caminho
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.
nó 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
Combined no.png 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.
Combined only.png 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 Zeichen 209-10 - Vorgeschriebene Fahrtrichtung (links), StVO 1992.svg restriction=only_left_turn normalmente aparece ao se aproximar do cruzament
1 b Zeichen 211-10 - Vorgeschriebene Fahrtrichtung, hier links, StVO 2017.svg restriction=only_left_turn normalmente aparece no cruzamento
1 c Only left turn br.png restriction=only_left_turn Brasil, Argentina, México
1 d Only left turn br2.png restriction=only_left_turn Brasil, Argentina, México
2 France road sign B2a.svg restriction=no_left_turn França, Espanha, Polônia, Irlanda, Reino Unido, Suíça, Brasil, Austrália, Estados Unidos
3 a Zeichen 209 - Vorgeschriebene Fahrtrichtung, rechts, StVO 2017.svg restriction=only_right_turn normalmente aparece ao se aproximar do cruzament
3 b Zeichen 211 - Vorgeschriebene Fahrtrichtung, hier rechts, StVO 2017.svg restriction=only_right_turn normalmente aparece no cruzamento
3 c Only right turn br.png restriction=only_right_turn Brasil, Argentina, México
3 d Only right turn br2.png restriction=only_right_turn Brasil, Argentina, México
4 France road sign B2b.svg restriction=no_right_turn França, Espanha, Polônia, Irlanda, Reino Unido, Suíça, Brasil, Austrália, Estados Unidos
5 a Zeichen 209-30 - vorgeschriebene Fahrtrichtung - geradeaus, StVO 1992.svg restriction=only_straight_on Rússia, Reino Unido
5 b Only straight on br.png restriction=only_straight_on Brasil, Argentina, México
6 No straight on b.png 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 Only u turn.png restriction=only_u_turn Israel, Áustria
7 b Only u turn right.png restriction=only_u_turn Israel
8 a No u turn a.png restriction=no_u_turn Alemanha, França, Espanha, Polônia, Suécia, Brasil, Holanda, Estados Unidos
8 b No u turn b.png restriction=no_u_turn Reino Unido, Austrália
9 a Only straight on or u turn left.png restriction=only_straight_on +
restriction=only_u_turn
Israel
9 b Only straight on or u turn right.png restriction=only_straight_on +
restriction=only_u_turn
Israel
10 a Zeichen 214-10 - Vorgeschriebene Fahrtrichtung geradeaus und links, StVO 1992.svg restriction=only_straight_on +
restriction=only_left_turn
Alemanha, Itália, Holanda
10 b Only straight on or left turn br.png restriction=only_straight_on +
restriction=only_left_turn
Brasil, Argentina, México
11 a Zeichen 214-20 - Vorgeschriebene Fahrtrichtung geradeaus und rechts, StVO 1992.svg restriction=only_straight_on +
restriction=only_right_turn
Alemanha, Itália, Holanda
11 b Only straight on or right turn br.png restriction=only_straight_on +
restriction=only_right_turn
Brasil, Argentina, México
12 a Zeichen 209-31 - vorgeschriebene Fahrtrichtung - rechts und links, StVO 1992.svg restriction=only_left_turn +
restriction=only_right_turn
Alemanha, Polônia, Suíça, Holanda (RVV 1990, sign D7)
12 b Only left turn or right turn br.png 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

Mapa Tag e Membros Descrição
Only right restriction.png 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.
Restriction only straight on and right.png 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.
Restriction no left.png 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