IFeatureLayer80

This interface provides access to feature layers.

 

 

Properties

 

AltitudeUnit

Gets and sets an enum defining the units used for altitude measurements.

Annotation

Gets and sets a Boolean indicating whether the layer contains an annotation object.

BBox

An IBBox2D80 representing the bounding box that designates a fixed rectangular section of the feature layer to load. Note that changes are applied only following a call to Refresh().

BlockWidth

Gets and sets the geographic block width of the stream requests that are sent from TerraExplorer to the remote server.

CoordinateSystem

Gets and sets an ICoordinateSystem80 representing the layer’s coordinate system information.

DataSourceInfo

An IDataSourceInfo80 representing the data source a project layer is based on.

DynamicAnnotationPlacement

Gets and sets a Boolean that determines if annotations are moved along the polyline object to which they are assigned to a visible area on the 3D Window.

Editable

Gets a Boolean indicating whether the layer is editable.

FeatureGroups

An IFeatureGroups80 representing the layer’s feature groups.

Filter

Gets and sets any valid SQL WHERE clause.

GeometryType

Gets the layer’s geometry type (e.g. polyline or polygon).

ID

Gets the ID of the object. (Inherited from ITerraExplorerObject80).

IgnoreZ

Gets and sets a Boolean indicating whether the Z value is ignored.

MinimizeLabelDuplications

Gets and sets a Boolean that determines if all duplicated labels with the same text or image are removed from view.

ObjectType

Gets an enum that identifies the type of the object. (Inherited from ITerraExplorerObject80).

Position

An IPosition80 representing the layer’s position on the terrain.

Reproject

Gets and sets a Boolean that determines if the layer’s coordinate system is reprojected to the terrain’s coordinate system.

ReprojectElevation

Gets and sets a Boolean that determines if the layer’s elevation coordinates are reprojected from the layer’s coordinate system to the terrain’s coordinate system.

SaveInFlyFile

Reserved. Currently not used. (Inherited from ITerraExplorerObject80).

SelectedFeatures

An IFeatures80 representing the layer’s currently selected features.

Streaming

Gets and sets a Boolean that determines if layer data is streamed.

StreamStatus

Gets and sets an enum that determines the status of the streaming (e.g. Paused or Streaming).

TreeItem

An ITreeItem80 representing details about the representation of the object in the Project Tree.

Visibility

An IVisibility80 controlling visibility of the layer at different distances.

 

Methods

 

CopyStyleFrom

Copies the styles from a layer in order to then paste the styles to a layer with features of the same geometry type using the CopyStyleTo method.

CopyStyleTo

Pastes the styles that were copied from a layer with features of the same geometry type using the CopyStyleFrom method.

ExecuteQuery

Returns an IFeatures80 representing all the features in a layer that have a specified attribute value. When a combined attribute and spatial query is required, an IGeometry parameter can be defined that filters the returned features by a selection area geometry in addition to the attribute value.

ExecuteQueryAsync

Returns all the features in a layer that have a specified attribute value. This method executes asynchronously, , immediately returning an ITerraExplorerAsync80, thereby ensuring that control is promptly handed back to the calling function.

ExecuteSpatialQuery

Returns an IFeatures80 representing all the features that intersect with a selection area geometry according to the specified intersection type and renders all data in the 3D Window.

GetClientData

Gets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80).

Load

Loads the new layer on the terrain.

LoadAsync

Loads the new layer on the terrain. This method executes asynchronously, , immediately returning an ITerraExplorerAsync80, thereby ensuring that control is promptly handed back to the calling function.

Refresh

Refreshes the layer.

RefreshFeatures

Refreshes specific features in the layer.

Save

Saves layer changes to the data source.

SaveAs

Saves layer changes to a file with a specified name.

SetClientData

Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80).