latlonFormat: Format a Latitude-Longitude Pair

latlonFormatR Documentation

Format a Latitude-Longitude Pair

Description

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

Usage

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

Arguments

lat

latitude in ^\circN north of the equator.

lon

longitude in ^\circN 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 Sept. 11, 2024, 7:09 p.m.