Interface INetworkDirections
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to the properties for setting up directions.
[Guid("ACDA7B59-B41F-48B8-A1CE-582FE481053F")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INetworkDirections
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.
Properties
AbbreviationsTableName
The abbreviatiations table name.
string AbbreviationsTableName { get; set; }
Property Value
AttributeMappings
The collection of directions attribute mapping.
IArray AttributeMappings { get; set; }
Property Value
DefaultOutputLengthUnits
The default length units that will be used for reporting distances in directions.
esriNetworkAttributeUnits DefaultOutputLengthUnits { get; set; }
Property Value
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.
LengthAttributeName
The name of the network attribute to be used for reporting travel distances.
string LengthAttributeName { get; set; }
Property Value
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.
ReferenceLandmarkSources
The array of reference landmark source names.
IStringArray ReferenceLandmarkSources { get; set; }
Property Value
RoadClassAttributeName
The name of the network attribute to be used for road classification.
string RoadClassAttributeName { get; set; }
Property Value
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.
RoadSplitsTableName
The name of the table containing the road splits.
string RoadSplitsTableName { get; set; }
Property Value
SignpostFeatureClassName
The name of the feature class containing the signposts.
string SignpostFeatureClassName { get; set; }
Property Value
SignpostStreetsTableName
The name of the indexed table of signpost street references.
string SignpostStreetsTableName { get; set; }
Property Value
SupportsLocalizedStreetNames
The flag that indicates if network has street names translated in multiple languages.
bool SupportsLocalizedStreetNames { get; set; }
Property Value
TimeAttributeName
The name of the network attribute to be used for reporting travel time.
string TimeAttributeName { get; set; }
Property Value
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.