Fix: don't add buildings to database, reevaluate builddb script

This commit is contained in:
Pieter Vander Vennet 2024-09-19 18:48:03 +02:00
parent 3a8fc4248b
commit ce87edf800
6 changed files with 15 additions and 13 deletions

View file

@ -789,7 +789,7 @@
], ],
"overrideAll": { "overrideAll": {
"minzoom": 17, "minzoom": 17,
"doCount": false "isCounted": false
}, },
"overpassMaxZoom": 15, "overpassMaxZoom": 15,
"osmApiTileSize": 17, "osmApiTileSize": 17,

View file

@ -120,7 +120,7 @@
"override": { "override": {
"=presets": [], "=presets": [],
"name": null, "name": null,
"doCount": false, "isCounted": false,
"minzoom": 18 "minzoom": 18
} }
} }

View file

@ -112,7 +112,7 @@
"minzoom": 18, "minzoom": 18,
"=presets": [], "=presets": [],
"=name": null, "=name": null,
"doCount": false, "isCounted": false,
"=filter": { "=filter": {
"sameAs": "erotic_shop" "sameAs": "erotic_shop"
} }
@ -188,7 +188,7 @@
"override": { "override": {
"minzoom": 18, "minzoom": 18,
"=presets": [], "=presets": [],
"doCount": false, "isCounted": false,
"=name": null "=name": null
} }
}, },
@ -267,7 +267,7 @@
"override": { "override": {
"minzoom": 18, "minzoom": 18,
"=presets": [], "=presets": [],
"doCount": false, "isCounted": false,
"=name": null "=name": null
} }
}, },
@ -302,7 +302,7 @@
] ]
} }
], ],
"doCount": false, "isCounted": false,
"=presets": [] "=presets": []
} }
} }

View file

@ -397,7 +397,7 @@
"leftover-questions" "leftover-questions"
], ],
"override": { "override": {
"doCount": false, "isCounted": false,
"minzoom": 14, "minzoom": 14,
"+tagRenderings": [ "+tagRenderings": [
"questions", "questions",
@ -427,7 +427,7 @@
"+tagRenderings": [ "+tagRenderings": [
"questions" "questions"
], ],
"doCount": false, "isCounted": false,
"minzoom": 18 "minzoom": 18
} }
}, },

View file

@ -35,7 +35,7 @@
"override": { "override": {
"id": "all_vending_machine", "id": "all_vending_machine",
"name": null, "name": null,
"doCount": false, "isCounted": false,
"filter": { "filter": {
"sameAs": "vending_machine" "sameAs": "vending_machine"
}, },
@ -54,7 +54,7 @@
{ {
"builtin": "parking_ticket_machine", "builtin": "parking_ticket_machine",
"override": { "override": {
"doCount": false, "isCounted": false,
"name": null, "name": null,
"minzoom": 18 "minzoom": 18
} }
@ -62,7 +62,7 @@
{ {
"builtin": "elongated_coin", "builtin": "elongated_coin",
"override": { "override": {
"doCount": false, "isCounted": false,
"name": null, "name": null,
"minzoom": 18 "minzoom": 18
} }
@ -70,7 +70,7 @@
{ {
"builtin": "ticket_machine", "builtin": "ticket_machine",
"override": { "override": {
"doCount": false, "isCounted": false,
"name": null, "name": null,
"minzoom": 18 "minzoom": 18
} }

View file

@ -43,9 +43,11 @@ class LuaSnippets {
or.push(new RegexTag(k, v)) or.push(new RegexTag(k, v))
}) })
}) })
const features = or.map((t) => t.asHumanString(false, false, {}))
features.sort()
console.log( console.log(
"Polygon features are:", "Polygon features are:",
or.map((t) => t.asHumanString(false, false, {})) features
) )
return { blacklist: new Or(blacklisted), whitelisted: new Or(or) } return { blacklist: new Or(blacklisted), whitelisted: new Or(or) }
} }