package

com.esri.core.tasks.ags.na

Provides interfaces and classes for doing network analysis including Routing, Service Area, and Closest Facility.

Interfaces

NAFeatures Interface for classes representing stops, facilities, incidents, and barriers of an NA server task 

Classes

AttributeParameterValue Class holding a single attribute parameter value for an NA task 
ClosestFacilityParameters

Class holding the parameters of a closest facility to be solved on the server. 

ClosestFacilityResult Class containing the relevant information for the entire server response. 
ClosestFacilityTask Class executing a service area task on the server. 
DirectionsString More detailed direction info passed back from a route solving operation. 
NAFeaturesAsFeature Class containing a set of stops, facilities, incidents, or barriers, represented as Graphics. 
NAFeaturesAsLayer Class containing the name of a layer within the map service containing stops, facilities, incidents, or barriers to use. 
NAMessage Class containing a message returned by the server. 
NAParameters

Abstract class holding the common parameters of a network analysis problem

In this class, you can define:

  • a set of point barriers to avoid when solving
  • a set of polyline barriers to avoid when solving
  • a set of polygon barriers to avoid when solving
  • a list of attribute parameter values
  • if the point barriers should be returned
  • if the polyline barriers should be returned
  • if the polygon barriers should be returned
  • the spatial reference of the returned geometry
  • how the route lines should be output
  • a list of accumulate attribute names
  • the name of the impedance attribute
  • a list of the restriction attribute names
  • how to restrict U turns
  • if a hierarchy should be used
  • a precision value for the output geometry
  • a unit for the output geometry precision
  • if z values should be returned
  •  
    NAResult Abstract class containing the values common to all NA server tasks. 
    Route Class holding the information for a single route 
    RoutingDirection Class containing the relevant information for one direction of a route 
    RoutingParameters

    Class holding the parameters of a route to be solved on the server. 

    RoutingResult Class containing the relevant information for the entire server response. 
    RoutingTask Class executing a route on the server. 
    ServiceAreaParameters

    Class holding the parameters of a service area to be solved on the server. 

    ServiceAreaResult Class containing the relevant information for the entire server response. 
    ServiceAreaTask Class executing a service area task on the server. 
    StopGraphic Class providing some convenient methods for setting attributes of a Graphic that are related to routing. 

    Enums

    DirectionsLengthUnit The enumeration types for the direction length units. 
    DirectionsOutputType The enumeration types of the direction output. 
    DirectionsStringType The enumeration types of direction strings. 
    NADistanceUnit The enumeration types of distance unit. 
    NAOutputLine The enumeration types of output line. 
    NAOutputPolygon The enumeration types for output polygon. 
    NATimeOfDayUsage The enumeration types of the way time of day value used 
    NATravelDirection The enumeration types of travel directions 
    RoutingManeuver The enumeration types for a direction maneuver. 
    UTurnRestriction The enumeration types of U-turn restriction