Interface IEdgeFeatureSource

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that specify the properties of a network dataset source whose edge elements are derived from line geometry.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("CC16E6DB-051A-4CCB-ADAF-0CA823ECD00B")]
public interface IEdgeFeatureSource

Remarks

The IEdgeFeatureSource interface is used to access the properties of the edge feature source, such as its connectivity groups and elevation field names.

To access the EdgeFeatureSource object for an existing network dataset source, use the Source, SourceByID, or SourceByName methods on the INetworkDataset interface.

The IEdgeFeatureSource interface is also used to define a new edge feature source.  To create a new edge feature source, cocreate the EdgeFeatureSource object, specify its properties on both the INetworkSource and IEdgeFeatureSource interfaces, and pass the object to the INetworkBuild::AddSource method on the network dataset.

Properties

ClassConnectivityGroup

Connectivity group in which this edge feature source participates.

int ClassConnectivityGroup { get; set; }

Property Value

int

Remarks

An EdgeFeatureSource can be assigned to a connectivity group in the network dataset in one of two ways:

  • All features in the EdgeFeatureSource are assigned to the same connectivity group, or
  • Features in the EdgeFeatureSource are assigned to a connectivity group based on their Subtype values.

If all features are assigned to the same connectivity group, then use the ClassConnectivityGroup property to specify the connectivity group that this EdgeFeatureSource is assigned.

If features are assigned to a connectivity group based on their Subtype values, then the ClassConnectivityGroup property is not used.  See the SubtypeConnectivityGroup property.

ClassConnectivityPolicy

Policy determining how all edge elements in this source connect to each other.

esriNetworkEdgeConnectivityPolicy ClassConnectivityPolicy { get; set; }

Property Value

esriNetworkEdgeConnectivityPolicy

Remarks

An EdgeFeatureSource can be assigned to a connectivity group in the network dataset in one of two ways:

  • All features in the EdgeFeatureSource are assigned to the same connectivity group, or
  • Features in the EdgeFeatureSource are assigned to a connectivity group based on their Subtype values.

If all features are assigned to the same connectivity group, then use the ClassConnectivityPolicy property to specify the appropriate edge connectivity policy for the features in this EdgeFeatureSource.

If features are assigned to a connectivity group based on their Subtype values, then the ClassConnectivityPolicy property is not used.  See the SubtypeConnectivityPolicy property.

FromElevationFieldName

The field name on the feature source to be used as the from elevation field when determining connectivity at coincident end vertices.

string FromElevationFieldName { get; set; }

Property Value

string

Remarks

When using elevation field data, both the FromElevationFieldName and ToElevationFieldName must be specified.

SubtypeConnectivityGroup[int]

Connectivity group in which the specified subtype of this edge feature source participates.

int SubtypeConnectivityGroup[int SubtypeCode] { get; set; }

Parameters

SubtypeCode int

Property Value

int

Remarks

An EdgeFeatureSource can be assigned to a connectivity group in the network dataset in one of two ways:

  • All features in the EdgeFeatureSource are assigned to the same connectivity group, or
  • Features in the EdgeFeatureSource are assigned to a connectivity group based on their Subtype values.

If all features are assigned to the same connectivity group, then the SubtypeConnectivityGroup property is not used.  See the ClassConnectivityGroup property.

If features are assigned to a connectivity group based on their Subtype values, then each Subtype value can be assigned to a different connectivity group.  Use the SubtypeConnectivityGroup property to specify the connectivity group that each Subtype value is assigned.

SubtypeConnectivityPolicy[int]

Policy determining how the edge elements in the specified subtype of this source connect to each other.

esriNetworkEdgeConnectivityPolicy SubtypeConnectivityPolicy[int SubtypeCode] { get; set; }

Parameters

SubtypeCode int

Property Value

esriNetworkEdgeConnectivityPolicy

Remarks

An EdgeFeatureSource can be assigned to a connectivity group in the network dataset in one of two ways:

  • All features in the EdgeFeatureSource are assigned to the same connectivity group, or
  • Features in the EdgeFeatureSource are assigned to a connectivity group based on their Subtype values.

If all features are assigned to the same connectivity group, then the SubtypeConnectivityPolicy property is not used.  See the ClassConnectivityPolicy property.

If features are assigned to a connectivity group based on their Subtype values, then each Subtype value can be assigned to a different connectivity group.  Use the SubtypeConnectivityPolicy property to specify the appropriate edge connectivity policy for each Subtype value.

ToElevationFieldName

The field name on the feature source to be used as the to elevation field when determining connectivity at coincident end vertices.

string ToElevationFieldName { get; set; }

Property Value

string

Remarks

When using elevation field data, both the FromElevationFieldName and ToElevationFieldName must be specified.

UsesSubtypes

Indicates if this edge feature source determines connectivity groups and policies by subtypes.

bool UsesSubtypes { get; set; }

Property Value

bool

Remarks

An  can be assigned to a connectivity group in the network dataset in one of two ways:

  • All features in the EdgeFeatureSource are assigned to the same connectivity group, or
  • Features in the EdgeFeatureSource are assigned to a connectivity group based on their Subtype values.

If all features are assigned to the same connectivity group, then the UsesSubtypes property should be set to False.  This means that the ClassConnectivityGroup and ClassConnectivityPolicy settings will apply to this EdgeFeatureSource.

If features are assigned to a connectivity group based on their Subtype values, then the UsesSubtypes property should be set to True.  This means that the SubtypeConnectivityGroup and SubtypeConnectivityPolicy settings will apply to this EdgeFeatureSource.