powered by
Convert from GLOBAL LAT-LON to X-Y
GLOB.XY(LAT, LON, PROJ.DATA)
X in whatever units
Y in whatever units
Latitude
Longitude
Projection list
Jonathan M. Lees<jonathan.lees.edu>
Units should be given according to the projection. This is the inverse of XY.GLOB.
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
Run the code above in your browser using DataLab