Skip to content

Commit

Permalink
🔥 fix(buildings): Exclude garage, gut and shed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nachwahl committed Jan 22, 2023
1 parent 96f9e0e commit 9e97000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/src/controllers/AdminController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ class AdminController {
let overpassQuery = `
[out:json][timeout:25];
(
node["building"]["building"!~"grandstand"]["building"!~"roof"](poly: "${poly}");
way["building"]["building"!~"grandstand"]["building"!~"roof"](poly: "${poly}");
relation["building"]["building"!~"grandstand"]["building"!~"roof"](poly: "${poly}");
node["building"]["building"!~"grandstand"]["building"!~"roof"]["building"!~"garage"]["building"!~"hut"]["building"!~"shed"](poly: "${poly}");
way["building"]["building"!~"grandstand"]["building"!~"roof"]["building"!~"garage"]["building"!~"hut"]["building"!~"shed"](poly: "${poly}");
relation["building"]["building"!~"grandstand"]["building"!~"roof"]["building"!~"garage"]["building"!~"hut"]["building"!~"shed"](poly: "${poly}");
);
out count;
`;
Expand Down

0 comments on commit 9e97000

Please sign in to comment.