I3SDataProvider

An I3SDataProvider is the main public class for I3S support. The url option should return a scene object. Currently supported I3S versions are 1.6 and 1.7/1.8 (OGC I3S 1.2). I3SFeature and I3SNode classes implement the Object Model for I3S entities, with public interfaces.

try {
const i3sData = await I3SDataProvider.fromUrl(
"https://tiles.arcgis.com/tiles/z2tnIkrLQ2BRzr6P/arcgis/rest/services/Frankfurt2017_vi3s_18/SceneServer/layers/0"
);
viewer.scene.primitives.add(i3sData);
} catch (error) {
console.log(`There was an error creating the I3S Data Provider: ${error}`);
}
try {
const geoidService = await ArcGISTiledElevationTerrainProvider.fromUrl(
"https://tiles.arcgis.com/tiles/z2tnIkrLQ2BRzr6P/arcgis/rest/services/EGM2008/ImageServer"
);
const i3sData = await I3SDataProvider.fromUrl(
"https://tiles.arcgis.com/tiles/z2tnIkrLQ2BRzr6P/arcgis/rest/services/Frankfurt2017_vi3s_18/SceneServer/layers/0", {
geoidTiledTerrainProvider: geoidService
});
viewer.scene.primitives.add(i3sData);
} catch (error) {
console.log(`There was an error creating the I3S Data Provider: ${error}`);
}

Parameters

options

An object describing initialization options

See also

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Initialization options for the I3SDataProvider constructor

Properties

Link copied to clipboard

Determines if the alpha mode of the material will be adjusted depending on the color vertex attribute.

Link copied to clipboard

Determines if the I3S symbology will be parsed and applied for the layers.

Link copied to clipboard

Determines if the flat normals will be generated for I3S geometry without normals.

Link copied to clipboard
val data: Any

Gets the I3S data for this object.

Link copied to clipboard

Gets the extent covered by this I3S.

Link copied to clipboard

The terrain provider referencing the GEOID service to be used for orthometric to ellipsoidal conversion.

Link copied to clipboard

Gets the collection of layers.

Link copied to clipboard

Gets a human-readable name for this dataset.

Link copied to clipboard

The resource used to fetch the I3S dataset.

Link copied to clipboard

Determines if the dataset will be shown.

Link copied to clipboard

Determines if the features will be shown.

Link copied to clipboard

Gets the collection of building sublayers.

Functions

Link copied to clipboard
fun destroy()

Destroys the WebGL resources held by this object. Destroying an object allows for deterministic release of WebGL resources, instead of relying on the garbage collector to destroy this object.

Link copied to clipboard
suspend fun filterByAttributes(filters: ReadonlyArray<I3SNode.AttributeFilter>? = definedExternally)

Filters the drawn elements of a scene to specific attribute names and values

Link copied to clipboard
Link copied to clipboard

Returns the collection of names for all available attributes

Link copied to clipboard

Returns the collection of values for the attribute with the given name

Link copied to clipboard

Returns true if this object was destroyed; otherwise, false.