Refine
This commit is contained in:
@@ -39,7 +39,7 @@ def get_nodes_in_extent(name: str, x1: float, y1: float, x2: float, y2: float) -
|
||||
x = coord['x']
|
||||
y = coord['y']
|
||||
if x1 <= x <= x2 and y1 <= y <= y2:
|
||||
nodes.append(f"{node_id}:{x}:{y}")
|
||||
nodes.append(f"{node_id}:junction:{x}:{y}")
|
||||
return nodes
|
||||
|
||||
# DingZQ 2025-01-03, get links in extent
|
||||
|
||||
Reference in New Issue
Block a user