R: Convert from GLOBAL LAT-LON to X-Y

GLOB.XY {GEOmap} | R 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

[Package GEOmap version 2.4-0 Index]