latlonFormat: Format a latitude-longitude pair

Description Usage Arguments Value Author(s) See Also

Description

Format a latitude-longitude pair, using "S" for negative latitudes, etc.

Usage

1
latlonFormat(lat, lon, digits = max(6, getOption("digits") - 1))

Arguments

lat

latitude in degN north of the equator.

lon

longitude in degN east of Greenwich.

digits

the number of significant digits to use when printing.

Value

A character string.

Author(s)

Dan Kelley

See Also

latFormat() and lonFormat().


oce documentation built on March 28, 2021, 9:09 a.m.