Add roof shape and roof height fields to building presets (#1552)

Co-authored-by: Tobias <t@tobiasjordans.de>
This commit is contained in:
trs998
2025-06-06 08:46:05 +01:00
committed by GitHub
parent 4ab2240947
commit e9f520a613
5 changed files with 37 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"key": "roof:height",
"minValue": 0,
"type": "number",
"label": "Roof Height (Meters)"
}
+23
View File
@@ -0,0 +1,23 @@
{
"key": "roof:shape",
"type": "combo",
"label": "Roof Shape",
"strings": {
"options": {
"flat": "Flat",
"gabled": "Gabled",
"skillion": "Skillion",
"hipped": "Hipped",
"half-hipped": "Half-Hipped",
"mansard": "Mansard",
"gambrel": "Gambrel",
"pyramidal": "Pyramidal",
"cone": "Cone",
"dome": "Dome",
"onion": "Onion",
"round": "Round"
}
},
"autoSuggestions": true,
"customValues": false
}
+2
View File
@@ -19,6 +19,8 @@
"not/name",
"operator",
"roof/colour",
"roof/shape",
"roof/height",
"smoking",
"wheelchair"
],
+3 -1
View File
@@ -17,7 +17,9 @@
"gnis/feature_id-US",
"not/name",
"operator",
"roof/colour"
"roof/colour",
"roof/shape",
"roof/height"
],
"geometry": [
"area"
+3 -1
View File
@@ -6,7 +6,9 @@
"height",
"building/material",
"building/colour",
"roof/colour"
"roof/colour",
"roof/height",
"roof/shape"
],
"moreFields": [
"layer"