The itslive2geo
function transforms projected map coordinates to geographic coordinates.1
[lat, lon] = itslive2geo(region, x, y)
[lat, lon] = itslive2geo(region, x, y)
converts projected map coordinates x
and y
into geographic coordinates lat
and lon
. The region must be a number from 1 to 19 corresponding to ITS_LIVE regions (which approximately match RGI regions). For a map of ITS_LIVE regions, type itslive_regions
.
Convert this spot on Malaspina Glacier Alaska (Region 1) to map coordinates:
[x, y] = geo2itslive(1, 60.08343, -140.46707)
x =
-3298427.76
y =
315689.27
Now convert them back into geocoordinates:
[lat, lon] = itslive2geo(1, x, y)
lat =
60.0834
lon =
-140.4671
The MATLAB functions in this repo and this documentation were written by Chad A. Greene of NASA/JPL. The NASA MEaSUREs ITS_LIVE project is by Alex S. Gardner and the ITS_LIVE team.
Footnotes
-
Requires MATLAB's Mapping Toolbox. ↩