skipping boundaries
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m41s
Run linting on the backend code / Build (pull_request) Failing after 30s
Run testing on the backend code / Build (pull_request) Successful in 2m18s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 14s

This commit is contained in:
Helldragon67 2024-11-22 11:03:13 +01:00
parent d35ff30864
commit 1b955f249e

View File

@ -278,6 +278,11 @@ class LandmarkManager:
skip = True
break
if "boundary" in tag_key:
# skip "areas" like administrative boundaries and stuff
skip = True
break
if "historic" in tag_key and elem.tag('historic') in ['manor', 'optical_telegraph', 'pound', 'shieling', 'wayside_cross']:
# skip useless amenities
skip = True