From 362439c52afa2a4793c1ef88070506f9cbf12158 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sat, 4 Jan 2025 16:16:57 +0800 Subject: [PATCH] Refine --- api/s24_coordinates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/s24_coordinates.py b/api/s24_coordinates.py index 1e6d5f2..d038a96 100644 --- a/api/s24_coordinates.py +++ b/api/s24_coordinates.py @@ -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