ISIS 3 Application Documentation
maplab | Printer Friendly View | TOC | Home |
Add Mapping group to the labels of a cube
Overview | Parameters | Example 1 | Example 2 | Example 3 | Example 4 |
Parameter GroupsInput Files
Input Values
|
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 |
---|
Example 1GeoTiff Header Description
Most outside applications use the top left pixel (either upper-left edge
or center) to define their location in X, Y. For example, a GeoTiff with
an internal header, uses the upper left edge and for an example may
report: Upper Left (2883258.0, 979924.0) -- meaning (X, Y). Thus for
maplab, one would need to use the same top left corner of the pixel for
ISIS, as illustrated in the command line below.
Command Line
maplab from=input.cub map=projection.map sample=0.5 line=0.5 x=2883258.0 y=979924.0
Mapping the upper-left of an ISIS cube (0.5, 0.5) to the upper left of
the example image (2883258.0, 979924.0).
Data Files
|
Example 2GIS Worldfile Description
A typical image that has a "GIS Worldfile", in contrast to an internal
GeoTiff header, uses the center of the top left pixel to define its
location in X, Y. Thus a Worldfile might look like myImage.wld or *.tfw,
*.jgw, *.pgw (depending on image type):
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. Command Line
maplab from=input.cub map=projection.map sample=1 line=1 x=-24243.731055 y=815863.281183
Mapping the center of the upper-left pixel of an ISIS cube (1.0, 1.0)
to the center of the upper left of the example image (2883258.0,
979924.0).
|
Example 3Simple Cylindrical Global Case Description
Say the global file is 1440x720 or 4ppd (and perfectly 0 to 360 lon and
-90 to 90 lat). This global case would be run as follows.
Command Line
maplab from=input.cub map=projection.map sample=0.5 line=0.5 coordinates=latlong lon=0 lat=90
Or assuming clon is set to 180, > maplab ... sample=720.5 line=360.5
x=0 y=0
|
Example 4Polar File Description
Generally one will try to bring in a polar file which is 0 to 360 lon,
extends to a common lat range, and centered at the pole (clat = 90 or
-90). Nothing about the extent in meters is needed if the center of the
image is again 90 or -90 lat. Again GIS/RS application will still
register to the upper left pixel but manually this can be harder to use
than just using the center which will be defined as X,Y = 0,0 when in a
Polar or Lambert Azimuthal projection. Using an example where the polar
image is 2000 lines by 2000 samples then the run would look like:
Command Line
maplab from=input.cub map=projection.map sample=1000.5 line=1000.5 x=0 y=0
Assuming clat is 90 or -90.
|