GLOB.XY | R Documentation |
Convert from GLOBAL LAT-LON to X-Y
GLOB.XY(LAT, LON, PROJ.DATA)
LAT |
Latitude |
LON |
Longitude |
PROJ.DATA |
Projection list |
Units should be given according to the projection. This is the inverse of XY.GLOB.
x |
X in whatever units |
y |
Y in whatever units |
Jonathan M. Lees<jonathan.lees.edu>
Snyder, John P., Map Projections- a working manual, USGS, Professional Paper, 1987.
XY.GLOB
proj = setPROJ(type = 2, LAT0 =23, LON0 = 35)
### get lat-lon
LL = XY.GLOB(200, 300, proj)
## find x-y again, should be the same
XY = GLOB.XY(LL$lat, LL$lon, proj)
XY
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.