mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +00:00
CCTV Street View fallback: the browser's pose at the catalog position
The fallback keeps the catalog position but takes heading, field of view and pitch from the request again, as before, clamped as before. A catalog camera with no pose (every world-cameras row on main) otherwise asked Google for heading 0, pitch 0, FOV 80 while the browser draws it at the id-hash heading, pitch -17 and FOV 74, and a calibrated camera lost its calibration. Cost and the per-IP budget are unchanged. - The Street View budget is built per proxy, so tests no longer depend on GEV_RATELIMIT_GOOGLE_PER_MIN in the shell; the fixture pins it. - New tests: a pose-less catalog camera, and the per-IP budget (no call without a key, the cap, a separate budget per address). - The client no longer sends lat/lon on /frame. - CURRENT-STATE, the changelog fragment and SECURITY.md say the fallback has its own per-client limit, and that unlisted (seed) cameras get the placeholder.
This commit is contained in:
1 parent
f579b23f52
commit
11e1c9d26d
8 files changed
+235
-36
No files matched your search
@@ -1,5 +1,5 @@
|
||||
- The CCTV Street View fallback serves only catalog cameras, at their catalog
|
||||
position, heading, field of view and pitch, and ignores coordinates a
|
||||
request supplies. It spends from the per-client Google budget
|
||||
(`GEV_RATELIMIT_GOOGLE_PER_MIN`, default 120), so the Google key can no
|
||||
longer be used as an unmetered Street View service (asturksever, #1602).
|
||||
- The CCTV Street View fallback serves only catalog cameras, always at their
|
||||
catalog position, and ignores coordinates a request supplies. It has its own
|
||||
per-client limit on the Google setting (`GEV_RATELIMIT_GOOGLE_PER_MIN`,
|
||||
default 120), so the Google key can no longer be used as an unmetered Street
|
||||
View service (asturksever, #1602).
|
||||
Reference in new issue
Block a user