ISIS Application Documentation
maplab | Standard View | TOC | Home |
Add Mapping group to the labels of a cube
Description
Categories
Groups
Examples
History
The maplab application is used to geo-reference a map-projected cube by adding or updating the Mapping Group with projection and geo-referencing information. Maplab takes as input a map-projected cube and a map file. The user has the option to geo-reference by (LATITUDE,LONGITUDE)-coordinates or by (X,Y)-map-projected-coordinates that correspond to a given (SAMPLE,LINE)-coordinate in the input cube.
The map file must contain information pertaining to the specifics of the cube's map-projection parameters, along with the target, body radius, longitude direction, latitude type and scale. We suggest running the maptemplate program to generate the map file provided as input.
NOTE that when selecting a SAMPLE and LINE for referencing known coordinates to a pixel, pixel coordinate (0.5, 0.5) is the top-left corner of the top-left pixel in the cube. By extension, (1.0, 1.0) is the center of the top-left pixel, and (1.5, 1.5) is the lower-right corner of the top-left pixel.
Name | Description |
---|---|
FROM | Input file to be geo-referenced |
MAP | Input map file |
Name | Description |
---|---|
SAMPLE | Sample position in the cube |
LINE | Line position in the cube |
COORDINATES | Options for coordinate systems |
X | X map-projected coordinate corresponding to (SAMPLE,LINE), meters |
Y | Y map-projected coordinate corresponding to (SAMPLE,LINE), meters |
LAT | Latitude coordinate corresponding to (SAMPLE,LINE), degrees |
LON | Longitude coordinate corresponding to (SAMPLE,LINE), degrees |
The cube whose label will be updated with Mapping Group information.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
File containing map projection parameters.
Type | filename |
---|---|
File Mode | input |
Filter | *.map |
The SAMPLE coordinate in the cube that corresponds to a known (X,Y) or (LATITUDE,LONGITUDE) coordinate. In ISIS, the upper-left corner of the upper-left pixel has coordinate 0.5.
Type | double |
---|
The LINE coordinate in the cube that corresponds to a known (X,Y) or (LATITUDE,LONGITUDE) coordinate. In ISIS, the upper-left corner of the upper-left pixel has coordinate 0.5.
Type | double |
---|
A list of the different types of coordinates allowed by the application.
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | XY | |||||||||
Option List: |
|
The map-projection X-coordinate, in meters, corresponding to the the given (SAMPLE,LINE) coordinate of the cube.
Type | double |
---|
The map-projection Y-coordinate, in meters, corresponding to the given (SAMPLE,LINE) coordinate of the cube.
Type | double |
---|
Latitude coordinate, in decimal degrees, for the given (SAMPLE,LINE) coordinate of the cube. It must be in the same LatitudeType listed in the map file.
Type | double |
---|
Longitude coordinate, in decimal degrees, for the given (SAMPLE,LINE) coordinate of the cube. It must be in the same LongitudeDomain listed in the map file.
Type | double |
---|
GeoTiff Header
GIS Worldfile
2.0 Cellsize in X (meters) 0.0 rotation/skew (normally 0) 0.0 rotation/skew (normally 0) -2.0 Cellsize in Y (meters) -24243.731055 Upper-left pixel center X (meters) 815863.281183 Upper-left pixel center Y (meters)Thus for this example the user would need to run the program with the command line that follows.
Simple Cylindrical Global Case
Polar File
Jeannie Walldren | 2008-01-17 | Original version |
Christopher Austin | 2008-04-18 | The input map will now use pixels/degree if no pixel resolution is found. If neither are present, throws an error. Both PixelResolution and Scale (pixels/degree) keywords will be in the output. |
Travis Addair | 2009-11-06 | Added error checking to ensure that the provided map file has all the necessary keywords for later processing, and enhanced documentation to discuss necessary keywords and pixel coordinates. |
Mackenzie Boyd | 2011-04-11 | Changed parameter LONG to LON, removed duplicate code. |
Tracie Sucharski | 2012-12-06 | Changed to use TProjection instead of Projection. References #775 |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/24/2025 16:09:14 |