Background Map: Difference between revisions

From OCAD 12 Wiki - English
Jump to navigation Jump to search
No edit summary
Line 42: Line 42:


The background map is displayed at the center of the current drawing area. The raster map (background map) now needs to be adjusted with the map ('''[[Background_Map#Adjust_a_Background_Map|Adjust a Background Map]]'''). In other words, it needs to be referenced with the map coordinate system.  
The background map is displayed at the center of the current drawing area. The raster map (background map) now needs to be adjusted with the map ('''[[Background_Map#Adjust_a_Background_Map|Adjust a Background Map]]'''). In other words, it needs to be referenced with the map coordinate system.  
: [[File:Hint.jpg|hint]] You can scan a raster map to use it as a background map directly in OCAD: Select '''Scan''' in the '''Background Map''' menu and then choose the '''Acquire''' submenu. Your scanner's dialog box will open ('''[[Background Map#Scanning a Background Map|Scanning a Background Map]]''').
[[File:Hint.jpg|hint]] You can scan a raster map to use it as a background map directly in OCAD: Select '''Scan''' in the '''Background Map''' menu and then choose the '''Acquire''' submenu. Your scanner's dialog box will open ('''[[Background Map#Scanning a Background Map|Scanning a Background Map]]''').


===Error or Warning Messages===
===Error or Warning Messages===

Revision as of 09:29, 18 June 2012

Background map refers to a raster map or OCAD file used as a background. It serves as a drawing template or background map image. Examples include scanned draft maps, satellite pictures, orthophotos, and shading. OCAD cannot be used to edit background maps.

Order BackgroundMap.png

Scanning a Background Map

It is recommendable to keep with the following two things:

  • Use a grid: In most cases you cannot scan the entire draft map (the background map). You are either limited by Windows (which limits the maximum size of background maps), by the available memory, or by the size of the scanner (A4). In these cases, it is strongly recommended that you should draw a grid on the draft map. In many cases there is already a kilometer grid which can be used. If this does not exist, you should draw a precise grid of vertical and horizontal lines (perhaps at a distance of 10 cm). Then the scanned pieces can be easily joined together in OCAD.
  • Resolution: It is recommendable to scan the map with 300 dpi.

In the Scan submenu of the Background map menu you can find the following two commands:

  • Acquire: Choose this command to start scanning. This command will show the main window of the TWAIN driver of your scanner. After scanning a file, a dialog box is displayed where you can enter a filename for the scanned background map. Then the scanned background map is opened.
  • Select source: If more than one TWAIN source (or more than one driver) is installed, you can select the desired source with this command.

The following requirements are needed to scan with OCAD:
You must have a scanner connected to your PC, and a 32-bit TWAIN driver must be installed. If there is no TWAIN driver or you use a scanner on another PC, then use the scanner program of the corresponding scanner and save the scanned background map as a BMP, GIF, JPEG or TIFF file. Choose the Open command from the Background map menu to open this file in OCAD. Choose Adjust from the Background map menu to adjust the background map to the grid or to the part of the map you have already drawn.

Open a Background Map

Choose this command from the Background Map menu to open a background map which is displayed as a background picture on the screen. OCAD can open BMP, GIF, PNG, TIFF, JPEG and TIFF-Files. In addition, OCAD maps (*.ocd) or Encrypted OCAD maps (*.eocd) can be loaded as a background map, too. The Open Background map dialog appears. Choose a file and click the Open button.

Use a Georeferenced Raster Map as Background Map

If your map is georeferenced and you want to use a georeferenced map as background map:

  1. Select the Open command in the Background Map menu. The Background Map dialog box opens.
  2. Select a file and click the Open button.

The grid map will then be positioned correctly in the selected coordinate system. You can skip the remaining steps in this chapter and start drawing immediately.
hint - Click the Entire Map button to display the entire background map.

- The Draft Mode option in the View menu can be used to dim map objects and the background map itself.
- OCAD files can also be loaded as background maps.


video available Background Map Basics

Use a Non Georeferenced Raster Map as Background Map

If your map is georeferenced and you want to load a non-georeferenced map:

  1. Select the Open command in the Background Map menu. The Background Map dialog box opens.
  2. Select a file and click the Open button.
  3. Enter a resolution for the background map and click the OK button.

The background map is displayed at the center of the current drawing area. The raster map (background map) now needs to be adjusted with the map (Adjust a Background Map). In other words, it needs to be referenced with the map coordinate system. hint You can scan a raster map to use it as a background map directly in OCAD: Select Scan in the Background Map menu and then choose the Acquire submenu. Your scanner's dialog box will open (Scanning a Background Map).

Error or Warning Messages

Error Message Not enough memory for the background map

This error message appears if Windows cannot provide the memory needed to load the whole background map. For uncompressed background map files the size of memory needed is about the file size. Compressed background map files have to be expanded in memory and therefore need more memory than their file size.

Error Message TIFF variant not supported

This error message appears if the TIFF variant is not supported by the current version of OCAD.

Error Message Compression type not supported

This error message appears if the compression in the opened TIFF file is not supported by the current version of OCAD.

Warning The background map is geo-refernced in the scale 1:x but the open map is in the scale 1:y

WarningOpenOcdBackgroundMapInOtherScale.png

This warning appears if the OCD background map is geo-referenced and has an other scale than the currently opened map. OCAD opens the map but ignores the georeferencing (no scaling and no offset) and uses the paper coordinates.

To avoid this warning message, open the OCD-File you want to load as a background map and use the change the map scale function.

Limitations for Georeferenced ocd Background Maps

OCAD supports different real world offsets and real world angles. The offset and angle can be set in the Set Scale and Coordinate System dialog. In some cases, OCAD has a redrawing problem with different real world angles.

Adjust a Background Map

Choose this command in the Background Map menu or press the F9 button (Shortcut by default) to adjust the background map. This command is active when one or more raster background maps are loaded.
If more than one background map is loaded, you will have to choose a map in a dialog box.

A background map can be adjusted to the grid or to the map. A grid on the background map makes it easier to adjust it. The grid crossing points can be used for the adjustment (however, any points can be used).

It is possible to use 1 to 12 points for the adjustment. After choosing the Adjust command the cursor changes to a cross line with a black and white squared pattern. You are now in the Adjust mode. Do the following steps for each adjustment point:

  1. Mark a point on the background map (e.g. grid point or a surface reference point) by clicking it.
  2. Mark the same point on the map by clicking it.

In the bottom left part of the Status Bar you can alwys see, which point you have to mark at the moment, when you are in the Adjust mode.
When having adjusted enough points, execute the adjustment by pressing the Enter key. The background map is rotated and stretched to get the best fit for the adjustment points.

Error Adjustment points too close: When using several points for adjusting a background map, the outermost points must be separated by at least 2 mm on the background map.

hint - A precise adjustment with 4 adjustment points is achieved if the points are arranged in a rectangle at the corners of the background map. This way you can compensate rotation and distortion. The horizontal and vertical scales will be adjusted individually.

- OCAD Background Maps cannot be adjusted. The Georeferencing is used to place the map or, if the map is not georeferenced, the origin of the background map (middle of the map, point (0/0)) is displayed on the origin of the current map.

Hide all Background Maps

Choose the Hide All command in the Background Map menu or press the F10 key (Shortcut by default) to hide all background maps temporarily or make them visible when they are hidden. This command is active if one or more background maps are loaded.

If you want to hide only single background maps, choose the Manage command from the Background Map menu.

Manage Background Maps

Choose the Manage command from the Background Map menu to set options for displaying and printing the background maps. The Manage Background Map dialog box is displayed. This is a non-modal dialog box. It is possible to switch between the dialog box and the map window without closing the dialog. Changes are directly updated on the map.

background map

In the Manage Background Map dialog a table is displayed. In this table all loaded background maps are listed. The table consists of the following columns:

Visibility Features

  • V (Visible): You can make a background map visible or hide it by clicking the corresponding cell in this column. An eye icon in this column means that the background map is visible.
hint To hide all background maps temporary use the Hide All command in the Background Map menu.
  • F (Visible in Background Favorites view mode): You can make a background map visible or hide it in the Background Favorites by clicking the corresponding cell in this column. An eye icon in this column means that the background map is visible in the Background Favorites.
  • Dim: In this column you can enter a value in percentage to make the background map appear brighter, i.e. to dim it. 0% means the background map is displayed in its original colors. 100% means the background map appears completely white. Dimming is used to get a better distinction between the background map and the map.
  • T (Transparent): If more than one background map is opened you can set them transparent so that both are visible. Activate this option by clicking the corresponding cell in this column.

Assign to Spot Color

(This function is only available in OCAD Professional!)

This feature is used in a special production process, namely to update old hand drawn or scribed maps. The printing plates for each spot color are scanned (black and white or gray-scale) and then used as background maps. When such a background map is assigned to a spot color, it is displayed with this color. In addition, when the Spot Color View is activated the background map is displayed together with the corresponding spot color.

Visit the Define Spot Colors page to learn more about spot colors.

Note: This feature is intended for black and white or gray-scale background maps. If a color background map is assigned, the resulting colors are undefined.

Blockout

(This function is only available in OCAD Professional!)

This column is labeled with a B and is only available for raster background maps. Click a cell in the Blockout column to use the corresponding background map as a block out mask.

If you have several black and white or gray-scale background maps which are transparent and assigned to a spot color, you can use this function to hide some background maps in a certain area of a different background map.

In the following example, there are four black and white or grey-scale background maps loaded. Each background map was assigned to a spot color. There are the purple, the black and the blue lines. The fourth background map was assigned to the yellow color. The Manage Background Map dialog looks as follows:

ManageBackgroundMap.PNG

The yellow background map is used as a Blockout mask. The result looks as follows.

Blockout.PNG

The black and the purple background maps are hidden behind the yellow areas when using Blockout. The blue background map is drawn over the yellow areas because it is over the blockout mask in the order of the background maps.

Information

The file name of the background map is displayed in the File name column.

Click on an icon in the column labeled with an I (information) to get more information about the corresponding background map. The Background Map Info dialog box appears with additional information. The given information varies depending on the file type.

Other Functions

  • Move Up: Click the Move Up icon to move the selected background map one line upwards. Background maps which are listed in a upper position in the Manage Background Map table are diplayed in the foreground.
  • Move Down: Click the Move Down icon to move the selected background map one line downwards. Background maps which are listed in a lower position in the Manage Background Map table are diplayed in the background.
  • Open: Click this button to open a new background map (Open a new Background Map).
  • Relink: Relink background maps to another directory.
  • Remove all: Click this button to remove all background maps. This command does not delete the background map files.
  • Remove: Click this button to remove the selected background map. This command does not delete the background map file.
  • Close: Click the close button to quit the dialog.

Web Map Service - WMS

WMS


Previous Chapter: Create a New Symbol

Next Chapter: Import Files

Back to Main Page