com.esri.arcgis.networkanalyst
Interface INAServerRouteResults2

All Superinterfaces:
INAServerRouteResults, INAServerSolverResults, Serializable
All Known Subinterfaces:
INAServerRouteResults3
All Known Implementing Classes:
NAServerRouteResults

public interface INAServerRouteResults2
extends INAServerRouteResults, Serializable

Deprecated as of 10.0. Provides access to properties that contain the results of performing route network analysis with NAServer.

Remarks

At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.

INAServerRouteResults2 has been superseded by INAServerRouteResults3.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 INACompactStreetDirections[] getCompactDirections()
          Compact directions for each resulting route.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerRouteResults
getBarriers, getDirections, getRouteGeometries, getRoutes, getStops, getTotalImpedances
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerSolverResults
getMapImage, getSolveMessages
 

Method Detail

getCompactDirections

INACompactStreetDirections[] getCompactDirections()
                                                  throws IOException,
                                                         AutomationException
Compact directions for each resulting route.

Remarks

CompactDirections returns an array of INACompactStreetDirections used to retrieve the directions for each Route. These directions contain less information and compressed geometries representing the traversed streets. Due to their smaller size, these directions are better suited for passing across low bandwidth connections than the directions in INAServerRouteResults.Directions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.networkanalyst.INACompactStreetDirections array
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.