Background Map: Difference between revisions

From OCAD 12 Wiki - English
Jump to navigation Jump to search
Line 57: Line 57:
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.
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.


[[File:Hint.jpg|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.
[[File:Hint.jpg|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 '''[[Create_a_New_Map#Set_Scale_and_Coordinate_System|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==
==Hide all Background Maps==

Revision as of 07:52, 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.

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 this command to set options for displaying and printing the background maps. The Background Maps Manage 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 in the map.

background map
  • V (Visible): Activate this option to display the open background map(s).

hint To hide all background maps temporary use Hide All in Background Map menu.

  • F (Visible in Background Favorites view mode): Activate this option to display the background map if Background Favorites view mode is set.
  • Dim: Select here a percentage to make the background map appear brighter. 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): Activate this option if more than one background map is open and if you want them to be transparent.
  • Assign to spot color:(This function is only available in OCAD Professional!)

This feature is used in a special production process. It is a process 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 in the color of that spot color. In addition, when spot color view is activated the background map is displayed together with the corresponding spot color. 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.

  • B (Blockout)::(This function is only available in OCAD Professional!)

This field is only available for raster background maps. Activate this field if the background map is a black/white blockout mask. The blockout mask blocks out lower background maps.

  • File name: In this field the file name appears.
  • I: Background map info.
  • Move Up: Click this icon to move the selected background map upwards one line.
  • Move Down: Click this icon to move the selected background map downwards one line.
  • Open: Open a new background map.
  • Relink: Relink background maps to another directory.
  • Remove all: Click this button to remove all background maps. It doesn't delete the background map files.
  • Remove: Click this button to remove the selected background map. It doesn't delete the background map file.


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 Open in the Background Map menu. The Background Map dialog box opens.
  2. Select a file and click OK.

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 Open in the Background Map menu. The Background Map dialog box opens.
  2. Select a file and click OK.
  3. Enter a resolution for the background map and click OK.

The background map is displayed at the center of the current drawing area. The raster map (background map) now needs to be aligned with the map. In other words, it needs to be referenced with the map coordinate system.

hint You can scan a raster map for use as a background map directly from OCAD: Select Scan in the Background Map menu then choose the Scan submenu. Your scanner's dialog box will open.


Interactive Alignment of the Background Map (Georeferencing)

The easiest way to do this is to align the intersection points of the raster map's coordinate grid with those of the map. A maximum of 12 point pairs can be used.

hint -If the size of the raster map corresponds exactly with that of the map scale and has not been rotated, it is possible to align it with the map using a single point pair. OCAD will correctly reposition the raster map without changing the scale or angle.
-If the raster map is contorted, rescaled or rotated, you will need to use between 3 and 12 point pairs to align the image with the map. OCAD repositions the raster map by transforming it (affine transformation) and adjusts the scale and angle accordingly. The point pairs should be distributed equally across the map.

To align the raster map:

  1. Display the coordinate grid in the drawing window.
  2. Select Adjust in the Background Map menu.
  3. Click the first point of the point pair, i.e. the intersection point of the coordinate grid on the raster map.
  4. Click the second point of the point pair, i.e. the intersection point of the coordinate grid on the map.
  5. Repeat steps 3 and 4 for all point pairs and finish the alignment process by pressing Enter. The background will be repositioned.
hint If the alignment point pairs lie outside of the drawing window, you can move the map section between the alignment point pairs.

Once you have completed the map alignment, the raster map can be saved as a georeferenced raster map. The advantage of this is that the raster map will be loaded in the correct position the next time it is opened.

To save the raster map as a georeferenced raster map:

  1. Select Export in the File menu.
  2. Select the raster format you want (TIF, JPG, GIF or BMP)
  3. Select a Resolution (300 dpi is recommended for printing maps)
  4. Select the Create World file option
  5. Click OK.
video available Adjust Background maps

Web Map Service - WMS

WMS


Previous Chapter: Create a New Symbol

Next Chapter: Import Files

Back to Main Page