Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.17 KB

geo2itslive_documentation.md

File metadata and controls

41 lines (28 loc) · 1.17 KB

← Back to ITS_LIVE main page

geo2itslive documentation

The geo2itslive function transforms geographic coordinates to projected map coordinates. (Requires MATLAB's Mapping Toolbox.)

Syntax

[x, y] = geo2itslive(region, lat, lon)

Description

[x, y] = geo2itslive(region, lat, lon) converts the geocoordinates lat and lon into projected map coordinates x and y in meters. 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.

Example

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

Author Info

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.