IEdgeFeatureSource Interface

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

Members

Name Description
Read/write property ClassConnectivityGroup Connectivity group in which this edge feature source participates.
Read/write property ClassConnectivityPolicy Policy determining how all edge elements in this source connect to each other.
Read/write property FromElevationFieldName The field name on the feature source to be used as the from elevation field when determining connectivity at coincident end vertices.
Read/write property SubtypeConnectivityGroup Connectivity group in which the specified subtype of this edge feature source participates.
Read/write property SubtypeConnectivityPolicy Policy determining how the edge elements in the specified subtype of this source connect to each other.
Read/write property ToElevationFieldName The field name on the feature source to be used as the to elevation field when determining connectivity at coincident end vertices.
Read/write property UsesSubtypes Indicates if this edge feature source determines connectivity groups and policies by subtypes.

IEdgeFeatureSource.ClassConnectivityGroup Property

Connectivity group in which this edge feature source participates.

Public Property ClassConnectivityGroup As Integer
public int ClassConnectivityGroup {get; set;}

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.

IEdgeFeatureSource.ClassConnectivityPolicy Property

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

Public Property ClassConnectivityPolicy As esriNetworkEdgeConnectivityPolicy
public esriNetworkEdgeConnectivityPolicy ClassConnectivityPolicy {get; set;}

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.

IEdgeFeatureSource.FromElevationFieldName Property

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

Public Property FromElevationFieldName As String
public string FromElevationFieldName {get; set;}

Remarks

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

IEdgeFeatureSource.SubtypeConnectivityGroup Property

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

Public Function get_SubtypeConnectivityGroup ( _
    ByVal SubtypeCode As Integer _
) As Integer
Public Sub set_SubtypeConnectivityGroup ( _
    ByVal SubtypeCode As Integer, _
    ByVal group As Integer _
)
public int get_SubtypeConnectivityGroup (
    int SubtypeCode
);
public void set_SubtypeConnectivityGroup (
    int SubtypeCode,
    int group
);

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.

IEdgeFeatureSource.SubtypeConnectivityPolicy Property

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

Public Function get_SubtypeConnectivityPolicy ( _
    ByVal SubtypeCode As Integer _
) As esriNetworkEdgeConnectivityPolicy
Public Sub set_SubtypeConnectivityPolicy ( _
    ByVal SubtypeCode As Integer, _
    ByVal policy As esriNetworkEdgeConnectivityPolicy _
)
public esriNetworkEdgeConnectivityPolicy get_SubtypeConnectivityPolicy (
    int SubtypeCode
);
public void set_SubtypeConnectivityPolicy (
    int SubtypeCode,
    esriNetworkEdgeConnectivityPolicy policy
);

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.

IEdgeFeatureSource.ToElevationFieldName Property

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

Public Property ToElevationFieldName As String
public string ToElevationFieldName {get; set;}

Remarks

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

IEdgeFeatureSource.UsesSubtypes Property

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

Public Property UsesSubtypes As Boolean
public bool UsesSubtypes {get; set;}

Remarks

Ancan 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.

Classes that implement IEdgeFeatureSource

Classes Description
EdgeFeatureSource A container for describing a network dataset source whose edge elements are derived from line feature geometry.

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.