50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

GEOmap (version 2.1)

GLOB.XY: 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

Value

  • xX in whatever units
  • yY in whatever units

Details

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

References

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

See Also

XY.GLOB

Examples

Run this code
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