How To. .

Properties for the 2D Graphics Window

2D Graphics Imagery

Use to display a background image (Microsoft Bing™ map or image file) and inlay images in 2D Graphics windows.

Background Image

To display a background image, select Show and choose to display:

  • An image file. Images provided with STK are stored in the <STK install folder>\STKData\CentralBodies\Earth/Pixmaps directory. Use the button to locate and select the background image file of choice and browse to its location.
  • A Microsoft Bing map (Aerial, Road, Hybrid, Road Dark, or Road Gray). The default server is virtualearth.net.
    • The Bing map overlay is displayed only when the map projection is Equidistant Cylindrical, Mercator or Miller and the central body is Earth.
    • To display the Microsoft Bing Maps toolbar in the 2D Graphics window, right-click the 2D Graphics window and select Toolbars->Microsoft Bing Maps.

Background Color

Specifies the background color of the 2D Graphics window. Changing the window background can be useful for printing purposes.

Microsoft Bing Maps Logo

To position the Bing Maps Logo in the 2D Graphics window, define the horizontal and vertical points of origin.

Inlay Images

You can add images in a number of formats in any 2D Graphics window at a specified location.

Add... button. Click to add an image to the Images table. When the File Selection window appears, select an image and click Open. An entry containing the fields described below is displayed in the Images table. Images can also be added by dragging and dropping the image file onto the 2D Graphics window.

Remove... button. Click to remove the selected image from the 2D Graphics window. The Images table entry for the file will be deleted. When you delete an image, the file is removed from the table, but not deleted from its source. The image can be reintroduced using the Add... button.

Up and Down buttons. Use to arrange the images in viewing order. If more than one image can be displayed at a location in the 2D Graphics window, the image that is further up the list displays on top of the image further down in the list.

Zoom In button. Click to zoom in on an image selected in the images list.

Make any changes to the following fields by double-clicking the appropriate field and entering the change.

Images. Displays the name of the image file.

Type. Displays the type of file: .bmp, .jp2, .pdttx, .png, .ppm, .tif, .toc, .thf, .txm, or .txb. For the 2D Graphics window, use .toc files to display CADRG and CIB images and use .thf files to display ADRG images. The .toc and .thf files are used to organize and reference these images.

You can drag and drop a .jp2 file into the 2D Graphics window. However, this file must be in a geographic WGS84 projection. If it is not, you need to convert this image to either a geographic WGS84 .jp2 or. pdttx file using the Imagery and Terrain Converter.

PDTTX image inlays only display in equidistant cylindrical (flat projection) in the 2D Graphics window.

Show. Enable to display the image in the 2D Graphics window.

South Lat. Indicates the image limit using a latitudinal value between -90 and +90 degrees.

West Lon. Indicates the image limit using a longitudinal value between -180 and +360 degrees.

North Lat. Indicates the image limit using a latitudinal value between -90 and +90 degrees. The Northern latitude value must be greater than the Southern latitude value.

East Lon. Indicates the image limit using a longitudinal value between -180 and +360 degrees. The Eastern longitude value must be greater than the Western longitude value.

Translucency. Sets the image translucency. Translucency can be adjusted from 0 to 100 percent, where 100 percent is invisible.

Transparent. Enable to set the image transparency of a BMP file. The color of the upper left pixel of the image will be set as the transparent color for the image. None of the pixels in the image with this color will be displayed. You cannot set the Transparent option for JPEG 2000, CIB, CADRG, and PDTTX images because transparent data is included in the image file and cannot be changed.

Image Display Options

To control the display of imported images, enable or disable the following options.

Show Image Extents. If enabled, a boundary displays around each imported image on the map. Imported images are listed on the Images page.

Show Image Filenames. If enabled, the filename of each imported image displays at the center of the image. Imported images are listed on the Images page.

How To. . .