Learn R Programming

oce (version 0.9-5)

map2lonlat: Find lon-lat coordinator of a point on a map

Description

Find lon-lat coordinator of a point on a map

Usage

map2lonlat(xusr, yusr, tolerance=1e-5)

Arguments

xusr, yusr
coordinates of points on the map.
tolerance
tolerance for misfit.

Value

  • A list containing longitude and latitdue.

Details

Uses optim to find the location, so it may fail in some circumstances.

See Also

See mapPlot for general information on plotting maps, including other functions.