mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
feat: Wildlife Sightings layer from iNaturalist and Acartia
Recent community wildlife observations, as a new Wildlife group in the layer panel. - Server: keyless iNaturalist proxy (v2 observations with only the projected fields; undocumented v1 UTFGrid density tiles, decoded on the server) sharing one paced queue (burst 4, ~1/s, 60/min, 8,000/day budget, up to four in flight), in-memory caches and upstream-only cooldowns; Acartia Salish Sea marine-mammal feed rounded to 0.01 degrees with comments dropped. - Layer: grid counts drawn as a soft view-ranked density glow; real sampled sightings as taxon badges at their true positions with ambient photo thumbnails and labels; obscured records stay privacy cells; a clicked sighting stays pinned through camera moves and refreshes. - Anchored photo card per selection with the single iNaturalist link; attribution in the layer row and the Data attribution popover. - Filters (CONFIRMED, taxa presets) round-trip in share links with token 9. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
edd6212793
commit
14f88b3e08
120 files changed
+21260
-285
No files matched your search
+7
-1
@@ -9,6 +9,12 @@ export const WORLD_CLICK_FOCUS_DURATION_SEC = 1.9;
|
||||
export const WORLD_FOCUS_FRAMING = Object.freeze({
|
||||
vessel: Object.freeze({ radiusM: 150, rangeM: 1200, pitchDeg: -30 }),
|
||||
fire: Object.freeze({ radiusM: 400, rangeM: 3000, pitchDeg: -35 }),
|
||||
sighting: Object.freeze({ radiusM: 250, rangeM: 2500, pitchDeg: -40 }),
|
||||
'sighting-area': Object.freeze({
|
||||
radiusM: 11000,
|
||||
rangeM: 60000,
|
||||
pitchDeg: -55,
|
||||
}),
|
||||
});
|
||||
|
||||
/** Validate a layer-owned focus target before camera policy can release tracking. */
|
||||
@@ -23,7 +29,7 @@ export function isValidWorldFocusTarget(detail) {
|
||||
!Number.isFinite(position.z)
|
||||
)
|
||||
return false;
|
||||
// Vessel and fire targets are surface-anchored Earth positions. Merely
|
||||
// These targets are surface-anchored Earth positions. Merely
|
||||
// finite coordinates near the ECEF origin cannot be flown to, and must be
|
||||
// rejected before the camera policy releases a current follow owner.
|
||||
const magnitude = Cesium.Cartesian3.magnitude(position);
|
||||
|
||||
Reference in new issue
Block a user