This commit is contained in:
DingZQ
2025-01-04 16:16:57 +08:00
parent 01ffe3bde7
commit 362439c52a

View File

@@ -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