A
DataSource that loads FlatBuffer-encoded data from
spacedatastandards.org (SDS). Auto-detects the FlatBuffer type from
its 4-byte file identifier and delegates to the appropriate ingest path.
Supported types:
- `$CZM` — Binary CZML (same entities as CzmlDataSource)
- `$KML` — Binary KML (same entities as KmlDataSource)
- `$GJN` — Binary GeoJSON (same entities as GeoJsonDataSource)
- `$OEM` — Orbit Ephemeris Message (EphemerisPositionProperty)
- `$OMM` — Orbit Mean-elements Message (PropagatedPositionProperty via SGP4)
- `$CDM` — Conjunction Data Message
| Name | Type | Description |
|---|---|---|
name |
string | optional An optional name for the data source. |
Members
changedEvent : Event
Gets an event raised when the underlying data changes.
Gets the clock settings defined by the loaded data.
Gets or sets the clustering options for this data source.
Gets the collection of entities.
Gets an event raised if an error is encountered during processing.
Gets whether the data source is currently loading data.
loadingEvent : Event
Gets an event raised when the value of isLoading changes.
Gets a human-readable name for this instance.
Gets whether or not this data source should be displayed.
Methods
load(data, options) → Promise.<FlatBufferDataSource>
Loads the provided FlatBuffer data, replacing any existing data.
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
data |
Resource | string | ArrayBuffer | Uint8Array | A URL, Resource, ArrayBuffer, or Uint8Array containing FlatBuffer bytes. | ||||||
options |
object |
optional
Loading options.
|
Returns:
A promise that resolves to this
instance once the data is processed.
Push raw bytes from a stream (WebSocket, fetch stream, etc.).
Delegates to the internal SDSStreamHandler for size-prefixed framing
and file-identifier routing.
| Name | Type | Description |
|---|---|---|
data |
Uint8Array | Raw bytes from the stream. |
Returns:
Number of complete messages processed.
Updates the data source to the provided time.
| Name | Type | Description |
|---|---|---|
time |
JulianDate | The simulation time. |
Returns:
True if this data source is ready to be displayed.