Determines the Manhattan distance between a point and another point.
Syntax
intl gdlManhattanDistance( gdlHandle hGdl, gdlShape point1, gdlShape point2, intl* distance );
Arguments
hGdl
The gdlHandle initialized by gdlInitialize. Input.
point1
Pointer to a gdlShape that contains the geocode coordinates representing the first point. Input.
point2
Pointer to a gdlShape that contains the geocode coordinates representing the second point. Input.
distance
The distance in feet. Output.
Return values
GDL_NOT_LICENSED
GDL_WRONG_TYPE
GDL_ERROR
GDL_OK
Prerequisites
gdlShapeCreate or gdlGenerateErrorSurface
Alternates
gdlDistance
Notes
The following diagram illustrates the Manhattan distance between two points: