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 strings for house= field and disable Taginfo suggestions #1412

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
35 changes: 34 additions & 1 deletion data/fields/house.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
{
"key": "house",
"type": "combo",
"label": "House Type"
"label": "House Type",
"strings": {
"options": {
"bungalow": {
"title": "Bungalow",
"description": "A small house with a single storey"
},
"detached": {
"title": "Detached House",
"description": "A house that is not connected to any other houses"
},
"link-detached": {
"title": "Link-Detached House",
"description": "A house that is connected to another house by a garage or other non-living area"
},
"maisonette": {
"title": "Maisonette",
"description": "A residential dwelling, split over two floors with private external entrances rather than a communal entrance"
},
"semi-detached": {
"title": "Semi-Detached House",
"description": "A house that is attached to another house on one side"
},
"terrace": {
"title": "Row of Terraced Houses",
"description": "A row of houses that are attached to each other in a line"
},
"terraced": {
"title": "Terraced House",
"description": "Individual house in a row of terraced houses"
}
}
},
"autoSuggestions": false
}
4 changes: 2 additions & 2 deletions data/presets/building/house.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"area"
],
"fields": [
"{building}",
"house"
"house",
"{building}"
],
"tags": {
"building": "house"
Expand Down
4 changes: 4 additions & 0 deletions data/presets/building/house/_detached.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"geometry": [
"area"
],
"fields": [
"house",
"{building}"
],
"tags": {
"building": "house",
"house": "detached"
Expand Down
4 changes: 4 additions & 0 deletions data/presets/building/house/_semi-detached.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"geometry": [
"area"
],
"fields": [
"house",
"{building}"
],
"tags": {
"building": "house",
"house": "semi-detached"
Expand Down
4 changes: 4 additions & 0 deletions data/presets/building/house/_terrace.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"geometry": [
"area"
],
"fields": [
"house",
"{building}"
],
"tags": {
"building": "house",
"house": "terrace"
Expand Down
4 changes: 4 additions & 0 deletions data/presets/building/house/terraced.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"geometry": [
"area"
],
"fields": [
"house",
"{building}"
],
"tags": {
"building": "house",
"house": "terraced"
Expand Down
Loading