Learn R Programming

GEOmap (version 2.1)

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

Description

Convert from XY to GLOBAL LAT-LON

Usage

XY.GLOB(x, y, PROJ.DATA)

Arguments

x
X in whatever units
y
Y in whatever units
PROJ.DATA
Projection list

Value

  • If it is a LIST, use
  • latLatitude
  • lonLongitude
  • ...

Details

Units are whatever is returned from the projection definition. This is the inverse of GLOB.XY.

References

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

See Also

setPROJ

Examples

Run this code
proj = setPROJ(type = 2, LAT0 =23, LON0 = 35)

XY.GLOB(200, 300, proj)

Run the code above in your browser using DataLab