Home
About Isis
Support
Download

Isis 3

Documentation
Tutorials
Technical Documents

Isis 2

Documentation
Tutorials
Technical Documents

Search

USGS

Isis 3 Application Documentation


mapsize

Printer Friendly View | TOC | Home

Compute size or scale of map

Overview Parameters

Description

This application outputs the size of a map in inches given the scale (e.g., 1:1000000) or given the size in inches outputs the scale. Also, the size of an output cube, number of samples and lines, will be computed. This can be used prior to running programs such as map2map or cam2map to ensure the output image is not too large. The mapping parameters used to calculate the information above are also output.

Categories


Related Applications in Previous Versions of Isis

This application replaces the following application existing in previous versions of Isis, which has been deprecated from the current version of Isis:
  • size

History

Kay Edwards1989-03-21 Original version
Jeff Anderson2003-02-20 Converted to Isis 3.0
Jeff Anderson2003-04-03 Fixed compiler warning
Kim Sides2003-05-13 Added application test
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Jeff Anderson2003-06-02 Fixed problem with application test due to compiler optimization
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary
Jeff Anderson2003-08-27 Changed default extension handling mechanism
Stuart Sides2003-11-07 Modified to create Results as an object instead of group in the PVL output.
Jeff Anderson2003-11-25 Added units of inches to the output width and height
Brendan George2005-11-09 Added output of map size in Kilobytes
Brendan George2005-11-21 Added application test
Elizabeth Miller2006-05-18 Depricated CubeProjection and ProjectionManager to ProjectionFactory
Stuart Sides2006-09-25 Mofidied to output the mapping group used to calculate the results.
Steven Koechle2007-10-17 Casted file size calculations to a Isis::BigInt to fix an integer overflow problem

Parameter Groups

Files

Name Description
MAP Label file containing a valid Mapping group
TO Text file output

Map Definition

Name Description
OPTIONDefine map size using scale or paper size
SCALE The scale of the map
WIDTH Width of the paper in inches
HEIGHT Height of the paper in inches
X

Files: MAP


Description

This file must contain a valid mapping group. It can come from the labels of a cube, a hand-generated mapping group, or from the program "mapinit".

Type filename
File Mode input
Filter *.map *.cub
Close Window
X

Files: TO


Description

This file will contain the size and scale of the map in a standard label format.

Type filename
File Mode output
Internal Default None
Filter *.txt
Close Window
X

Map Definition: OPTION


Description

This parameter is used to indicate if the user will define the map size with either the map scale or the size of the paper in inches.

Type string
Default SCALE
Option List:
Option Brief Description
SCALEDefine map scale and output paper size Use this option to indicate you will be defining the map scale and the program will compute the paper size.

Exclusions

  • WIDTH
  • HEIGHT

Inclusions

  • SCALE
PAPERDefine paper size and output map scale Use this option to indicate you will be defining the paper map size and the program will compute the map scale.

Exclusions

  • SCALE

Inclusions

  • WIDTH
  • HEIGHT
Close Window
X

Map Definition: SCALE


Description

Map scales are a unitless representation of how many times the body was was reduced to fit on the piece of paper (map). Thus a 1:10000 implies that reduction was by 10000. It also implies that 1 inch on the map = 10000 inches on the body. Because the scale is unitless, 1 foot on the map would be 10000 feet on the body. When entering the value for scale only enter the portion after the colon as one is always assumed (i.e., SCALE=10000 implies 1:10000).

Type double
Close Window
X

Map Definition: WIDTH


Description

This defines the maximum width of your map in inches. Note that the results of the computation will likely reduce one of width or height in order to preserve the aspect ratio of the map.

Type double
Close Window
X

Map Definition: HEIGHT


Description

This defines the maximum height of your map in inches. Note that the results of the computation will likely reduce one of width or height in order to preserve the aspect ratio of the map.

Type double
Exclusions
  • SCALE
Inclusions
  • WIDTH
Close Window