feat(cctv): add the Open Calgary camera pack (#514)

Supersedes #438 by @rileygramlich, ported onto the current component layout with fixes from review.

Verified before merge: format, package boundaries, unit suite, build, and the browser tracking suite; a browser harness for the change where one applies; adversarial review applied.

Co-authored-by: rileygramlich <[email protected]>
This commit is contained in:
Bilawal Sidhuandrileygramlich authored and GitHub committed 2026-09-14 19:45:52 -05:00
1 parent a04502559e
commit 409e27d7f9
15 files changed
+4743 -4

No files matched your search

+11
View File
@@ -380,6 +380,17 @@ export function isLikelyNswCoordinate(lat, lon) {
);
}
/** Calgary's municipal extent, with slack for the ring road. */
export function isLikelyCalgaryCoordinate(lat, lon) {
return (
isPlausibleLatLon(lat, lon) &&
lat >= 50.8 &&
lat <= 51.25 &&
lon >= -114.4 &&
lon <= -113.8
);
}
export function isLikelyFinlandCoordinate(lat, lon) {
if (!Number.isFinite(lat) || !Number.isFinite(lon)) return false;
return lat >= 59.5 && lat <= 70.5 && lon >= 19 && lon <= 32;