mappt
Outputs latitude/longitude at line/sample or reverse
This program requires the user supply a cube in a map projection.
The user must also enter one of the following coordinates:
line/sample latitude/longitude x/yThe program will then compute the other two coordinates. For example, entering a line/sample will cause the program to compute a latitude/longitude and x/y. The output can be sent to a text file using the TO parameter and can be read in a script via the "getkey" program. Example output:
Group = Results Filename = /home/mboyd/mapped.cub Sample = 400.0 Line = 400.0 PixelValue = Null X = 36094.582198722 Y = -2602604.7032335 # Input map coordinate system PlanetocentricLatitude = -85.828401770565 PositiveEast180Longitude = 26.807891885122 # Location in other coordinate systems PlanetographicLatitude = -85.828401770565 PositiveEast360Longitude = 26.807891885122 PositiveWest360Longitude = 333.19210811488 PositiveWest180Longitude = -26.807891885122 End_Group
Categories
History
Jeff Anderson | 2003-02-05 | Original version |
Stuart Sides | 2003-11-07 | Modified results pvl to not include the results group |
Brendan George | 2005-11-21 | Added application test |
Elizabeth Miller | 2006-06-29 | Changed name to mappt and made ui look like skypt and campt |
Sean Crosby | 2007-04-12 | Changed flatfile output so it duplicates PVL data. User now required to entered a flatfile name. |
Steven Lambright | 2008-05-13 | Removed references to CubeInfo |
Steven Koechle | 2008-08-14 | Added pixel value to the output group |
Mackenzie Boyd | 2010-01-12 | Modified output to include all coordinate systems for latitude and longitude and clearly declare the input files coordinate system. Improved documentation. |
Mackenzie Boyd | 2010-02-16 | Added many parameters accesible when inputing a lat lon, all under coordinate system. These parameters are to select the input coordinate system being used. Updated documentation to match. |
Tracie Sucharski | 2012-12-06 | Changed to use TProjection instead of Projection. References #775 |
Kimberly Oyama | 2013-11-22 | Changed the order in which the keywords are output to the csv, not the pvl, so it no longer depends on the coordinate system of the input cube. Fixes #1614. |
Janet Barrett | 2014-08-04 | Added new parameter, ALLOWOUTSIDE, to control the reporting of latitude/longitude and line/sample information that falls outside the boundaries of the image. Also added a message to the output results if the line,sample falls outside the image boundaries, regardless of the setting of the ALLOWOUTSIDE parameter. This will help the user detect results that fall outside the image even if they are allowing for it. Fixes #1929. |