Welcome to the Exelis VIS product documentation center! Here you will find reference guides, help documents, and product libraries. Discover the products including ENVI, IDL, and ENVI LiDAR, and solutions developed by Exelis VIS at www.exelisvis.com.


exelisvis.com / Docs Center / Using IDL / Graphics / Graphics Methods / MapInverse Method

MapInverse Method

MapInverse Method

MapInverse Method


The MapInverse method transforms map coordinates from Cartesian (x, y) coordinates to longitude and latitude, using the map projection associated with the graphic.

Example


See the example for the MapForward Method.

Syntax


Result = graphic.MapInverse(X [, Y] [, /RADIANS])

Return Value


The result is a (2, n) array containing the longitude/latitude coordinates.

Arguments


X

An n-element vector containing the x values. If the Y argument is omitted, X must be a (2, n) array of X and Y pairs.

Y

An n-element vector containing y values. If this argument is omitted, X must be a (2, n) array of X and Y pairs.

Keywords


RADIANS

Set this keyword to indicate that the returned longitude and latitude coordinates should be expressed in radians. By default, returned coordinates are expressed in degrees.

Version History


8.1

Introduced

See Also


MapForward Method, MAP_PROJ_INVERSE



Comments


This page has no comments yet. Be the first one!

© 2013 Exelis Visual Information Solutions