refine reading Service Area data from inp file

This commit is contained in:
xinzish
2024-04-12 14:29:12 +08:00
parent 0510d42bbe
commit 0976ba11af
3 changed files with 45 additions and 5 deletions

View File

@@ -87,5 +87,9 @@ def inp_in_region(line: str) -> str:
return str(f"insert into _region (id, type) values ('{tokens[0]}', '{tokens[1]}');")
def inp_in_bound(line: str) -> str:
tokens = line.split()
return tokens[0]
def inp_in_regionnodes(line: str)->str:
tokens = line.split()
return tokens[0]