Output

The output from Find Nearest depends on the data used. Find Nearest returns the fields listed below. In addition, fields from the data may be included in the output if you choose to include them on the Output Fields tab. For example, if the data contains store names and hours of operation, and you select these fields for inclusion on the Output Fields tab, those fields would be included in the output.

Table 1. Find Nearest Output

Field Name

Format

Description / Valid Values

Distance String The distance from the input point to the point of interest, in the units specified in the Distance units option.
DistanceUnits String

Specifies how distance values are returned. One of the following:

Feet
Return distance in feet.
Kilometers
Return distance in kilometers.
Meters
Return distance in meters.
Miles
Return distance in miles. Default.
Yards
Return distance in yards.
Time String The time it takes to get from the input point to the point of interest, in the units specified in the Time units option.
Note: This field is returned only if you select "Fastest" or "Shortest" in the Search criteria field for Find Nearest options
TimeUnits String

Specifies how time values are returned. One of the following:

Hours
Return distance in hours.
Minutes
Return distance in minutes. Default.
Seconds
Return distance in seconds.
Geometry Geometry object The geometry of the point of interest. This field is named Geometry by default but you can choose the name of this field in the Output Fields tab.
<FieldName> String Fields specific to the data. For example if the data contains a field named StoreID, there will be an output field called StoreID. The data returned in these fields is the data as it appears in the tables.

Status

String [1]

Reports the success or failure of the process.

null
Success
F
Failure

Status.Code

String [100]

Reason for failure, if there is one.

Status.Description

String [100]

A description of failure indicated in Status.Code.