Skip to content

Commit

Permalink
Merge remote-tracking branch 'tordans/parking_directionalcombo' into …
Browse files Browse the repository at this point in the history
…main

(keeping moreFields sorted alphabetically)
  • Loading branch information
tyrasd committed Jan 20, 2023
2 parents 8281299 + a319517 commit 9391e2f
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 0 deletions.
25 changes: 25 additions & 0 deletions data/fields/parking/side/orientation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"key": "parking:both:orientation",
"keys": [
"parking:left:orientation",
"parking:right:orientation"
],
"reference": {
"key": "parking:orientation"
},
"type": "directionalCombo",
"label": "Parking orientation",
"strings": {
"types": {
"parking:left:orientation": "Left side",
"parking:right:orientation": "Right side"
},
"options": {
"parallel": "Parallel to the Street",
"diagonal": "Diagonal in Relation to the Street (~45°)",
"perpendicular": "Meets the Street at a Straight Angle (~90°)"
}
},
"autoSuggestions": false,
"customValues": false
}
30 changes: 30 additions & 0 deletions data/fields/parking/side/parking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"key": "parking:both",
"keys": [
"parking:left",
"parking:right"
],
"reference": {
"key": "parking"
},
"type": "directionalCombo",
"label": "Parking",
"strings": {
"types": {
"parking:left": "Left side",
"parking:right": "Right side"
},
"options": {
"lane": "Roadside Lane",
"street_side": "Street-Side",
"on_kerb": "On Kerb",
"half_on_kerb": "Half On Kerb",
"shoulder": "Shoulder",
"no": "No",
"separate": "Parking mapped separately",
"yes": "Yes (unspecified)"
}
},
"autoSuggestions": false,
"customValues": false
}
2 changes: 2 additions & 0 deletions data/presets/highway/living_street.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"maxweight_bridge",
"maxwidth",
"oneway/bicycle",
"parking/side/parking",
"parking/side/orientation",
"smoothness",
"trolley_wire",
"width"
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/primary.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
"maxwidth",
"not/name",
"oneway/bicycle",
"parking/side/parking",
"parking/side/orientation",
"smoothness",
"toll",
"trolley_wire",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/primary_link.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"maxweight_bridge",
"maxwidth",
"oneway/bicycle",
"parking/side/parking",
"parking/side/orientation",
"ref_road_number",
"smoothness",
"toll",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/residential.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"maxwidth",
"not/name",
"oneway/bicycle",
"parking/side/parking",
"parking/side/orientation",
"smoothness",
"trolley_wire",
"width"
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"maxweight_bridge",
"maxwidth",
"oneway/bicycle",
"parking/side/parking",
"parking/side/orientation",
"smoothness",
"trolley_wire",
"width"
Expand Down
27 changes: 27 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2871,6 +2871,33 @@ en:
parallel: Parallel to the Street
# parking:orientation=perpendicular
perpendicular: Meets the Street at a Straight Angle
parking/side/orientation:
# parking:both:orientation=*, parking:left:orientation=*, parking:right:orientation=*
label: Parking orientation
options:
diagonal: Diagonal in Relation to the Street (~45°)
parallel: Parallel to the Street
perpendicular: Meets the Street at a Straight Angle (~90°)
terms: '[translate with synonyms or related terms for ''Parking orientation'', separated by commas]'
types:
parking:left:orientation: Left side
parking:right:orientation: Right side
parking/side/parking:
# parking:both=*, parking:left=*, parking:right=*
label: Parking
options:
half_on_kerb: Half On Kerb
lane: Roadside Lane
'no': 'No'
on_kerb: On Kerb
separate: Parking mapped separately
shoulder: Shoulder
street_side: Street-Side
'yes': Yes (unspecified)
terms: '[translate with synonyms or related terms for ''Parking'', separated by commas]'
types:
parking:left: Left side
parking:right: Right side
parking_entrance:
# parking=*
label: Type
Expand Down

0 comments on commit 9391e2f

Please sign in to comment.