Skip to content

Commit

Permalink
Garage(s): Only keep capacity as fields (#423)
Browse files Browse the repository at this point in the history
* garages: Only keep capacity as field

Move fields from from https://github.com/openstreetmap/id-tagging-schema/blob/main/data/presets/building.json to the moreFields section to only show very relevant fields by default.

* garage: Use same fields as garages

* fix json syntax

… and use template syntax to tidy up moreFields list slightly

* fix json syntax

and also copy "moreFields" from building/garages preset

Co-authored-by: Martin Raifer <martin@raifer.tech>
  • Loading branch information
tordans and tyrasd authored May 12, 2022
1 parent bd0413d commit 7b1b424
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions data/presets/building/garage.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"icon": "fas-warehouse",
"fields": [
"{building}",
"capacity"
"{building/garages}"
],
"moreFields": [
"{building/garages}"
],
"geometry": [
"area"
Expand Down
9 changes: 8 additions & 1 deletion data/presets/building/garages.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"icon": "fas-warehouse",
"fields": [
"{building}",
"capacity"
],
"moreFields": [
"name",
"building",
"building/levels",
"height",
"address",
"{building}"
],
"geometry": [
"area"
],
Expand Down

0 comments on commit 7b1b424

Please sign in to comment.