Skip to content

Commit c780ce9

Browse files
committed
swap lat/lon
1 parent 91e635a commit c780ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hackyeah2024/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def get_route_points(start, end):
1010
G = graph_from_bbox(
11-
bbox=(bounding_box['max_lon'], bounding_box['min_lon'], bounding_box['min_lat'], bounding_box['max_lat']),
11+
bbox=(bounding_box['max_lat'], bounding_box['min_lat'], bounding_box['min_lon'], bounding_box['max_lon']),
1212
network_type='bike',
1313
simplify=False,
1414
)

0 commit comments

Comments
 (0)