Fix generate sa

This commit is contained in:
WQY\qiong
2023-05-17 21:11:41 +08:00
parent 7218fc5db7
commit 2cab278c9f
2 changed files with 23 additions and 0 deletions

View File

@@ -1,10 +1,14 @@
from .s32_region_util import calculate_boundary, inflate_boundary
from .s34_sa_cal import *
from .s34_sa import get_all_service_area_ids
from .batch_exe import execute_batch_command
def generate_service_area(name: str) -> ChangeSet:
cs = ChangeSet()
for id in get_all_service_area_ids(name):
cs.delete({'type': 'service_area', 'id': id})
sass = calculate_service_area(name)
time_index = 0