Skip to content
Snippets Groups Projects
Commit e8c3d486 authored by Laurens Oostwegel's avatar Laurens Oostwegel
Browse files

delete quadkeys

parent 67cd344a
No related branches found
No related tags found
No related merge requests found
Pipeline #52701 passed
......@@ -21,7 +21,7 @@ import logging
from rabotnik import Assembly, RabotnikTask
# These need to be absolute imports. Otherwise, celery will fail to load them
from rabotniktiles.rules import GetBuiltArea, GetBuiltAreaRatio, GetCompleteness
from rabotniktiles.rules import DeleteQuadkey, GetBuiltArea, GetBuiltAreaRatio, GetCompleteness
logger = logging.Logger(__name__)
......@@ -31,7 +31,7 @@ class OBMTilesAssembly(Assembly):
This class groups rules associated with Quadkeys for `rabotnik` to process.
"""
RULES = [GetBuiltArea(), GetBuiltAreaRatio(), GetCompleteness()]
RULES = [DeleteQuadkey(), GetBuiltArea(), GetBuiltAreaRatio(), GetCompleteness()]
@RabotnikTask.app.task(bind=True, base=RabotnikTask, acks_late=False, ignore_result=True)
def run_task(self, building_id: int = None):
......
......@@ -20,5 +20,6 @@
from .get_built_area import GetBuiltArea
from .get_built_area_ratio import GetBuiltAreaRatio
from .get_completeness import GetCompleteness
from .delete_quadkey import DeleteQuadkey
__all__ = ["GetBuiltArea", "GetBuiltAreaRatio", "GetCompleteness"]
__all__ = ["GetBuiltArea", "GetBuiltAreaRatio", "GetCompleteness", "DeleteQuadkey"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment