Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fields for parking:both|left|right and parking:both|left|right:orientation #744

Merged
merged 4 commits into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
4 changes: 3 additions & 1 deletion data/presets/highway/living_street.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"oneway/bicycle",
"smoothness",
"trolley_wire",
"width"
"width",
"parking/side/parking",
"parking/side/orientation"
],
"geometry": [
"line"
Expand Down
4 changes: 3 additions & 1 deletion data/presets/highway/primary.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"toll",
"traffic_calming",
"trolley_wire",
"width"
"width",
"parking/side/parking",
"parking/side/orientation"
],
"geometry": [
"line"
Expand Down
4 changes: 3 additions & 1 deletion data/presets/highway/primary_link.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"smoothness",
"toll",
"trolley_wire",
"width"
"width",
"parking/side/parking",
"parking/side/orientation"
],
"geometry": [
"line"
Expand Down
4 changes: 3 additions & 1 deletion data/presets/highway/residential.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"smoothness",
"traffic_calming",
"trolley_wire",
"width"
"width",
"parking/side/parking",
"parking/side/orientation"
],
"geometry": [
"line"
Expand Down
4 changes: 3 additions & 1 deletion data/presets/highway/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"smoothness",
"traffic_calming",
"trolley_wire",
"width"
"width",
"parking/side/parking",
"parking/side/orientation"
],
"geometry": [
"line"
Expand Down
27 changes: 27 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2707,6 +2707,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