Skip to content

Commit

Permalink
Add lanes field (fixes #1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Apr 11, 2013
1 parent 4a96021 commit ee07b01
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ locale.en = {
"landuse": {
"label": "Type"
},
"lanes": {
"label": "Lanes"
},
"layer": {
"label": "Layer"
},
Expand Down
2 changes: 2 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ en:
terminal: Terminal
landuse:
label: Type
lanes:
label: Lanes
layer:
label: Layer
leisure:
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@
"type": "combo",
"label": "Type"
},
"lanes": {
"key": "lanes",
"type": "number",
"label": "Lanes"
},
"layer": {
"key": "layer",
"type": "combo",
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields/lanes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "lanes",
"type": "number",
"label": "Lanes"
}
5 changes: 5 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down Expand Up @@ -1283,6 +1284,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down Expand Up @@ -1361,6 +1363,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down Expand Up @@ -1440,6 +1443,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down Expand Up @@ -1515,6 +1519,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/motorway.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/primary.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/secondary.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/tertiary.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/trunk.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"oneway",
"structure",
"access",
"lanes",
"maxspeed",
"surface",
"ref"
Expand Down

0 comments on commit ee07b01

Please sign in to comment.