Parameters for Options

The table below defines the output data and format options.

Parameter Description

Option.LatLongFormat

Indicates the format of the input latitude/longitude. The options are:

DegMinSec
For example 90 00 00N180 00 00W.
PreZero
Decimal degrees using directional indicator (no decimal point). For example, 090000000N180000000W. (default)
PreZeroDecimal
Decimal degrees using directional indicator. For example, 090.000000N180.000000W.
Decimal
Decimal degrees using signed latitude/longitude. For example, 90.000000-180.000000.
DecimalAssumed
Decimal degrees using signed latitude/longitude (no decimal point). For example, 90000000-180000000.

Option.ReturnUnits

Indicates the measurement units returned for distance calculation:

  • Feet
  • Km
  • Meters
  • Miles (default)