GLOB.XY: Convert from GLOBAL LAT-LON to X-Y

GLOB.XYR Documentation

Convert from GLOBAL LAT-LON to X-Y

Description

Convert from GLOBAL LAT-LON to X-Y

Usage

GLOB.XY(LAT, LON, PROJ.DATA)

Arguments

LAT

Latitude

LON

Longitude

PROJ.DATA

Projection list

Details

Units should be given according to the projection. This is the inverse of XY.GLOB.

Value

x

X in whatever units

y

Y in whatever units

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

References

Snyder, John P., Map Projections- a working manual, USGS, Professional Paper, 1987.

See Also

XY.GLOB

Examples



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



GEOmap documentation built on Sept. 1, 2023, 5:09 p.m.