package

com.esri.core.tasks.na

Provides interfaces and classes for doing network analysis including routing, finding service areas, and finding closest facilities.

Interfaces

NAFeatures Interface for classes representing stops, facilities, incidents, and barriers of an NA server task 
RouteParameters Interface for specifying parameters for a solve operations. 

Classes

AttributeParameter Class for representing parameterized attributes. 
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 used to perform a 'solve closest facility' operation on a network layer resource of type closest facility. 
CostAttribute Class for representing cost attributes found in a Network Dataset. 
DirectionsEvent  
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. 
    NetworkDescription Class containing all of the relevant information about the Network Dataset used for routing. 
    RestrictionAttribute Class representing restriction attributes on a Network Dataset. 
    Route Class holding the information for a single route. 
    RouteDirection Class containing the relevant information for one direction of a route 
    RouteResult Class containing the relevant information for the entire solve response. 
    RouteTask Class for creating online and offline RouteTasks. 
    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 Used to perform a 'solve service area' operation on a network layer resource of type service area. 
    StopGraphic Class providing some convenient methods for setting attributes of a Graphic that are related to routing. 

    Enums

    AttributeUnits Enumeration representing possible attribute units for Network Dataset attributes. 
    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 
    RouteManeuverType The enumeration types for a direction maneuver. 
    UTurnRestriction The enumeration types of U-turn restriction