Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

oce (version 1.8-0)

latlonFormat: 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))

Value

A character string.

Arguments

lat

latitude in N north of the equator.

lon

longitude in N east of Greenwich.

digits

the number of significant digits to use when printing.

Author

Dan Kelley

See Also

latFormat() and lonFormat().