Provides access to the properties for setting up directions.
Members
Name | Description | |
---|---|---|
AbbreviationsTableName | The abbreviatiations table name. | |
AttributeMappings | The collection of directions attribute mapping. | |
DefaultOutputLengthUnits | The default length units that will be used for reporting distances in directions. | |
LengthAttributeName | The name of the network attribute to be used for reporting travel distances. | |
ReferenceLandmarkSources | The array of reference landmark source names. | |
RoadClassAttributeName | The name of the network attribute to be used for road classification. | |
RoadSplitsTableName | The name of the table containing the road splits. | |
SignpostFeatureClassName | The name of the feature class containing the signposts. | |
SignpostStreetsTableName | The name of the indexed table of signpost street references. | |
SupportsLocalizedStreetNames | The flag that indicates if network has street names translated in multiple languages. | |
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.