Skip to content

Commit

Permalink
Add exit rotary/roundabout (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobby Sudekum authored Sep 11, 2017
1 parent 7f86c6c commit e88b599
Show file tree
Hide file tree
Showing 82 changed files with 2,068 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ constants.types = [
'rotary',
'roundabout',
'roundabout turn',
'exit roundabout',
'exit rotary',
'turn',
'use lane'
];
Expand Down
25 changes: 25 additions & 0 deletions test/fixtures/v5/exit_rotary/left_default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "left"
},
"name": ""
},
"instructions": {
"de": "Links abbiegen",
"en": "Turn left",
"es": "Gire a la izquierda",
"fr": "Tourner à gauche",
"id": "Belok kiri",
"it": "Svolta a sinistra",
"nl": "Ga linksaf",
"pl": "Skręć w lewo",
"pt-BR": "Vire à esquerda",
"ru": "Поверните налево",
"sv": "Sväng vänster",
"uk": "Поверніть ліворуч",
"vi": "Quẹo trái",
"zh-Hans": "左转"
}
}
26 changes: 26 additions & 0 deletions test/fixtures/v5/exit_rotary/left_destination.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "left"
},
"name": "Way Name",
"destinations": "Destination 1,Destination 2"
},
"instructions": {
"de": "Links abbiegen Richtung Destination 1",
"en": "Turn left towards Destination 1",
"es": "Gire a la izquierda hacia Destination 1",
"fr": "Tourner à gauche en direction de Destination 1",
"id": "Belok kiri menuju Destination 1",
"it": "Svolta a sinistra verso Destination 1",
"nl": "Ga linksaf richting Destination 1",
"pl": "Skręć w lewo w kierunku Destination 1",
"pt-BR": "Vire à esquerda sentido Destination 1",
"ru": "Поверните налево в направлении Destination 1",
"sv": "Sväng vänster mot Destination 1",
"uk": "Поверніть ліворуч у напрямку Destination 1",
"vi": "Quẹo trái đến Destination 1",
"zh-Hans": "左转,前往Destination 1"
}
}
26 changes: 26 additions & 0 deletions test/fixtures/v5/exit_rotary/left_exit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "left"
},
"name": "Way Name",
"exits": "4A;4B"
},
"instructions": {
"de": "Links abbiegen auf Way Name",
"en": "Turn left onto Way Name",
"es": "Gire a la izquierda en Way Name",
"fr": "Tourner à gauche sur Way Name",
"id": "Belok kiri ke Way Name",
"it": "Svolta a sinistra in Way Name",
"nl": "Ga linksaf naar Way Name",
"pl": "Skręć w lewo na Way Name",
"pt-BR": "Vire à esquerda em Way Name",
"ru": "Поверните налево на Way Name",
"sv": "Sväng vänster in på Way Name",
"uk": "Поверніть ліворуч на Way Name",
"vi": "Quẹo trái vào Way Name",
"zh-Hans": "左转,上Way Name"
}
}
27 changes: 27 additions & 0 deletions test/fixtures/v5/exit_rotary/left_exit_destination.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "left"
},
"name": "Way Name",
"destinations": "Destination 1,Destination 2",
"exits": "4A;4B"
},
"instructions": {
"de": "Links abbiegen Richtung Destination 1",
"en": "Turn left towards Destination 1",
"es": "Gire a la izquierda hacia Destination 1",
"fr": "Tourner à gauche en direction de Destination 1",
"id": "Belok kiri menuju Destination 1",
"it": "Svolta a sinistra verso Destination 1",
"nl": "Ga linksaf richting Destination 1",
"pl": "Skręć w lewo w kierunku Destination 1",
"pt-BR": "Vire à esquerda sentido Destination 1",
"ru": "Поверните налево в направлении Destination 1",
"sv": "Sväng vänster mot Destination 1",
"uk": "Поверніть ліворуч у напрямку Destination 1",
"vi": "Quẹo trái đến Destination 1",
"zh-Hans": "左转,前往Destination 1"
}
}
25 changes: 25 additions & 0 deletions test/fixtures/v5/exit_rotary/left_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "left"
},
"name": "Way Name"
},
"instructions": {
"de": "Links abbiegen auf Way Name",
"en": "Turn left onto Way Name",
"es": "Gire a la izquierda en Way Name",
"fr": "Tourner à gauche sur Way Name",
"id": "Belok kiri ke Way Name",
"it": "Svolta a sinistra in Way Name",
"nl": "Ga linksaf naar Way Name",
"pl": "Skręć w lewo na Way Name",
"pt-BR": "Vire à esquerda em Way Name",
"ru": "Поверните налево на Way Name",
"sv": "Sväng vänster in på Way Name",
"uk": "Поверніть ліворуч на Way Name",
"vi": "Quẹo trái vào Way Name",
"zh-Hans": "左转,上Way Name"
}
}
25 changes: 25 additions & 0 deletions test/fixtures/v5/exit_rotary/right_default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "right"
},
"name": ""
},
"instructions": {
"de": "Rechts abbiegen",
"en": "Turn right",
"es": "Gire a la derecha",
"fr": "Tourner à droite",
"id": "Belok kanan",
"it": "Gira a destra",
"nl": "Ga rechtsaf",
"pl": "Skręć w prawo",
"pt-BR": "Vire à direita",
"ru": "Поверните направо",
"sv": "Sväng höger",
"uk": "Поверніть праворуч",
"vi": "Quẹo phải",
"zh-Hans": "右转"
}
}
26 changes: 26 additions & 0 deletions test/fixtures/v5/exit_rotary/right_destination.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "right"
},
"name": "Way Name",
"destinations": "Destination 1,Destination 2"
},
"instructions": {
"de": "Rechts abbiegen Richtung Destination 1",
"en": "Turn right towards Destination 1",
"es": "Gire a la derecha hacia Destination 1",
"fr": "Tourner à droite en direction de Destination 1",
"id": "Belok kanan menuju Destination 1",
"it": "Svolta a destra verso Destination 1",
"nl": "Ga rechtsaf richting Destination 1",
"pl": "Skręć w prawo w kierunku Destination 1",
"pt-BR": "Vire à direita sentido Destination 1",
"ru": "Поверните направо в направлении Destination 1",
"sv": "Sväng höger mot Destination 1",
"uk": "Поверніть праворуч у напрямку Destination 1",
"vi": "Quẹo phải đến Destination 1",
"zh-Hans": "右转,前往Destination 1"
}
}
26 changes: 26 additions & 0 deletions test/fixtures/v5/exit_rotary/right_exit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "right"
},
"name": "Way Name",
"exits": "4A;4B"
},
"instructions": {
"de": "Rechts abbiegen auf Way Name",
"en": "Turn right onto Way Name",
"es": "Gire a la derecha en Way Name",
"fr": "Tourner à droite sur Way Name",
"id": "Belok kanan ke Way Name",
"it": "Svolta a destra in Way Name",
"nl": "Ga rechtsaf naar Way Name",
"pl": "Skręć w prawo na Way Name",
"pt-BR": "Vire à direita em Way Name",
"ru": "Поверните направо на Way Name",
"sv": "Sväng höger in på Way Name",
"uk": "Поверніть праворуч на Way Name",
"vi": "Quẹo phải vào Way Name",
"zh-Hans": "右转,上Way Name"
}
}
27 changes: 27 additions & 0 deletions test/fixtures/v5/exit_rotary/right_exit_destination.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "right"
},
"name": "Way Name",
"destinations": "Destination 1,Destination 2",
"exits": "4A;4B"
},
"instructions": {
"de": "Rechts abbiegen Richtung Destination 1",
"en": "Turn right towards Destination 1",
"es": "Gire a la derecha hacia Destination 1",
"fr": "Tourner à droite en direction de Destination 1",
"id": "Belok kanan menuju Destination 1",
"it": "Svolta a destra verso Destination 1",
"nl": "Ga rechtsaf richting Destination 1",
"pl": "Skręć w prawo w kierunku Destination 1",
"pt-BR": "Vire à direita sentido Destination 1",
"ru": "Поверните направо в направлении Destination 1",
"sv": "Sväng höger mot Destination 1",
"uk": "Поверніть праворуч у напрямку Destination 1",
"vi": "Quẹo phải đến Destination 1",
"zh-Hans": "右转,前往Destination 1"
}
}
25 changes: 25 additions & 0 deletions test/fixtures/v5/exit_rotary/right_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "right"
},
"name": "Way Name"
},
"instructions": {
"de": "Rechts abbiegen auf Way Name",
"en": "Turn right onto Way Name",
"es": "Gire a la derecha en Way Name",
"fr": "Tourner à droite sur Way Name",
"id": "Belok kanan ke Way Name",
"it": "Svolta a destra in Way Name",
"nl": "Ga rechtsaf naar Way Name",
"pl": "Skręć w prawo na Way Name",
"pt-BR": "Vire à direita em Way Name",
"ru": "Поверните направо на Way Name",
"sv": "Sväng höger in på Way Name",
"uk": "Поверніть праворуч на Way Name",
"vi": "Quẹo phải vào Way Name",
"zh-Hans": "右转,上Way Name"
}
}
25 changes: 25 additions & 0 deletions test/fixtures/v5/exit_rotary/sharp_left_default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "sharp left"
},
"name": ""
},
"instructions": {
"de": "Scharf links abbiegen",
"en": "Make a sharp left",
"es": "Siga cerrada a la izquierda",
"fr": "Tourner franchement à gauche",
"id": "Lakukan tajam kiri",
"it": "Fai una sinistra",
"nl": "Ga linksaf",
"pl": "Ostro w lewo",
"pt-BR": "Siga acentuadamente à esquerda",
"ru": "Двигайтесь налево",
"sv": "Sväng vänster",
"uk": "Рухайтесь різко ліворуч",
"vi": "Quẹo trái gắt",
"zh-Hans": "向左转弯"
}
}
26 changes: 26 additions & 0 deletions test/fixtures/v5/exit_rotary/sharp_left_destination.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "sharp left"
},
"name": "Way Name",
"destinations": "Destination 1,Destination 2"
},
"instructions": {
"de": "Scharf links abbiegen Richtung Destination 1",
"en": "Make a sharp left towards Destination 1",
"es": "Siga cerrada a la izquierda hacia Destination 1",
"fr": "Tourner franchement à gauche en direction de Destination 1",
"id": "Lakukan tajam kiri menuju Destination 1",
"it": "Fai una sinistra verso Destination 1",
"nl": "Ga linksaf richting Destination 1",
"pl": "Ostro w lewo w kierunku Destination 1",
"pt-BR": "Siga acentuadamente à esquerda sentido Destination 1",
"ru": "Двигайтесь налево в направлении Destination 1",
"sv": "Sväng vänster mot Destination 1",
"uk": "Рухайтесь різко ліворуч в напрямку Destination 1",
"vi": "Quẹo trái gắt đến Destination 1",
"zh-Hans": "向左转弯,前往Destination 1"
}
}
26 changes: 26 additions & 0 deletions test/fixtures/v5/exit_rotary/sharp_left_exit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "sharp left"
},
"name": "Way Name",
"exits": "4A;4B"
},
"instructions": {
"de": "Scharf links abbiegen auf Way Name",
"en": "Make a sharp left onto Way Name",
"es": "Siga cerrada a la izquierda en Way Name",
"fr": "Tourner franchement à gauche sur Way Name",
"id": "Lakukan tajam kiri ke arah Way Name",
"it": "Fai una sinistra in Way Name",
"nl": "Ga linksaf naar Way Name",
"pl": "Ostro w lewo na Way Name",
"pt-BR": "Siga acentuadamente à esquerda em Way Name",
"ru": "Двигайтесь налево на Way Name",
"sv": "Sväng vänster in på Way Name",
"uk": "Рухайтесь різко ліворуч на Way Name",
"vi": "Quẹo trái gắt vào Way Name",
"zh-Hans": "向左转弯,上Way Name"
}
}
27 changes: 27 additions & 0 deletions test/fixtures/v5/exit_rotary/sharp_left_exit_destination.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"step": {
"maneuver": {
"type": "exit rotary",
"modifier": "sharp left"
},
"name": "Way Name",
"destinations": "Destination 1,Destination 2",
"exits": "4A;4B"
},
"instructions": {
"de": "Scharf links abbiegen Richtung Destination 1",
"en": "Make a sharp left towards Destination 1",
"es": "Siga cerrada a la izquierda hacia Destination 1",
"fr": "Tourner franchement à gauche en direction de Destination 1",
"id": "Lakukan tajam kiri menuju Destination 1",
"it": "Fai una sinistra verso Destination 1",
"nl": "Ga linksaf richting Destination 1",
"pl": "Ostro w lewo w kierunku Destination 1",
"pt-BR": "Siga acentuadamente à esquerda sentido Destination 1",
"ru": "Двигайтесь налево в направлении Destination 1",
"sv": "Sväng vänster mot Destination 1",
"uk": "Рухайтесь різко ліворуч в напрямку Destination 1",
"vi": "Quẹo trái gắt đến Destination 1",
"zh-Hans": "向左转弯,前往Destination 1"
}
}
Loading

0 comments on commit e88b599

Please sign in to comment.