Mapping Toolbox    
cart2grn

Return Greenwich coordinates for displayed map objects

Syntax

Description

When objects are projected and displayed on map axes, they are plotted in Cartesian coordinates appropriate for the selected projection. This command transforms those coordinates back into the Greenwich frame.

[lat,lon,alt] = cart2grn returns the latitude, longitude, and altitude data in Greenwich coordinates of the current map object, removing any clips or trims introduced during the display process from the output data.

[lat,lon,alt] = cart2grn(hndl) specifies the displayed map object desired with its handle hndl. The default handle is gco.

[lat,lon,alt] = cart2grn(hndl,mstruct) specifies the map structure associated with the object. The map structure of the current axes is the default.

See Also
gcm
Get current map structure
mfwdtran
Forward map projection transformation
minvtran
Inverse map projection transformation
project
Project existing graphics objects onto a map axes


  camupm cen2geod