Skip to content

Commit

Permalink
Fix: don't add buildings to database, reevaluate builddb script
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervdvn committed Sep 19, 2024
1 parent 3a8fc42 commit ce87edf
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion assets/themes/grb/grb.json
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@
],
"overrideAll": {
"minzoom": 17,
"doCount": false
"isCounted": false
},
"overpassMaxZoom": 15,
"osmApiTileSize": 17,
Expand Down
2 changes: 1 addition & 1 deletion assets/themes/healthcare/healthcare.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"override": {
"=presets": [],
"name": null,
"doCount": false,
"isCounted": false,
"minzoom": 18
}
}
Expand Down
8 changes: 4 additions & 4 deletions assets/themes/openlovemap/openlovemap.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"minzoom": 18,
"=presets": [],
"=name": null,
"doCount": false,
"isCounted": false,
"=filter": {
"sameAs": "erotic_shop"
}
Expand Down Expand Up @@ -188,7 +188,7 @@
"override": {
"minzoom": 18,
"=presets": [],
"doCount": false,
"isCounted": false,
"=name": null
}
},
Expand Down Expand Up @@ -267,7 +267,7 @@
"override": {
"minzoom": 18,
"=presets": [],
"doCount": false,
"isCounted": false,
"=name": null
}
},
Expand Down Expand Up @@ -302,7 +302,7 @@
]
}
],
"doCount": false,
"isCounted": false,
"=presets": []
}
}
Expand Down
4 changes: 2 additions & 2 deletions assets/themes/velopark/velopark.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
"leftover-questions"
],
"override": {
"doCount": false,
"isCounted": false,
"minzoom": 14,
"+tagRenderings": [
"questions",
Expand Down Expand Up @@ -427,7 +427,7 @@
"+tagRenderings": [
"questions"
],
"doCount": false,
"isCounted": false,
"minzoom": 18
}
},
Expand Down
8 changes: 4 additions & 4 deletions assets/themes/vending_machine/vending_machine.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"override": {
"id": "all_vending_machine",
"name": null,
"doCount": false,
"isCounted": false,
"filter": {
"sameAs": "vending_machine"
},
Expand All @@ -54,23 +54,23 @@
{
"builtin": "parking_ticket_machine",
"override": {
"doCount": false,
"isCounted": false,
"name": null,
"minzoom": 18
}
},
{
"builtin": "elongated_coin",
"override": {
"doCount": false,
"isCounted": false,
"name": null,
"minzoom": 18
}
},
{
"builtin": "ticket_machine",
"override": {
"doCount": false,
"isCounted": false,
"name": null,
"minzoom": 18
}
Expand Down
4 changes: 3 additions & 1 deletion scripts/osm2pgsql/generateBuildDbScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ class LuaSnippets {
or.push(new RegexTag(k, v))
})
})
const features = or.map((t) => t.asHumanString(false, false, {}))
features.sort()
console.log(
"Polygon features are:",
or.map((t) => t.asHumanString(false, false, {}))
features
)
return { blacklist: new Or(blacklisted), whitelisted: new Or(or) }
}
Expand Down

0 comments on commit ce87edf

Please sign in to comment.