mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
chore(intro): final city fetch scripts (Overpass fallback endpoints)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqP857pippaUs6konSDfe8
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -221,8 +221,8 @@ def clip_polyline(pts, xmin, ymin, xmax, ymax):
|
||||
pieces.append(cur)
|
||||
cur = []
|
||||
continue
|
||||
a = (x1 + t0 * dx, y1 + t0 * dy)
|
||||
b = (x1 + t1 * dx, y1 + t1 * dy)
|
||||
a = (x1, y1) if t0 == 0.0 else (x1 + t0 * dx, y1 + t0 * dy)
|
||||
b = (x2, y2) if t1 == 1.0 else (x1 + t1 * dx, y1 + t1 * dy)
|
||||
if not cur:
|
||||
cur = [a, b]
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user