@honua/app-platform 0.1.2-beta.0 → 0.1.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/index.d.ts.map +1 -1
- package/app/index.js +4 -0
- package/collaboration/client.d.ts.map +1 -1
- package/connect-url-safety.d.ts +53 -0
- package/connect-url-safety.js +189 -0
- package/contract/discovery.d.ts +34 -0
- package/contract/discovery.d.ts.map +1 -1
- package/contract/index.d.ts +7 -5
- package/contract/index.d.ts.map +1 -1
- package/contract/index.js +3 -2
- package/contract/pmtiles.d.ts +10 -1
- package/contract/pmtiles.d.ts.map +1 -1
- package/contract/pmtiles.js +10 -2
- package/contract/protocol-module.d.ts +84 -9
- package/contract/protocol-module.d.ts.map +1 -1
- package/contract/query-filter-fes.d.ts +18 -0
- package/contract/query-filter-fes.d.ts.map +1 -0
- package/contract/query-filter-fes.js +122 -0
- package/contract/query-filter.d.ts +300 -0
- package/contract/query-filter.d.ts.map +1 -0
- package/contract/query-filter.js +883 -0
- package/contract/schema.d.ts +12 -0
- package/contract/schema.d.ts.map +1 -1
- package/contract/schema.js +34 -0
- package/contract/source-capability-support.d.ts.map +1 -1
- package/contract/source-capability-support.js +15 -3
- package/contract/source.d.ts +45 -25
- package/contract/source.d.ts.map +1 -1
- package/contract/source.js +719 -479
- package/contract/types.d.ts +88 -19
- package/contract/types.d.ts.map +1 -1
- package/contract/types.js +4 -0
- package/contract/widget-source.d.ts.map +1 -1
- package/controls/basemap-switcher.d.ts +19 -11
- package/controls/basemap-switcher.d.ts.map +1 -1
- package/controls/basemap-switcher.js +58 -25
- package/controls/catalog.d.ts +105 -0
- package/controls/catalog.d.ts.map +1 -0
- package/controls/catalog.js +341 -0
- package/controls/element-utils.d.ts +9 -0
- package/controls/element-utils.d.ts.map +1 -1
- package/controls/element-utils.js +17 -0
- package/controls/index.d.ts +29 -8
- package/controls/index.d.ts.map +1 -1
- package/controls/index.js +26 -8
- package/controls/layer-list.d.ts +13 -5
- package/controls/layer-list.d.ts.map +1 -1
- package/controls/layer-list.js +72 -15
- package/controls/legend.d.ts +32 -5
- package/controls/legend.d.ts.map +1 -1
- package/controls/legend.js +95 -25
- package/controls/qualification.d.ts +152 -0
- package/controls/qualification.d.ts.map +1 -0
- package/controls/qualification.js +1265 -0
- package/controls/registry.d.ts +104 -0
- package/controls/registry.d.ts.map +1 -0
- package/controls/registry.js +150 -0
- package/controls/swipe-control.d.ts +6 -1
- package/controls/swipe-control.d.ts.map +1 -1
- package/controls/swipe-control.js +82 -20
- package/core/client.d.ts +51 -21
- package/core/client.d.ts.map +1 -1
- package/core/client.js +234 -54
- package/core/error-classifications.d.ts +23 -0
- package/core/error-classifications.d.ts.map +1 -1
- package/core/error-classifications.js +23 -0
- package/core/error-code-registry.d.ts +24 -1
- package/core/error-code-registry.d.ts.map +1 -1
- package/core/error-code-registry.js +23 -0
- package/core/error-envelope.js +2 -0
- package/core/errors.d.ts +2 -2
- package/core/errors.d.ts.map +1 -1
- package/core/errors.js +1 -1
- package/core/geoparquet-sql.d.ts +69 -5
- package/core/geoparquet-sql.d.ts.map +1 -1
- package/core/geoparquet-sql.js +327 -10
- package/core/odata-write-codec.d.ts.map +1 -1
- package/core/odata-write-codec.js +0 -1
- package/core/odata.d.ts +6 -0
- package/core/odata.d.ts.map +1 -1
- package/core/odata.js +6 -1
- package/core/ogc-processes.d.ts +182 -25
- package/core/ogc-processes.d.ts.map +1 -1
- package/core/ogc-processes.js +602 -30
- package/core/process-runner.d.ts +8 -1
- package/core/process-runner.d.ts.map +1 -1
- package/core/process-runner.js +1 -0
- package/core/protocol-transport.d.ts +2 -0
- package/core/protocol-transport.d.ts.map +1 -1
- package/core/stac.d.ts +32 -0
- package/core/stac.d.ts.map +1 -1
- package/core/stac.js +158 -23
- package/core/surfaces.d.ts.map +1 -1
- package/core/surfaces.js +273 -68
- package/core/types.d.ts +138 -11
- package/core/types.d.ts.map +1 -1
- package/core/wfs-axis-order.d.ts +18 -0
- package/core/wfs-axis-order.d.ts.map +1 -0
- package/core/wfs-axis-order.js +108 -0
- package/core/wfs-capabilities.d.ts +65 -24
- package/core/wfs-capabilities.d.ts.map +1 -1
- package/core/wfs-capabilities.js +237 -27
- package/core/wfs-filter.d.ts +26 -3
- package/core/wfs-filter.d.ts.map +1 -1
- package/core/wfs-filter.js +48 -53
- package/core/wfs-protocol-error.d.ts +12 -0
- package/core/wfs-protocol-error.d.ts.map +1 -0
- package/core/wfs-protocol-error.js +13 -0
- package/core/wfs.d.ts +53 -1
- package/core/wfs.d.ts.map +1 -1
- package/core/wfs.js +251 -29
- package/core/wms-feature-info.d.ts +92 -0
- package/core/wms-feature-info.d.ts.map +1 -0
- package/core/wms-feature-info.js +285 -0
- package/core/wms.d.ts +9 -0
- package/core/wms.d.ts.map +1 -1
- package/core/wms.js +17 -5
- package/esri-compat/event-bus.d.ts +20 -0
- package/esri-compat/event-bus.d.ts.map +1 -1
- package/esri-compat/feature-filter.d.ts +46 -1
- package/esri-compat/feature-filter.d.ts.map +1 -1
- package/esri-compat/feature-filter.js +49 -0
- package/esri-compat/geojson-layer.d.ts +4 -2
- package/esri-compat/geojson-layer.d.ts.map +1 -1
- package/esri-compat/geojson-layer.js +4 -2
- package/esri-compat/identity-manager.js +2 -2
- package/esri-compat/imagery-layer.d.ts +2 -1
- package/esri-compat/imagery-layer.d.ts.map +1 -1
- package/esri-compat/imagery-layer.js +2 -1
- package/esri-compat/layer-list.d.ts +8 -1
- package/esri-compat/layer-list.d.ts.map +1 -1
- package/esri-compat/layer-list.js +11 -4
- package/esri-compat/legend.d.ts.map +1 -1
- package/esri-compat/legend.js +1 -1
- package/esri-compat/locator.d.ts +297 -0
- package/esri-compat/locator.d.ts.map +1 -0
- package/esri-compat/locator.js +579 -0
- package/esri-compat/map-image-layer.d.ts.map +1 -1
- package/esri-compat/map-view.d.ts.map +1 -1
- package/esri-compat/map-view.js +1 -1
- package/esri-compat/scene-view.d.ts.map +1 -1
- package/esri-compat/time-slider.d.ts +29 -0
- package/esri-compat/time-slider.d.ts.map +1 -1
- package/esri-compat/time-slider.js +117 -0
- package/esri-compat/wfs-layer.d.ts +2 -1
- package/esri-compat/wfs-layer.d.ts.map +1 -1
- package/esri-compat/wfs-layer.js +2 -1
- package/esri-compat/widget-host.d.ts +42 -6
- package/esri-compat/widget-host.d.ts.map +1 -1
- package/esri-compat/widget-host.js +99 -10
- package/generated-app/projection.d.ts.map +1 -1
- package/generated-app/runtime.d.ts.map +1 -1
- package/interactions/declarative-contract.d.ts +149 -0
- package/interactions/declarative-contract.d.ts.map +1 -0
- package/interactions/declarative-contract.js +293 -0
- package/interactions/declarative.d.ts +198 -0
- package/interactions/declarative.d.ts.map +1 -0
- package/interactions/declarative.js +470 -0
- package/interactions/feature-state.d.ts +7 -0
- package/interactions/feature-state.d.ts.map +1 -1
- package/interactions/feature-state.js +10 -2
- package/map/data-to-map-bridge.d.ts +1 -1
- package/map/data-to-map-bridge.d.ts.map +1 -1
- package/map/data-to-map-bridge.js +1 -2
- package/map/honua-map.d.ts.map +1 -1
- package/map/honua-map.js +1 -1
- package/map/index.d.ts +2 -0
- package/map/index.d.ts.map +1 -1
- package/map/index.js +2 -0
- package/map/maplibre-target.js +1 -1
- package/map/realtime-reconciliation-adapter.d.ts +98 -0
- package/map/realtime-reconciliation-adapter.d.ts.map +1 -0
- package/map/realtime-reconciliation-adapter.js +84 -0
- package/map/temporal-playback.d.ts +25 -0
- package/map/temporal-playback.d.ts.map +1 -1
- package/map/temporal-playback.js +29 -1
- package/operator/workspace/workspace.d.ts.map +1 -1
- package/operator/workspace/workspace.js +0 -2
- package/package.json +4 -3
- package/query-planner/canonical-filter.d.ts +30 -0
- package/query-planner/canonical-filter.d.ts.map +1 -0
- package/query-planner/canonical-filter.js +30 -0
- package/query-planner/columnar-plan.d.ts +63 -0
- package/query-planner/columnar-plan.d.ts.map +1 -0
- package/query-planner/columnar-plan.js +94 -0
- package/query-planner/diagnostics.d.ts +3 -3
- package/query-planner/diagnostics.d.ts.map +1 -1
- package/query-planner/diagnostics.js +17 -4
- package/query-planner/duckdb.d.ts.map +1 -1
- package/query-planner/duckdb.js +16 -2
- package/query-planner/execution-context.d.ts.map +1 -1
- package/query-planner/execution-context.js +3 -1
- package/query-planner/executor.d.ts.map +1 -1
- package/query-planner/executor.js +7 -1
- package/query-planner/geoservices.d.ts.map +1 -1
- package/query-planner/geoservices.js +24 -5
- package/query-planner/grpc.d.ts.map +1 -1
- package/query-planner/grpc.js +29 -5
- package/query-planner/index.d.ts +20 -5
- package/query-planner/index.d.ts.map +1 -1
- package/query-planner/index.js +16 -3
- package/query-planner/ir.d.ts +6 -1
- package/query-planner/ir.d.ts.map +1 -1
- package/query-planner/ir.js +63 -1
- package/query-planner/odata-protocol-module.d.ts +54 -0
- package/query-planner/odata-protocol-module.d.ts.map +1 -0
- package/query-planner/odata-protocol-module.js +199 -0
- package/query-planner/odata-v1.d.ts +23 -0
- package/query-planner/odata-v1.d.ts.map +1 -0
- package/query-planner/odata-v1.js +202 -0
- package/query-planner/odata.d.ts +0 -3
- package/query-planner/odata.d.ts.map +1 -1
- package/query-planner/odata.js +0 -143
- package/query-planner/ogc-features.d.ts.map +1 -1
- package/query-planner/ogc-features.js +23 -1
- package/query-planner/planner.d.ts +2 -2
- package/query-planner/planner.d.ts.map +1 -1
- package/query-planner/planner.js +146 -27
- package/query-planner/representation.d.ts +59 -0
- package/query-planner/representation.d.ts.map +1 -0
- package/query-planner/representation.js +140 -0
- package/query-planner/types.d.ts +153 -3
- package/query-planner/types.d.ts.map +1 -1
- package/query-planner/wfs-protocol-module.d.ts +57 -0
- package/query-planner/wfs-protocol-module.d.ts.map +1 -0
- package/query-planner/wfs-protocol-module.js +731 -0
- package/query-planner/wfs-v1.d.ts +41 -0
- package/query-planner/wfs-v1.d.ts.map +1 -0
- package/query-planner/wfs-v1.js +366 -0
- package/query-planner/wfs.d.ts +1 -3
- package/query-planner/wfs.d.ts.map +1 -1
- package/query-planner/wfs.js +1 -70
- package/realtime/checkpoint-store.d.ts +206 -0
- package/realtime/checkpoint-store.d.ts.map +1 -0
- package/realtime/checkpoint-store.js +504 -0
- package/realtime/honua-server.d.ts +8 -0
- package/realtime/honua-server.d.ts.map +1 -1
- package/realtime/honua-server.js +123 -14
- package/realtime/index.d.ts +4 -0
- package/realtime/index.d.ts.map +1 -1
- package/realtime/index.js +2 -0
- package/realtime/reconciliation.d.ts +245 -0
- package/realtime/reconciliation.d.ts.map +1 -0
- package/realtime/reconciliation.js +377 -0
- package/realtime/resumable-transport.d.ts.map +1 -1
- package/realtime/sse.d.ts.map +1 -1
- package/realtime/sse.js +7 -1
- package/realtime/websocket.d.ts.map +1 -1
- package/realtime/wire.d.ts +2 -1
- package/realtime/wire.d.ts.map +1 -1
- package/realtime/wire.js +24 -8
- package/replica-sync/errors.d.ts +19 -1
- package/replica-sync/errors.d.ts.map +1 -1
- package/replica-sync/errors.js +16 -0
- package/replica-sync/geoservices.d.ts +260 -0
- package/replica-sync/geoservices.d.ts.map +1 -0
- package/replica-sync/geoservices.js +1093 -0
- package/replica-sync/index.d.ts +5 -1
- package/replica-sync/index.d.ts.map +1 -1
- package/replica-sync/index.js +3 -1
- package/replica-sync/transport-conformance.d.ts +58 -0
- package/replica-sync/transport-conformance.d.ts.map +1 -0
- package/replica-sync/transport-conformance.js +265 -0
- package/replica-sync/types.d.ts +22 -0
- package/replica-sync/types.d.ts.map +1 -1
- package/runtime/index.d.ts +6 -2
- package/runtime/index.d.ts.map +1 -1
- package/runtime/index.js +3 -1
- package/runtime/load-package.d.ts +24 -0
- package/runtime/load-package.d.ts.map +1 -1
- package/runtime/load-package.js +45 -1
- package/runtime/maplibre-renderer.d.ts +11 -0
- package/runtime/maplibre-renderer.d.ts.map +1 -1
- package/runtime/maplibre-renderer.js +32 -7
- package/runtime/offline-region-protocol.d.ts +73 -0
- package/runtime/offline-region-protocol.d.ts.map +1 -0
- package/runtime/offline-region-protocol.js +63 -0
- package/runtime/offline-region-style.d.ts +78 -0
- package/runtime/offline-region-style.d.ts.map +1 -0
- package/runtime/offline-region-style.js +147 -0
- package/runtime/pmtiles-protocol.d.ts +7 -8
- package/runtime/pmtiles-protocol.d.ts.map +1 -1
- package/runtime/pmtiles-protocol.js +19 -66
- package/runtime/protocol-registry.d.ts +55 -0
- package/runtime/protocol-registry.d.ts.map +1 -0
- package/runtime/protocol-registry.js +103 -0
- package/runtime/runtime.d.ts +2 -0
- package/runtime/runtime.d.ts.map +1 -1
- package/runtime/runtime.js +6 -1
- package/runtime/style-compose.d.ts.map +1 -1
- package/runtime/style-compose.js +78 -9
- package/scene-workspace/analysis-widgets.d.ts +4 -2
- package/scene-workspace/analysis-widgets.d.ts.map +1 -1
- package/scene-workspace/analysis-widgets.js +4 -2
- package/scene-workspace/camera-correspondence.d.ts +151 -0
- package/scene-workspace/camera-correspondence.d.ts.map +1 -0
- package/scene-workspace/camera-correspondence.js +220 -0
- package/scene-workspace/cesium-adapter.d.ts +230 -29
- package/scene-workspace/cesium-adapter.d.ts.map +1 -1
- package/scene-workspace/cesium-adapter.js +741 -56
- package/scene-workspace/cesium-mount.d.ts +205 -0
- package/scene-workspace/cesium-mount.d.ts.map +1 -0
- package/scene-workspace/cesium-mount.js +392 -0
- package/scene-workspace/cesium-scene-owner.d.ts +160 -0
- package/scene-workspace/cesium-scene-owner.d.ts.map +1 -0
- package/scene-workspace/cesium-scene-owner.js +205 -0
- package/scene-workspace/cesium-state-sync.d.ts +101 -0
- package/scene-workspace/cesium-state-sync.d.ts.map +1 -0
- package/scene-workspace/cesium-state-sync.js +432 -0
- package/scene-workspace/cesium-time.d.ts +346 -0
- package/scene-workspace/cesium-time.d.ts.map +1 -0
- package/scene-workspace/cesium-time.js +403 -0
- package/scene-workspace/index.d.ts +42 -10
- package/scene-workspace/index.d.ts.map +1 -1
- package/scene-workspace/index.js +32 -7
- package/scene-workspace/maplibre-state-sync.d.ts +112 -0
- package/scene-workspace/maplibre-state-sync.d.ts.map +1 -0
- package/scene-workspace/maplibre-state-sync.js +400 -0
- package/scene-workspace/primitives.d.ts +237 -3
- package/scene-workspace/primitives.d.ts.map +1 -1
- package/scene-workspace/primitives.js +1087 -17
- package/scene-workspace/scene-discovery.d.ts +5 -2
- package/scene-workspace/scene-discovery.d.ts.map +1 -1
- package/scene-workspace/scene-discovery.js +5 -2
- package/scene-workspace/scene-view.d.ts +5 -2
- package/scene-workspace/scene-view.d.ts.map +1 -1
- package/scene-workspace/scene-view.js +5 -2
- package/scene-workspace/source-to-cesium.d.ts +141 -8
- package/scene-workspace/source-to-cesium.d.ts.map +1 -1
- package/scene-workspace/source-to-cesium.js +497 -72
- package/scene-workspace/state-sync-port-kit.d.ts +156 -0
- package/scene-workspace/state-sync-port-kit.d.ts.map +1 -0
- package/scene-workspace/state-sync-port-kit.js +319 -0
- package/scene-workspace/state-sync.d.ts +34 -1
- package/scene-workspace/state-sync.d.ts.map +1 -1
- package/scene-workspace/state-sync.js +48 -0
- package/scene-workspace/types.d.ts +8 -0
- package/scene-workspace/types.d.ts.map +1 -1
- package/scene-workspace/types.js +2 -0
- package/scene-workspace/workspace.d.ts +12 -1
- package/scene-workspace/workspace.d.ts.map +1 -1
- package/scene-workspace/workspace.js +13 -0
- package/studio/index.d.ts +24 -7
- package/studio/index.d.ts.map +1 -1
- package/studio/index.js +21 -7
- package/studio/lifecycle-client.d.ts +164 -0
- package/studio/lifecycle-client.d.ts.map +1 -0
- package/studio/lifecycle-client.js +299 -0
- package/studio/lifecycle-errors.d.ts +91 -0
- package/studio/lifecycle-errors.d.ts.map +1 -0
- package/studio/lifecycle-errors.js +77 -0
- package/studio/lifecycle-types.d.ts +321 -0
- package/studio/lifecycle-types.d.ts.map +1 -0
- package/studio/lifecycle-types.js +22 -0
- package/web-components/controller.d.ts.map +1 -1
- package/web-components/csp-styles.d.ts +6 -0
- package/web-components/csp-styles.d.ts.map +1 -0
- package/web-components/csp-styles.js +53 -0
- package/web-components/elements.d.ts +158 -2
- package/web-components/elements.d.ts.map +1 -1
- package/web-components/elements.js +1302 -215
- package/web-components/export-redaction.d.ts +252 -0
- package/web-components/export-redaction.d.ts.map +1 -0
- package/web-components/export-redaction.js +588 -0
- package/web-components/export.d.ts +417 -0
- package/web-components/export.d.ts.map +1 -0
- package/web-components/export.js +719 -0
- package/web-components/feature-editor-model.d.ts +265 -0
- package/web-components/feature-editor-model.d.ts.map +1 -0
- package/web-components/feature-editor-model.js +438 -0
- package/web-components/feature-editor-sketch.d.ts +125 -0
- package/web-components/feature-editor-sketch.d.ts.map +1 -0
- package/web-components/feature-editor-sketch.js +194 -0
- package/web-components/feature-editor-workflow.d.ts +286 -0
- package/web-components/feature-editor-workflow.d.ts.map +1 -0
- package/web-components/feature-editor-workflow.js +889 -0
- package/web-components/feature-editor.d.ts +83 -0
- package/web-components/feature-editor.d.ts.map +1 -0
- package/web-components/feature-editor.js +829 -0
- package/web-components/feature-table-engine.d.ts +465 -0
- package/web-components/feature-table-engine.d.ts.map +1 -0
- package/web-components/feature-table-engine.js +1360 -0
- package/web-components/feature-table-view.d.ts +95 -0
- package/web-components/feature-table-view.d.ts.map +1 -0
- package/web-components/feature-table-view.js +343 -0
- package/web-components/index.d.ts +34 -3
- package/web-components/index.d.ts.map +1 -1
- package/web-components/index.js +35 -2
- package/web-components/maplibre-renderer.d.ts.map +1 -1
- package/web-components/maplibre-renderer.js +13 -4
- package/web-components/measurement.d.ts +3 -1
- package/web-components/measurement.d.ts.map +1 -1
- package/web-components/measurement.js +62 -18
- package/web-components/time-slider.d.ts +122 -0
- package/web-components/time-slider.d.ts.map +1 -0
- package/web-components/time-slider.js +740 -0
- package/web-components/types.d.ts +310 -0
- package/web-components/types.d.ts.map +1 -1
- package/webmap/convert-label.js +0 -1
- package/webmap/convert-symbol.d.ts.map +1 -1
|
@@ -1,9 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renderer-neutral scene primitive contract: terrain, imagery, 3D Tiles, model
|
|
3
|
+
* layers, extrusions, ground, camera, and layer metadata, plus the diagnostics
|
|
4
|
+
* that say — before a viewer exists — whether a renderer can honor each one.
|
|
5
|
+
*
|
|
6
|
+
* The MapLibre adapter lives here because it needs no optional peer; the Cesium
|
|
7
|
+
* adapter implements the same {@link SceneRuntimeAdapter} contract.
|
|
8
|
+
*
|
|
9
|
+
* @beta Part of the beta `@honua/app-platform/scene-workspace` surface; primitive
|
|
10
|
+
* kinds, diagnostic codes, and renderer capability flags grow additively and
|
|
11
|
+
* no export is renamed or removed through 0.1.x.
|
|
12
|
+
* @module
|
|
13
|
+
*/
|
|
1
14
|
import type { FeatureId, SourceId } from "../contract/types.js";
|
|
2
15
|
import type { FilterClause } from "../exploration/index.js";
|
|
16
|
+
import type { SceneStateSyncFidelity } from "./state-sync.js";
|
|
3
17
|
import type { SceneCameraState, SceneLayerState, SceneWorkspaceState } from "./types.js";
|
|
4
18
|
export type SceneRendererKind = "maplibre" | "cesium" | "three" | "custom";
|
|
5
19
|
export type ScenePrimitiveStatus = "supported" | "degraded" | "unsupported";
|
|
6
20
|
export type ScenePrimitiveDiagnosticSeverity = "info" | "warning" | "error";
|
|
21
|
+
/**
|
|
22
|
+
* Spatial fidelity of a primitive against a renderer, using the same vocabulary
|
|
23
|
+
* the scene state synchronizer already applies to slice mappings: `exact` when
|
|
24
|
+
* the renderer honors the declaration as authored, `equivalent` when it honors
|
|
25
|
+
* it through its own documented reprojection/resampling, and `unsupported` when
|
|
26
|
+
* it cannot honor it at all.
|
|
27
|
+
*/
|
|
28
|
+
export type SceneSpatialFidelity = SceneStateSyncFidelity;
|
|
29
|
+
/**
|
|
30
|
+
* Declared spatial reference for a scene binding.
|
|
31
|
+
*
|
|
32
|
+
* Every field is descriptive plan data: the SDK performs no reprojection, no
|
|
33
|
+
* vertical-datum transform, and no resampling. They exist so the adapter can
|
|
34
|
+
* say, before a viewer is created, whether the renderer will place the
|
|
35
|
+
* binding's footprints and heights where the author meant them, and at the
|
|
36
|
+
* detail the author claimed. Identifiers are accepted in the common spellings
|
|
37
|
+
* (`EPSG:3857`, `3857`, `urn:ogc:def:crs:EPSG::3857`,
|
|
38
|
+
* `http://www.opengis.net/def/crs/EPSG/0/3857`, `OGC:CRS84`) and normalized
|
|
39
|
+
* before classification.
|
|
40
|
+
*/
|
|
41
|
+
export interface SceneSpatialReference {
|
|
42
|
+
/** Horizontal CRS the binding's coordinates are authored in. */
|
|
43
|
+
readonly crs?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Vertical datum the binding's heights are referenced to. Accepts the same
|
|
46
|
+
* `ellipsoidal-wgs84` token the Cesium entity path uses, alongside EPSG
|
|
47
|
+
* identifiers such as `EPSG:4979` (ellipsoidal) or `EPSG:5703` (NAVD88).
|
|
48
|
+
*/
|
|
49
|
+
readonly verticalDatum?: string;
|
|
50
|
+
/** Detail the binding resolves, and how its coordinates are stored. */
|
|
51
|
+
readonly precision?: SceneSpatialPrecision;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Declared precision of a scene binding: the finest detail it actually
|
|
55
|
+
* resolves, plus the coordinate storage that bounds it.
|
|
56
|
+
*
|
|
57
|
+
* The two magnitudes are *claims* — what the author says the binding resolves.
|
|
58
|
+
* `coordinateFrame` and `coordinateStorage` are *limits* — what the binding's
|
|
59
|
+
* own encoding can carry. A claim is classified against every limit the plan
|
|
60
|
+
* (or the renderer, through {@link SceneSpatialPrecisionFloor}) declares, and
|
|
61
|
+
* the coarsest limit decides the fidelity.
|
|
62
|
+
*
|
|
63
|
+
* A claim with no declared limit, and a limit with no claim, are both silent:
|
|
64
|
+
* half a comparison supports no honest classification, and this SDK never
|
|
65
|
+
* resamples, re-encodes, or re-anchors a binding to make a claim fit.
|
|
66
|
+
*/
|
|
67
|
+
export interface SceneSpatialPrecision {
|
|
68
|
+
/**
|
|
69
|
+
* Finest horizontal detail the binding resolves, in metres — ground sample
|
|
70
|
+
* distance for a raster or DEM source, vertex spacing for a mesh or model.
|
|
71
|
+
* Must be finite and greater than zero.
|
|
72
|
+
*/
|
|
73
|
+
readonly horizontalMeters?: number;
|
|
74
|
+
/** Finest height detail the binding resolves, in metres. Must be finite and greater than zero. */
|
|
75
|
+
readonly verticalMeters?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Frame the binding's own coordinates are stored in. `geocentric` means
|
|
78
|
+
* earth-centred, earth-fixed values, whose magnitudes sit near the
|
|
79
|
+
* ellipsoid's semi-major axis; `local` means values relative to the binding's
|
|
80
|
+
* own origin — for a model layer, the `position` that anchors it.
|
|
81
|
+
*/
|
|
82
|
+
readonly coordinateFrame?: "geocentric" | "local";
|
|
83
|
+
/** Numeric width the binding's coordinates are stored at. */
|
|
84
|
+
readonly coordinateStorage?: "float32" | "float64";
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* A precision floor a renderer imposes on every binding it draws, independent
|
|
88
|
+
* of what the binding itself encodes.
|
|
89
|
+
*
|
|
90
|
+
* Omit it — as both shipped adapters do — when the renderer imposes no
|
|
91
|
+
* documented floor above the binding's own encoding. Silence here means "not
|
|
92
|
+
* declared", never "unbounded", and no floor is ever inferred.
|
|
93
|
+
*/
|
|
94
|
+
export interface SceneSpatialPrecisionFloor {
|
|
95
|
+
/** Finest horizontal detail the renderer resolves, in metres. */
|
|
96
|
+
readonly horizontalMeters?: number;
|
|
97
|
+
/** Finest height detail the renderer resolves, in metres. */
|
|
98
|
+
readonly verticalMeters?: number;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The horizontal CRS and vertical datums a renderer adapter can honor.
|
|
102
|
+
*
|
|
103
|
+
* Omit the record entirely to keep the pre-#929 behavior: without a declared
|
|
104
|
+
* renderer capability there is nothing to classify against, so declared
|
|
105
|
+
* primitive metadata is reported as unclassified rather than guessed at.
|
|
106
|
+
*/
|
|
107
|
+
export interface SceneSpatialCapabilities {
|
|
108
|
+
/** CRS identifiers the renderer addresses natively, with no resampling. */
|
|
109
|
+
readonly exactHorizontalCrs?: readonly string[];
|
|
110
|
+
/** CRS identifiers the renderer honors through its own reprojection/tiling. */
|
|
111
|
+
readonly equivalentHorizontalCrs?: readonly string[];
|
|
112
|
+
/** Vertical datums the renderer can interpret as scene heights. */
|
|
113
|
+
readonly verticalDatums?: readonly string[];
|
|
114
|
+
/**
|
|
115
|
+
* Precision floor the renderer imposes on every binding. Omit it when the
|
|
116
|
+
* renderer resolves whatever the binding encodes; an omitted floor is not
|
|
117
|
+
* read as an unbounded one.
|
|
118
|
+
*/
|
|
119
|
+
readonly precision?: SceneSpatialPrecisionFloor;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Freshness of the material behind a binding, as the plan's author observed it.
|
|
123
|
+
*
|
|
124
|
+
* Descriptive only. The adapter reports a `stale` or `bypass` status as a
|
|
125
|
+
* diagnostic and never acts on it: nothing here revalidates, refetches, or
|
|
126
|
+
* evicts, because the plan is not the cache's owner.
|
|
127
|
+
*/
|
|
7
128
|
export interface SceneCacheMetadata {
|
|
8
129
|
readonly status: "ready" | "stale" | "bypass" | "unknown";
|
|
9
130
|
readonly scope?: "metadata" | "tiles" | "asset" | "interaction";
|
|
@@ -16,6 +137,14 @@ export interface ScenePrimitiveBase {
|
|
|
16
137
|
readonly title?: string;
|
|
17
138
|
readonly attribution?: string;
|
|
18
139
|
readonly cache?: SceneCacheMetadata;
|
|
140
|
+
/**
|
|
141
|
+
* Version of the upstream asset this binding was authored against — a
|
|
142
|
+
* service version, dataset edition, or content digest, spelled however the
|
|
143
|
+
* publisher spells it. Opaque to the SDK: it is carried on every diagnostic
|
|
144
|
+
* this primitive raises so a finding can be traced back to the material it
|
|
145
|
+
* was computed from, and it is never parsed, compared, or negotiated.
|
|
146
|
+
*/
|
|
147
|
+
readonly sourceVersion?: string;
|
|
19
148
|
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
20
149
|
}
|
|
21
150
|
export interface SceneCameraPrimitive extends ScenePrimitiveBase {
|
|
@@ -30,7 +159,7 @@ export interface SceneGroundPrimitive extends ScenePrimitiveBase {
|
|
|
30
159
|
readonly opacity?: number;
|
|
31
160
|
}
|
|
32
161
|
export type SceneElevationSourceProtocol = "terrain-rgb" | "raster-dem" | "quantized-mesh" | "image-service" | "i3s" | "custom";
|
|
33
|
-
export interface SceneElevationSourcePrimitive extends ScenePrimitiveBase {
|
|
162
|
+
export interface SceneElevationSourcePrimitive extends ScenePrimitiveBase, SceneSpatialReference {
|
|
34
163
|
readonly kind: "elevation-source";
|
|
35
164
|
readonly sourceId: SourceId;
|
|
36
165
|
readonly protocol: SceneElevationSourceProtocol;
|
|
@@ -42,6 +171,30 @@ export interface SceneElevationSourcePrimitive extends ScenePrimitiveBase {
|
|
|
42
171
|
readonly maxzoom?: number;
|
|
43
172
|
readonly exaggeration?: number;
|
|
44
173
|
}
|
|
174
|
+
export type SceneImagerySourceProtocol = "url-template" | "wms" | "wmts" | "single-tile" | "arcgis-imagery";
|
|
175
|
+
/**
|
|
176
|
+
* A credential-free imagery binding for a scene renderer.
|
|
177
|
+
*
|
|
178
|
+
* Service-specific configuration stays explicit rather than hiding a failed
|
|
179
|
+
* provider behind a generic URL: WMS requires `layer`; WMTS additionally
|
|
180
|
+
* requires `style` and `tileMatrixSetId`. Authorization remains the host's
|
|
181
|
+
* responsibility and must not be serialized into this primitive.
|
|
182
|
+
*/
|
|
183
|
+
export interface SceneImageryLayerPrimitive extends ScenePrimitiveBase, SceneSpatialReference {
|
|
184
|
+
readonly kind: "imagery-layer";
|
|
185
|
+
readonly sourceId: SourceId;
|
|
186
|
+
readonly protocol: SceneImagerySourceProtocol;
|
|
187
|
+
readonly url: string;
|
|
188
|
+
readonly layer?: string;
|
|
189
|
+
readonly style?: string;
|
|
190
|
+
readonly format?: string;
|
|
191
|
+
readonly tileMatrixSetId?: string;
|
|
192
|
+
readonly parameters?: Readonly<Record<string, string | number | boolean>>;
|
|
193
|
+
readonly subdomains?: readonly string[];
|
|
194
|
+
readonly minimumLevel?: number;
|
|
195
|
+
readonly maximumLevel?: number;
|
|
196
|
+
readonly opacity?: number;
|
|
197
|
+
}
|
|
45
198
|
export type SceneExtrusionValue = number | readonly unknown[];
|
|
46
199
|
export interface SceneExtrusionPrimitive extends ScenePrimitiveBase {
|
|
47
200
|
readonly kind: "extrusion";
|
|
@@ -55,7 +208,21 @@ export interface SceneExtrusionPrimitive extends ScenePrimitiveBase {
|
|
|
55
208
|
readonly filters?: Readonly<Record<string, FilterClause>>;
|
|
56
209
|
}
|
|
57
210
|
export type SceneModelFormat = "gltf" | "glb" | "3d-tiles" | "i3s" | "obj" | "custom";
|
|
58
|
-
export interface
|
|
211
|
+
export interface ScenePointCloudShading {
|
|
212
|
+
/** Scale point size with geometric error / eye distance. */
|
|
213
|
+
readonly attenuation?: boolean;
|
|
214
|
+
/** Upper bound on attenuated point size, in pixels. Must be finite and > 0. */
|
|
215
|
+
readonly maximumAttenuation?: number;
|
|
216
|
+
/** Multiplier applied to the tile geometric error when sizing points. Must be finite and > 0. */
|
|
217
|
+
readonly geometricErrorScale?: number;
|
|
218
|
+
/** Apply eye-dome lighting to emphasize point-cloud depth. */
|
|
219
|
+
readonly eyeDomeLighting?: boolean;
|
|
220
|
+
/** Eye-dome lighting contrast. Must be finite and > 0. */
|
|
221
|
+
readonly eyeDomeLightingStrength?: number;
|
|
222
|
+
/** Eye-dome lighting sampling radius, in pixels. Must be finite and > 0. */
|
|
223
|
+
readonly eyeDomeLightingRadius?: number;
|
|
224
|
+
}
|
|
225
|
+
export interface SceneModelLayerPrimitive extends ScenePrimitiveBase, SceneSpatialReference {
|
|
59
226
|
readonly kind: "model-layer";
|
|
60
227
|
readonly sourceId?: SourceId;
|
|
61
228
|
readonly uri: string;
|
|
@@ -64,6 +231,8 @@ export interface SceneModelLayerPrimitive extends ScenePrimitiveBase {
|
|
|
64
231
|
readonly rotation?: readonly [number, number, number];
|
|
65
232
|
readonly scale?: number | readonly [number, number, number];
|
|
66
233
|
readonly featureId?: FeatureId;
|
|
234
|
+
/** Point-cloud rendering controls. Only meaningful for tiled (`3d-tiles`) assets. */
|
|
235
|
+
readonly pointCloudShading?: ScenePointCloudShading;
|
|
67
236
|
}
|
|
68
237
|
export interface SceneLayerMetadataPrimitive extends ScenePrimitiveBase {
|
|
69
238
|
readonly kind: "scene-layer-metadata";
|
|
@@ -73,7 +242,7 @@ export interface SceneLayerMetadataPrimitive extends ScenePrimitiveBase {
|
|
|
73
242
|
readonly sourceAsset?: string;
|
|
74
243
|
readonly capabilities?: readonly string[];
|
|
75
244
|
}
|
|
76
|
-
export type SceneRuntimePrimitive = SceneCameraPrimitive | SceneGroundPrimitive | SceneElevationSourcePrimitive | SceneExtrusionPrimitive | SceneModelLayerPrimitive | SceneLayerMetadataPrimitive;
|
|
245
|
+
export type SceneRuntimePrimitive = SceneCameraPrimitive | SceneGroundPrimitive | SceneElevationSourcePrimitive | SceneImageryLayerPrimitive | SceneExtrusionPrimitive | SceneModelLayerPrimitive | SceneLayerMetadataPrimitive;
|
|
77
246
|
export type SceneRuntimePrimitiveKind = SceneRuntimePrimitive["kind"];
|
|
78
247
|
export interface ScenePrimitiveDiagnostic {
|
|
79
248
|
readonly code: string;
|
|
@@ -84,6 +253,11 @@ export interface ScenePrimitiveDiagnostic {
|
|
|
84
253
|
readonly renderer?: SceneRendererKind | string;
|
|
85
254
|
readonly message: string;
|
|
86
255
|
readonly fallback?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Spatial fidelity this finding reports. Present on spatial-reference
|
|
258
|
+
* diagnostics; omitted where fidelity is not the subject of the finding.
|
|
259
|
+
*/
|
|
260
|
+
readonly fidelity?: SceneSpatialFidelity;
|
|
87
261
|
readonly context?: Readonly<Record<string, unknown>>;
|
|
88
262
|
}
|
|
89
263
|
export interface SceneRuntimeCapabilities {
|
|
@@ -94,11 +268,25 @@ export interface SceneRuntimeCapabilities {
|
|
|
94
268
|
readonly protocols: readonly SceneElevationSourceProtocol[];
|
|
95
269
|
readonly supportsExaggeration?: boolean;
|
|
96
270
|
};
|
|
271
|
+
readonly imagery?: {
|
|
272
|
+
readonly protocols: readonly SceneImagerySourceProtocol[];
|
|
273
|
+
};
|
|
97
274
|
readonly extrusion?: boolean;
|
|
98
275
|
readonly modelLayer?: {
|
|
276
|
+
/** Formats the underlying renderer engine can consume. */
|
|
99
277
|
readonly formats: readonly SceneModelFormat[];
|
|
278
|
+
/**
|
|
279
|
+
* The subset of {@link formats} this adapter actually materializes on a live
|
|
280
|
+
* scene. Omit when the adapter renders everything it declares. When present,
|
|
281
|
+
* a declared-but-unmaterialized format diagnoses as
|
|
282
|
+
* `scene-primitive-model-format-not-materialized` instead of reporting
|
|
283
|
+
* `supported` and then silently rendering nothing.
|
|
284
|
+
*/
|
|
285
|
+
readonly materializedFormats?: readonly SceneModelFormat[];
|
|
100
286
|
};
|
|
101
287
|
readonly sceneLayerMetadata?: boolean;
|
|
288
|
+
/** Horizontal CRS and vertical datums this renderer can honor. */
|
|
289
|
+
readonly spatial?: SceneSpatialCapabilities;
|
|
102
290
|
}
|
|
103
291
|
export interface ScenePrimitiveApplyResult {
|
|
104
292
|
readonly status: ScenePrimitiveStatus;
|
|
@@ -146,6 +334,14 @@ export interface MapLibreTerrainPatch {
|
|
|
146
334
|
readonly source: MapLibreTerrainSourceSpecification;
|
|
147
335
|
readonly terrain: MapLibreTerrainOptions;
|
|
148
336
|
}
|
|
337
|
+
/**
|
|
338
|
+
* Both shipped adapters address the world in geographic WGS84 and consume the
|
|
339
|
+
* Web Mercator family through their own tiling/reprojection, so they share one
|
|
340
|
+
* spatial capability record. Nothing else is honorable here: this slice
|
|
341
|
+
* performs no reprojection, so a projected or local CRS would render in the
|
|
342
|
+
* wrong place, and a non-ellipsoidal datum would render at the wrong height.
|
|
343
|
+
*/
|
|
344
|
+
export declare const RENDERER_WGS84_SPATIAL_CAPABILITIES: SceneSpatialCapabilities;
|
|
149
345
|
export declare const MAPLIBRE_SCENE_CAPABILITIES: SceneRuntimeCapabilities;
|
|
150
346
|
export declare function createSceneRuntimeAdapter(options: {
|
|
151
347
|
readonly id: string;
|
|
@@ -154,9 +350,47 @@ export declare function createSceneRuntimeAdapter(options: {
|
|
|
154
350
|
}): SceneRuntimeAdapter;
|
|
155
351
|
export declare function createMapLibreSceneAdapter(id?: string): SceneRuntimeAdapter;
|
|
156
352
|
export declare function diagnoseScenePrimitives(primitives: readonly SceneRuntimePrimitive[], capabilities: SceneRuntimeCapabilities): ScenePrimitiveDiagnostic[];
|
|
353
|
+
/**
|
|
354
|
+
* Diagnose one primitive against a renderer capability record.
|
|
355
|
+
*
|
|
356
|
+
* Three independent questions are answered: whether the renderer can
|
|
357
|
+
* *materialize* the binding at all (structure), whether it can place it where
|
|
358
|
+
* the author meant and resolve it at the detail the author claimed (spatial
|
|
359
|
+
* reference and precision), and what the plan says about the material behind it
|
|
360
|
+
* (cache freshness, source version). All are pure — nothing here loads a
|
|
361
|
+
* renderer peer, so a migration analysis can run before a viewer exists.
|
|
362
|
+
*
|
|
363
|
+
* A spatial finding — CRS, vertical datum, or precision — replaces the generic
|
|
364
|
+
* `scene-primitive-supported` summary, mirroring how a renderability finding
|
|
365
|
+
* already does: the caller should read the fidelity, not a bare "supported".
|
|
366
|
+
* Descriptive asset findings (cache freshness, unreadable metadata) are additive
|
|
367
|
+
* instead, because they say nothing about whether the renderer can draw the
|
|
368
|
+
* binding. A primitive that declares no CRS, vertical datum, precision, cache,
|
|
369
|
+
* or source version diagnoses exactly as it did before those contracts existed.
|
|
370
|
+
*/
|
|
157
371
|
export declare function diagnoseScenePrimitive(primitive: SceneRuntimePrimitive, capabilities: SceneRuntimeCapabilities): ScenePrimitiveDiagnostic[];
|
|
158
372
|
export declare function toMapLibreTerrainPatch(primitive: SceneElevationSourcePrimitive): MapLibreTerrainPatch;
|
|
159
373
|
export declare function toMapLibreExtrusionLayer(primitive: SceneExtrusionPrimitive): MapLibreExtrusionLayerSpecification;
|
|
160
374
|
export declare function applyMapLibreScenePrimitives(target: MapLibreSceneRuntimeTarget, primitives: readonly SceneRuntimePrimitive[]): ScenePrimitiveApplyResult;
|
|
161
375
|
export declare function summarizeDiagnosticStatus(diagnostics: readonly ScenePrimitiveDiagnostic[]): ScenePrimitiveStatus;
|
|
376
|
+
/**
|
|
377
|
+
* Enforces the credential-free serialization boundary used by workspace state.
|
|
378
|
+
* Renderability diagnostics remain separate so incomplete-but-safe bindings can
|
|
379
|
+
* still be inspected, while unsafe or malformed URL material is never retained.
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
export declare function assertScenePrimitiveSerializable(primitive: SceneRuntimePrimitive): void;
|
|
383
|
+
/**
|
|
384
|
+
* Compile protocol-neutral filter clauses into a legacy-style 2D layer filter
|
|
385
|
+
* scoped to one source.
|
|
386
|
+
*
|
|
387
|
+
* Clauses with an `appliesTo` list that excludes `sourceId` are skipped, and a
|
|
388
|
+
* clause the 2D filter language cannot express (`like`) is dropped rather than
|
|
389
|
+
* emitted as something weaker. The result always starts with `"all"`, so an
|
|
390
|
+
* empty clause set compiles to a filter that keeps everything.
|
|
391
|
+
*
|
|
392
|
+
* Exported so the shipped state-sync port applies the same compiler the
|
|
393
|
+
* extrusion binding uses instead of re-deriving it (issue #1049).
|
|
394
|
+
*/
|
|
395
|
+
export declare function compileMapLibreFilters(filters: Readonly<Record<string, FilterClause>>, sourceId: string): unknown[];
|
|
162
396
|
//# sourceMappingURL=primitives.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/scene-workspace/primitives.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEzF,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC3E,MAAM,MAAM,oBAAoB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