fix(recent-imagery): keep HLS drapes and empty halves steady when a probe gives no answer

- A Worldview 200 without Data-Present no longer takes an HLS day already on
  the map off it: the source reports only the halves that answered, and the
  renderer drapes a PNG on every part not confirmed empty.
- A re-probe keeps the last explicit answer for each half, so a side confirmed
  empty stays undraped when it does not answer again.
- A host change noticed while rendering after a probe sends a full
  notification, so the panel updates the divider.
- Tests: the short-arc refusal asserts the measured box, the widening test
  expects slot B on top on both sides, and the drape-policy cases are one
  table; the widening test moves into rendering.test.mjs.
- Shared box key and Data-Present parsing; transport errors pass through
  unchanged; unreachable guards and repeated comments removed; docs describe
  partial vs. unknown coverage.
This commit is contained in:
German Khokhlov committed 2026-11-20 19:20:49 +04:00
1 parent 8fd0a35f6a
commit 1f64a9ce44
19 files changed
+348 -272

No files matched your search

+5
View File
@@ -120,10 +120,15 @@ export function lonSpanDeg(west, east) {
return east >= west ? east - west : east + 360 - west;
}
/** A comparable key for a degrees box. */
export const boxKey = (box) =>
[box.west, box.south, box.east, box.north].map(Number).join(',');
/**
* One or two boxes with west <= east that cover the same area. A dateline
* box is split at ±180 so each side is a plain rectangle for a draped layer
* or a Worldview request. A box with a missing or nonfinite edge is [].
* So is a dateline box of zero width (west 180, east -180).
* @param {object} box Degrees box.
* @returns {Array<object>}
*/