INetworkDirections Interface

Provides access to the properties for setting up directions.

Members

Name Description
Read/write property AbbreviationsTableName The abbreviatiations table name.
Read/write property AttributeMappings The collection of directions attribute mapping.
Read/write property DefaultOutputLengthUnits The default length units that will be used for reporting distances in directions.
Read/write property LengthAttributeName The name of the network attribute to be used for reporting travel distances.
Read/write property ReferenceLandmarkSources The array of reference landmark source names.
Read/write property RoadClassAttributeName The name of the network attribute to be used for road classification.
Read/write property RoadSplitsTableName The name of the table containing the road splits.
Read/write property SignpostFeatureClassName The name of the feature class containing the signposts.
Read/write property SignpostStreetsTableName The name of the indexed table of signpost street references.
Read/write property SupportsLocalizedStreetNames The flag that indicates if network has street names translated in multiple languages.
Read/write property TimeAttributeName The name of the network attribute to be used for reporting travel time.

INetworkDirections.AbbreviationsTableName Property

The abbreviatiations table name.

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

INetworkDirections.AttributeMappings Property

The collection of directions attribute mapping.

Public Property AttributeMappings As IArray
public IArray AttributeMappings {get; set;}

INetworkDirections.DefaultOutputLengthUnits Property

The default length units that will be used for reporting distances in directions.

Public Property DefaultOutputLengthUnits As esriNetworkAttributeUnits
public esriNetworkAttributeUnits DefaultOutputLengthUnits {get; set;}

Remarks

The DefaultOutputLengthUnits that will be used for generating directions. This property is required for Direction generation.

The valid values are: esriNAUMiles, esriNAUKilometers, esriNAUMeters, esriNAUYards, and esriNAUFeet from the esriNetworkAttributeUnits enumeration.

This value does not have to correspond to the units specified for the LengthAttributeName property.

INetworkDirections.LengthAttributeName Property

The name of the network attribute to be used for reporting travel distances.

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

Remarks

The LengthAttributeName property is the attribute that will be used for distance measurements. The attribute must have a units value from the esriNetworkAttributeUnits enumeration that corresponds to a distance measurement and must be a Cost attribute. This does not have to be same value as specified in the DefaultOutputLengthUnits property. This property is required for Direction generation.

INetworkDirections.ReferenceLandmarkSources Property

The array of reference landmark source names.

Public Property ReferenceLandmarkSources As IStringArray
public IStringArray ReferenceLandmarkSources {get; set;}

INetworkDirections.RoadClassAttributeName Property

The name of the network attribute to be used for road classification.

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

Remarks

The RoadClassAttributeName property is the attribute that will be used for identifying different classes of roads in direction generation. The attribute must be of usage type: esriNAUTDescriptor and of data type: esriNADTInteger.

INetworkDirections.RoadSplitsTableName Property

The name of the table containing the road splits.

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

INetworkDirections.SignpostFeatureClassName Property

The name of the feature class containing the signposts.

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

INetworkDirections.SignpostStreetsTableName Property

The name of the indexed table of signpost street references.

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

INetworkDirections.SupportsLocalizedStreetNames Property

The flag that indicates if network has street names translated in multiple languages.

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

INetworkDirections.TimeAttributeName Property

The name of the network attribute to be used for reporting travel time.

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

Remarks

The TimeAttributeName property is the attribute that will be used for time measurements. The attribute must have a units value from the esriNetworkAttributeUnits enumeration that corresponds to a unit of time and must be a Cost attribute.

Classes that implement INetworkDirections

Classes Description
NetworkDirections A container for describing and using network directions.

Remarks

The INetworkDirections interface should be used to get and set Directions information at the network dataset level, such as the output length units or length attribute to be used for Directions generation. In order to generate directions a network dataset needs certain information which includes:

  • Length attribute
  • Length units
  • At least one edge feature class with a primary name

The length attribute and units parameters are set on the INetworkDirections interface.

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