lonlat2utm | R Documentation |
Convert Longitude and Latitude to UTM
lonlat2utm(longitude, latitude, zone, km = FALSE)
longitude |
numeric vector of decimal longitude. May also be
a list containing items named |
latitude |
numeric vector of decimal latitude (ignored if
|
zone |
optional indication of UTM zone. Normally this is inferred from the longitude, but specifying it can be helpful in dealing with Landsat images, which may cross zones and which therefore are described by a single zone. |
km |
logical value indicating whether |
lonlat2utm
returns a list containing easting
,
northing
, zone
and hemisphere
.
Dan Kelley
https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system
,
downloaded May 31, 2014.
utm2lonlat()
does the inverse operation. For general
projections and their inverses, use lonlat2map()
and
map2lonlat()
.
Other functions related to maps:
formatPosition()
,
lonlat2map()
,
map2lonlat()
,
mapArrows()
,
mapAxis()
,
mapContour()
,
mapCoordinateSystem()
,
mapDirectionField()
,
mapGrid()
,
mapImage()
,
mapLines()
,
mapLocator()
,
mapLongitudeLatitudeXY()
,
mapPlot()
,
mapPoints()
,
mapPolygon()
,
mapScalebar()
,
mapText()
,
mapTissot()
,
oceCRS()
,
oceProject()
,
shiftLongitude()
,
usrLonLat()
,
utm2lonlat()
library(oce)
# Cape Split, in the Minas Basin of the Bay of Fundy
lonlat2utm(-64.496567, 45.334626)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.