Sameh Khamis
9bdeffeca3
Ask for heights through one service per scene
...
About 20 sites called scene.sampleHeight, globe.getHeight,
scene.clampToHeight or the MostDetailed variants directly, each with its own
idea of a miss (undefined, NaN, a throw). They now ask heightsFor(scene) in
src/queries/heights.js:
- now(point, { against, exclude }) answers from what is loaded, or null;
against is 'surface' (what is drawn) or 'terrain' (loaded terrain only).
- clampNow(position) moves a position onto the drawn surface, or null.
- batch() and clampBatch() wait for the most detailed tiles: null per
missed point, a rejection when the whole query fails.
- supported() reports { surface, clamp } without allocating.
Cesium still answers now() synchronously, so nothing changes on screen and
nothing is slower: in the live app 1,000 calls cost the same through the
service as direct (terrain 0.5-0.7 ms, surface 2-6 ms a call, run-to-run
noise larger than the difference). Every site already treated a miss as
"hold the last value or fall back"; a renderer that can only answer from a
cache or asynchronously can now plug in at one place.
- A Bhote Koshi evidence point whose terrain sample misses stays at its
fallback elevation instead of reading the miss as sea level.
- The mesh floor sampler skips a scene without depth-texture support
instead of spending its budget on probes that throw.
- The world annotation probe's trace reads hit/missed.
- A source scan forbids direct height calls outside the service.
The service is exported as ./queries/heights and documented in
docs/APPLICATION.md.
2026-11-04 09:24:30 -08:00
..
2026-09-28 22:49:23 -05:00
2026-10-30 20:47:20 +05:30
2026-11-02 08:37:45 -08:00
2026-10-02 22:32:46 +05:30
2026-11-02 00:09:18 -08:00
2026-08-24 17:02:16 -05:00
2026-10-16 21:00:28 +04:00
2026-08-24 17:02:16 -05:00
2026-10-16 21:00:28 +04:00
2026-10-14 17:43:13 +02:00
2026-11-03 20:30:43 -08:00
2026-11-03 22:36:27 -08:00
2026-11-03 19:40:39 -08:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-11-03 22:36:27 -08:00
2026-10-25 08:08:43 -07:00
2026-10-25 08:08:43 -07:00
2026-11-03 20:30:43 -08:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-11-03 22:36:27 -08:00
2026-11-03 22:36:27 -08:00
2026-10-03 23:10:32 -07:00
2026-10-03 23:10:32 -07:00
2026-11-04 08:48:51 -08:00
2026-10-22 19:00:40 -07:00
2026-08-31 17:49:45 -05:00
2026-10-24 21:29:21 -07:00
2026-10-22 19:00:40 -07:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-09-28 19:07:57 -05:00
2026-11-03 08:24:33 -08:00
2026-10-14 20:14:54 -04:00
2026-10-22 19:00:40 -07:00
2026-10-19 11:01:18 +05:30
2026-10-16 15:01:29 -07:00
2026-11-01 20:15:02 -08:00
2026-11-01 20:15:02 -08:00
2026-11-04 09:24:30 -08:00
2026-11-04 09:24:30 -08:00
2026-10-16 21:00:28 +04:00
2026-10-16 21:00:28 +04:00
2026-09-15 19:48:11 +05:30
2026-09-15 08:29:01 -07:00
2026-10-28 22:55:24 +04:00
2026-10-28 14:30:45 +00:00
2026-10-31 21:12:08 -07:00
2026-09-15 08:29:01 -07:00
2026-09-15 19:48:11 +05:30
2026-10-22 19:00:40 -07:00
2026-08-24 17:02:16 -05:00
2026-09-28 22:49:23 -05:00
2026-10-02 21:08:11 -07:00
2026-10-02 21:08:11 -07:00
2026-09-28 19:07:57 -05:00
2026-10-15 04:10:41 +02:00
2026-09-15 05:18:30 -05:00
2026-11-03 21:47:16 -08:00
2026-11-04 08:48:51 -08:00
2026-10-30 14:50:53 +00:00
2026-09-27 12:20:45 +00:00
2026-09-15 07:26:32 -07:00
2026-08-31 17:49:45 -05:00
2026-10-19 17:02:06 +01:00
2026-10-15 15:21:34 -07:00
2026-09-13 21:48:33 -05:00
2026-10-15 16:17:22 -07:00
2026-10-19 23:15:43 +01:00
2026-09-13 21:48:33 -05:00
2026-10-19 14:32:58 +01:00
2026-10-22 19:00:40 -07:00
2026-09-13 21:48:33 -05:00
2026-11-04 08:48:51 -08:00
2026-11-04 08:48:51 -08:00
2026-09-13 21:48:33 -05:00
2026-10-20 14:40:01 +01:00
2026-09-22 17:45:39 -05:00
2026-10-15 15:17:11 -07:00
2026-10-15 15:17:31 -07:00
2026-10-30 14:50:53 +00:00
2026-09-15 18:07:40 +02:00
2026-10-21 15:43:29 -07:00
2026-09-20 20:38:59 -07:00
2026-10-16 00:27:41 +00:00
2026-09-13 21:48:33 -05:00
2026-10-14 11:44:25 +01:00
2026-10-21 15:07:20 -07:00
2026-10-21 15:43:29 -07:00
2026-10-20 14:51:48 +01:00
2026-10-13 18:54:59 -04:00
2026-09-13 21:48:33 -05:00
2026-10-19 17:03:50 +01:00
2026-09-15 07:26:32 -07:00
2026-08-31 17:49:45 -05:00
2026-11-03 21:47:16 -08:00
2026-09-13 21:48:33 -05:00
2026-10-15 15:17:59 -07:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-11-03 22:36:27 -08:00
2026-11-03 20:55:09 -08:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-10-22 19:07:46 -07:00
2026-09-15 05:18:30 -05:00
2026-09-15 13:26:41 -05:00
2026-09-15 12:29:18 -07:00
2026-11-03 09:40:15 -08:00
2026-11-03 09:40:15 -08:00
2026-10-24 00:21:05 -04:00
2026-11-03 14:34:32 +00:00
2026-10-19 13:53:46 +04:00
2026-10-22 18:09:37 -07:00
2026-10-22 19:00:40 -07:00
2026-08-24 17:02:16 -05:00
2026-10-15 23:49:52 +04:00
2026-10-15 23:49:52 +04:00
2026-10-16 19:28:59 +04:00
2026-10-22 19:00:40 -07:00
2026-10-30 17:23:45 -07:00
2026-09-15 07:26:32 -07:00
2026-09-15 07:26:32 -07:00
2026-09-15 07:26:32 -07:00
2026-09-23 20:31:56 -07:00
2026-09-23 20:31:56 -07:00
2026-10-22 19:00:40 -07:00
2026-11-01 22:22:22 -08:00
2026-10-14 20:14:54 -04:00
2026-08-31 17:49:45 -05:00
2026-11-01 22:40:28 -08:00
2026-11-01 22:40:28 -08:00
2026-10-22 19:00:40 -07:00
2026-09-13 12:14:44 -07:00
2026-11-03 13:32:53 -08:00
2026-11-03 08:24:33 -08:00
2026-09-16 11:52:26 -07:00
2026-09-13 12:48:26 -07:00
2026-08-31 17:49:45 -05:00
2026-09-23 21:21:52 -05:00
2026-10-14 20:12:29 -04:00
2026-10-14 19:21:57 -07:00
2026-10-23 19:08:55 -04:00
2026-10-23 19:08:55 -04:00
2026-11-04 08:48:51 -08:00
2026-10-15 14:48:43 +01:00
2026-09-23 21:21:52 -05:00
2026-11-03 22:09:57 -08:00
2026-09-28 21:19:23 -05:00
2026-11-04 08:48:51 -08:00
2026-11-04 08:48:51 -08:00
2026-10-24 00:23:11 -04:00
2026-10-24 00:23:11 -04:00
2026-10-31 17:50:16 -07:00
2026-11-03 19:40:39 -08:00
2026-11-03 22:36:27 -08:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-11-03 22:36:27 -08:00
2026-09-30 13:01:45 -05:00
2026-08-24 17:02:16 -05:00
2026-11-03 21:47:16 -08:00
2026-10-21 15:07:20 -07:00
2026-09-27 22:32:36 +07:00
2026-10-16 10:54:58 +02:00
2026-11-04 09:24:30 -08:00
2026-11-04 09:24:30 -08:00
2026-09-15 07:26:32 -07:00
2026-08-31 17:49:45 -05:00
2026-10-22 19:00:40 -07:00
2026-10-15 04:10:41 +02:00
2026-10-14 17:43:13 +02:00
2026-09-15 07:26:32 -07:00
2026-10-16 16:48:37 +05:30
2026-09-15 07:26:32 -07:00
2026-10-22 19:00:40 -07:00
2026-09-15 05:18:30 -05:00
2026-11-01 21:41:49 -08:00
2026-11-01 21:41:49 -08:00
2026-11-03 21:16:19 -08:00
2026-09-15 05:18:30 -05:00
2026-09-15 05:18:30 -05:00
2026-11-03 19:40:39 -08:00
2026-11-03 19:40:39 -08:00
2026-11-03 19:40:39 -08:00
2026-11-03 19:40:39 -08:00
2026-11-03 21:47:16 -08:00
2026-10-09 19:09:30 -07:00
2026-10-03 18:47:31 -07:00
2026-11-04 09:24:30 -08:00
2026-09-28 19:07:57 -05:00
2026-11-04 08:48:51 -08:00
2026-11-04 08:48:51 -08:00
2026-10-16 21:00:28 +04:00
2026-09-28 19:07:57 -05:00
2026-10-16 21:00:28 +04:00
2026-10-15 10:48:38 -07:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-08-24 17:02:16 -05:00
2026-11-03 14:45:32 +04:00
2026-11-02 13:44:53 +04:00
2026-11-02 16:20:08 +00:00
2026-11-02 16:20:08 +00:00
2026-10-26 14:07:58 -07:00
2026-11-02 16:20:08 +00:00
2026-11-02 16:20:08 +00:00
2026-10-26 14:07:58 -07:00
2026-11-04 08:48:51 -08:00
2026-11-04 08:48:51 -08:00
2026-11-04 09:24:30 -08:00
2026-11-04 08:48:51 -08:00
2026-10-25 17:21:41 -07:00
2026-09-11 08:59:32 -07:00
2026-10-27 13:24:02 +00:00
2026-10-30 22:23:40 -07:00
2026-10-30 22:23:40 -07:00
2026-11-01 12:09:38 -08:00
2026-09-15 07:26:32 -07:00
2026-11-04 09:24:30 -08:00
2026-10-31 01:03:28 -07:00
2026-11-03 22:36:27 -08:00
2026-11-01 22:40:28 -08:00
2026-11-01 22:40:28 -08:00
2026-11-03 20:30:43 -08:00
2026-11-03 22:36:27 -08:00
2026-10-16 21:00:28 +04:00
2026-09-05 03:30:55 -05:00
2026-09-28 19:07:57 -05:00
2026-11-03 08:09:00 -08:00
2026-10-22 19:00:40 -07:00
2026-10-02 15:21:36 -07:00
2026-10-03 23:10:32 -07:00
2026-08-24 17:02:16 -05:00
2026-09-23 16:00:53 -05:00
2026-09-23 16:00:53 -05:00
2026-08-24 17:02:16 -05:00
2026-11-03 22:36:27 -08:00
2026-11-03 22:36:27 -08:00
2026-11-03 22:36:27 -08:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-10-20 06:31:50 +05:30
2026-10-20 06:31:50 +05:30
2026-11-03 22:36:27 -08:00
2026-10-03 23:09:03 -07:00
2026-08-24 17:02:16 -05:00
2026-11-02 16:20:08 +00:00
2026-11-02 16:20:08 +00:00
2026-10-23 12:33:05 +01:00
2026-09-28 22:49:23 -05:00
2026-11-03 09:40:15 -08:00
2026-09-28 21:19:23 -05:00
2026-11-04 08:48:51 -08:00
2026-11-03 21:16:19 -08:00
2026-11-02 08:50:05 -08:00
2026-10-30 20:47:20 +05:30
2026-11-02 08:50:05 -08:00
2026-10-24 08:19:21 -07:00
2026-10-16 21:00:28 +04:00
2026-10-22 19:07:46 -07:00
2026-11-03 08:09:00 -08:00
2026-10-22 19:00:40 -07:00
2026-09-13 17:28:35 -07:00
2026-11-03 14:32:55 +04:00
2026-10-23 12:39:56 +01:00
2026-10-14 20:13:34 -04:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-10-17 11:42:58 -07:00
2026-10-19 13:11:58 +01:00
2026-09-15 07:26:32 -07:00
2026-08-31 17:49:45 -05:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-10-31 10:48:20 -07:00
2026-11-01 23:06:41 -08:00
2026-10-14 14:17:52 -04:00
2026-10-20 03:22:18 -04:00
2026-09-16 08:48:31 -04:00
2026-11-03 19:40:39 -08:00
2026-11-01 22:40:28 -08:00
2026-11-01 22:40:28 -08:00
2026-10-16 21:00:28 +04:00
2026-08-24 17:02:16 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-11-03 08:09:00 -08:00
2026-08-24 17:02:16 -05:00
2026-10-13 15:10:58 +01:00
2026-10-08 02:59:51 +01:00
2026-10-09 17:42:00 -07:00
2026-10-19 13:11:58 +01:00
2026-09-15 07:26:32 -07:00
2026-11-03 22:09:57 -08:00
2026-09-14 14:49:04 -07:00
2026-09-22 19:22:55 -05:00
2026-09-22 19:22:55 -05:00
2026-10-22 19:00:40 -07:00
2026-11-04 08:48:51 -08:00
2026-09-15 07:26:32 -07:00
2026-10-28 10:10:50 -07:00
2026-10-28 10:10:50 -07:00
2026-10-28 10:10:50 -07:00
2026-10-25 17:21:41 -07:00
2026-09-11 21:57:51 -07:00
2026-09-15 07:26:32 -07:00
2026-11-03 22:36:27 -08:00
2026-11-03 08:09:00 -08:00
2026-11-03 08:09:00 -08:00
2026-11-03 08:09:00 -08:00
2026-09-15 07:26:32 -07:00
2026-11-03 22:36:27 -08:00
2026-11-03 08:09:00 -08:00
2026-11-03 08:09:00 -08:00
2026-11-04 08:48:51 -08:00
2026-11-04 08:48:51 -08:00
2026-10-25 19:42:49 -07:00
2026-10-25 19:42:49 -07:00
2026-10-17 11:42:58 -07:00
2026-10-17 11:42:58 -07:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-10-29 11:20:49 +00:00
2026-10-29 11:20:49 +00:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-11-01 22:47:05 -08:00
2026-09-15 07:26:32 -07:00
2026-08-24 17:02:16 -05:00
2026-09-15 05:18:30 -05:00
2026-09-15 05:18:30 -05:00
2026-10-17 11:42:58 -07:00
2026-10-15 19:09:27 -07:00
2026-09-15 13:26:41 -05:00
2026-09-15 13:26:41 -05:00
2026-10-29 11:20:49 +00:00
2026-10-29 11:20:49 +00:00
2026-09-15 07:41:56 -07:00
2026-09-15 05:18:30 -05:00
2026-10-17 15:49:02 -07:00
2026-10-19 14:29:11 +01:00
2026-10-16 21:00:28 +04:00
2026-10-19 14:29:11 +01:00
2026-10-14 14:17:48 -04:00
2026-09-22 17:45:39 -05:00
2026-10-22 19:00:40 -07:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00
2026-09-22 17:45:39 -05:00