GFE/ifpIMAGE Configuration File
Map Background Configuration

The map background configuration section defines the following:
GFE Configuration Item
Applicable to GFE
Applicable to ifpIMAGE
Notes
Default Map Backgrounds YES YES
Map Background Colors YES YES
Map Background Line Widths YES YES
Map Background Line Pattern YES YES
Map Label Offsets YES YES
Map Background Font Offset YES YES The entry defines the base font to be used on all map backgrounds.



Default Map Backgrounds

The default map background list can contain zero or more map names.  In AWIPS1 you could refer to Maps.py in the server configuration file section for the possible set of map names, or use the GFE to display the list of available maps and choose names from the list. In AWIPS2, currently a Maps.java file is used and is not subject to overrides. There are planned changes to address this in the future.

The following variable will load the initial loaded set of map backgrounds. The name of the background should match the list of available maps defined in Maps.java.

MapBackgrounds_default = ['CWA','States']

 

Map Background Colors

The user may specify a specific color to be used for a map background, rather than getting a random color assigned. Format is mapName_graphicColor = color.  The color does not need to be in the MapBackgrounds_availColors list.

States_graphicColor = 'green'

 

Map Background Line Widths

The default line width of the map background can be specified in the configuration file.  Valid numbers are zero and up. You can always change the line width interactively during a GFE session.  If not specified, then the line width is assumed to be zero.

Default line widths can be set for each map background based on map name. Zero is the default value, which represents thin lines. The larger the number, the wider the line.  The format is mapName_lineWidth. Do not include a decimal point after these entries.

States_lineWidth = 1

 

Map Background Line Patterns

The default line pattern can be varied for each map background.  If not specified, then the line pattern is assumed to be solid.  There are currently four line patterns supported in the GFE.

Default line patterns can be set up for each map background.  The possible strings are "SOLID", "DASHED", "DOTTED", "DASHED_DOTTED".  The values must be enclosed within quotes.   The format is mapName_linePattern.

States_linePattern = "SOLID"

 

Map Background Font Offset

The font used for a specific map background display is based on three things:
  • The definition of TextFont*, which defines the standard fonts used in the GFE.
  • The optional definition of display type fonts, which defines which of the standard fonts should be used for this particular type of display (e.g., Map_font).
  • The optional font offset, which adds or subtracts an offset size from the calculations derived in the first two steps.
  • The font offset (called magnification on the GFE menus) allows the default font size to be increased or decreased on a per-map basis.  NNumbers can range from -2 through +2. Format is mapName_fontOffset.   Do not include a decimal point after these entries.

    States_fontOffset = 0



     
    Back To TOC