IJunctionFeatureSource Interface

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

Members

Name Description
Method AddClassConnectivityGroup Adds a connectivity group in which this junction feature source participates.
Method AddSubtypeConnectivityGroup Adds a connectivity group in which the specified subtype of this junction feature source participates.
Read-only property ClassConnectivityGroups Connectivity groups in which this junction feature source participates.
Read/write property ClassConnectivityPolicy Policy determining how all junction elements in this source connect to other edge elements.
Read/write property ElevationFieldName The field name on the feature source to be used as the elevation field when determining connectivity at coincident vertices.
Method RemoveAllClassConnectivityGroups Removes all connectivity groups in which this junction feature source participates.
Method RemoveAllSubtypeConnectivityGroups Removes all connectivity groups in which the specified subtype of this junction feature source participates.
Read-only property SubtypeConnectivityGroups Connectivity groups in which the specified subtype of this junction feature source participates.
Read/write property SubtypeConnectivityPolicy Policy determining how the junction elements in the specified subtype of this source connect to other edge elements.
Read/write property UsesSubtypes Indicates if this junction feature source determines connectivity groups and policies by subtypes.

IJunctionFeatureSource.AddClassConnectivityGroup Method

Adds a connectivity group in which this junction feature source participates.

Public Sub AddClassConnectivityGroup ( _
    ByVal group As Integer _
)
public void AddClassConnectivityGroup (
    int group
);

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

If all features are assigned to the same connectivity group(s), then use the AddClassConnectivityGroup method to add a new connectivity group to the list of connectivity groups that this JunctionFeatureSource is assigned.

If features are assigned to connectivity group(s) based on their Subtype values, then the AddClassConnectivityGroup method is not used. See the AddSubtypeConnectivityGroup method.

IJunctionFeatureSource.AddSubtypeConnectivityGroup Method

Adds a connectivity group in which the specified subtype of this junction feature source participates.

Public Sub AddSubtypeConnectivityGroup ( _
    ByVal SubtypeCode As Integer, _
    ByVal group As Integer _
)
public void AddSubtypeConnectivityGroup (
    int SubtypeCode,
    int group
);

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

If all features are assigned to the same connectivity group(s), then the AddSubtypeConnectivityGroup method is not used. See the AddClassConnectivityGroup method.

If features are assigned to connectivity group(s) based on their Subtype values, then use the AddSubtypeConnectivityGroup method to add a new connectivity group to the list of connectivity groups that this JunctionFeatureSource is assigned for the given Subtype value.

IJunctionFeatureSource.ClassConnectivityGroups Property

Connectivity groups in which this junction feature source participates.

Public ReadOnly Property ClassConnectivityGroups As ILongArray
public ILongArray ClassConnectivityGroups {get;}

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

If all features are assigned to the same connectivity group(s), then use the ClassConnectivityGroups property to retrieve which connectivity group(s) this JunctionFeatureSource is assigned.

If features are assigned to connectivity group(s) based on their Subtype values, then the ClassConnectivityGroups property is not used. See the SubtypeConnectivityGroups property.

IJunctionFeatureSource.ClassConnectivityPolicy Property

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

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

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

If all features are assigned to the same connectivity group(s), then use the ClassConnectivityPolicy property to specify the appropriate junction connectivity policy for the features in this JunctionFeatureSource.

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

IJunctionFeatureSource.ElevationFieldName Property

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

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

IJunctionFeatureSource.RemoveAllClassConnectivityGroups Method

Removes all connectivity groups in which this junction feature source participates.

Public Sub RemoveAllClassConnectivityGroups ( _
)
public void RemoveAllClassConnectivityGroups (
);

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

If all features are assigned to the same connectivity group(s), then use the RemoveAllClassConnectivityGroups method to clear out the list of connectivity groups that this JunctionFeatureSource is assigned.

If features are assigned to connectivity group(s) based on their Subtype values, then the RemoveAllClassConnectivityGroups method is not used. See the RemoveAllSubtypeConnectivityGroups method.

IJunctionFeatureSource.RemoveAllSubtypeConnectivityGroups Method

Removes all connectivity groups in which the specified subtype of this junction feature source participates.

Public Sub RemoveAllSubtypeConnectivityGroups ( _
    ByVal SubtypeCode As Integer _
)
public void RemoveAllSubtypeConnectivityGroups (
    int SubtypeCode
);

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

If all features are assigned to the same connectivity group(s), then the RemoveAllSubtypeConnectivityGroups method is not used. See the RemoveAllClassConnectivityGroups method.

If features are assigned to connectivity group(s) based on their Subtype values, then use the RemoveAllSubtypeConnectivityGroups method to clear out the list of connectivity groups that this JunctionFeatureSource is assigned for the given Subtype value.

IJunctionFeatureSource.SubtypeConnectivityGroups Property

Connectivity groups in which the specified subtype of this junction feature source participates.

Public Function get_SubtypeConnectivityGroups ( _
    ByVal SubtypeCode As Integer _
) As ILongArray
public ILongArray get_SubtypeConnectivityGroups (
    int SubtypeCode
);

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

If all features are assigned to the same connectivity group(s), then the SubtypeConnectivityGroups property is not used. See the ClassConnectivityGroups property.

If features are assigned to connectivity group(s) based on their Subtype values, then use the SubtypeConnectivityGroups property to retrieve which connectivity group(s) this JunctionFeatureSource is assigned for the given Subtype value.

IJunctionFeatureSource.SubtypeConnectivityPolicy Property

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

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

Remarks

A JunctionFeatureSource can be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

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

If features are assigned to a connectivity group(s) based on their Subtype values, then use the SubtypeConnectivityPolicy property to specify the appropriate junction connectivity policy for each Subtype value.

IJunctionFeatureSource.UsesSubtypes Property

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

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

Remarks

Acan be assigned to connectivity group(s) in the network dataset in one of two ways:

  • All features in the JunctionFeatureSource are assigned to the same connectivity group(s), or
  • Features in the JunctionFeatureSource are assigned to connectivity group(s) based on their Subtype values.

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

If features are assigned to connectivity group(s) based on their Subtype values, then the UsesSubtypes property should be set to True. This means that the SubtypeConnectivityGroups and SubtypeConnectivityPolicy settings will apply to this JunctionFeatureSource.

Classes that implement IJunctionFeatureSource

Classes Description
JunctionFeatureSource A container for describing a network dataset source whose junction elements are derived from point feature geometry.

Remarks

The IJunctionFeatureSource interface is used to access the properties of the junction feature source, such as its connectivity groups and elevation field name.

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

The IJunctionFeatureSource interface is also used to define a new junction feature source. To create a new junction feature source, cocreate the JunctionFeatureSource object, specify its properties on both the INetworkSource and IJunctionFeatureSource 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.