Map

From OCAD Wiki - English
Jump to navigation Jump to search

Optimize and Repair

Choose this command in the Map menu to optimize (reduce) the size of the map file and repair damaged objects. With edit operations such as deleting objects, empty space is created in the map file. This function removes this empty space and therefore reduces the size of the map file.

When OCAD encounters damaged objects it tries to repair them. If this is not possible, they are deleted.

After the optimization the Optimization Result dialog box is displayed with the following information:

  • File size before optimization in bytes.
  • File size after optimization in bytes.
  • Objects repaired
  • Damaged objects deleted
  • Spurious objects deleted: Spurious objects are objects which are not visible. These may be text objects with no text and no line, line objects with only one point, or area objects with only 2 points.
  • Objects with unknown symbol: Unsymbolized Objects
  • Objects with invalid symbol type: Objects with invalid symbol type can occur if you delete a symbol (e.g. a line symbol) which is used on the map and then create a new symbol of different type (e.g. a point symbol) with the same symbol number.

Set Scale and Coordinate System

Visit the Set Scale and Coordinate System page to get some information about this function.

Change Scale

Choose this command in the Map menu to change the scale of the map. The map is enlarged/reduced according to the new scale. The Change Scale dialog box is displayed, where the new scale can be entered.

Actual scale
This line shows the current scale of the map. Choose the Scale and Coordinate System command from the Map menu to set the current scale.
Hint.jpg Setting the current scale does not enlarge or reduce the map. It only changes a number in the map file.

New scale
Enter here the desired new scale of the map. You may choose one of the predefined scales or enter the scale on the keyboard.

Enlarge/reduce symbols
Check this box to enlarge/reduce the symbols with the same factor as the map. When the box is checked, the map is enlarged/reduced like a photographic enlargement. When this box is not checked, the map is enlarged/reduced, but the symbols are kept in the same dimension.

Click the OK button to finish.

Create Map Grid

Choose this command from the Map menu to create grid lines on the map (e.g. it can be used to draw Magnetic North lines or the grid for a Name Index.). The Create Map Grid dialog box is displayed.
Now, you have to make the following adjustments:

  • Easting offset: Enter the easting offset to the defined map grid for the vertical grid lines.
  • Northing offset: Enter the northing offset to the defined map grid for the horizontal grid lines.
  • Easting distance: Enter the distance between the vertical grid lines.
  • Northing distance: Enter the distance between the horizontal grid lines.
  • Angle: You can rotate the map grid by an angle entered here.
  • Create easting grid lines: Check this option to create easting grid lines.
  • Create northing grid lines: Check this option to create northing grid lines.
  • Create vertices at grid junctions: Check this option to create a vertex at every grid junction.
  • Symbols:
    • Graticule lines: Select a line symbol for graticule lines (map grid).
    • Gratucule labels: Select a text symbol for graticule labels.

Click the OK button when finished. The grid is drawn over the whole map. Therefore, remove background maps which are larger than the map before creating a grid.
hint Create Name Index is the corresponding function to create a name index based on a rectangular map grid.

Create WGS84 Grid

Read more about this topic on the Create WGS84 Grid page.

Hide

Choose this command in the Map menu to hide the map on the screen.

Transform

Information about the transforming functions, which are Move, Stretch/Shrink, Mirror, Rotate Map, Change Coordinate System, Affine, Rubbersheeting and Center Map to Drawing Area, can be found on the Map Transform page.

Convert Imported Layers to Symbols

Choose this command from the Map menu to convert the layers of an imported DXF or AI file to symbolized objects. The Convert Imported Layers to Symbols dialog box appears.

In this dialog box you can create a list of references. A reference consists of a layer and the corresponding OCAD symbol. You can save the list to a cross reference (.crt) file for later use. You can load an existing cross reference file to modify or execute it.

Example of CRT-File

A CRT-File consists of two rows which are separated by a space. The first column contains the symbol number of the OCAD symbol. In the second row, there is the layer name of the object which shall be assigned to the OCAD symbol.

 526.0 01211
 527.0 01611

hint Please note that this CRT file does not work to Import OCD Files!


  • Load: Click this button to load an existing cross reference (crt) file.
  • Save: Click this button to save the changes to a cross reference file.
  • Save as: Click this button to save the changes to a different cross reference file.
  • Imported Layer: Select the layer which you want to convert.
  • Symbol: Select the OCAD symbol to which the selected layer should be converted.
  • Move Up: Click this icon to move the selected line upwards in the table.
  • Move Down: Click this icon to move the selected line downwards in the table.
  • Add: Click this button to add a reference to the list.
  • Delete: Click this button to delete the selected reference.
  • Execute: Click this button to execute the conversion and quit the dialog.

Convert Area or Line Objects to Point Objects

Choose this function in the Map menu to convert area or line objects to point objects. This command is enabled if an area or line symbol is selected.

  1. Select a line or an area object.
  2. The Convert Area or Line Objects to Point Objects dialog appears.
  3. Choose a point symbol.
  4. Click the Execute button. The selected area or line symbol is converted to a point symbol and the chosen symbol is assigned to it.

Hint.jpg The point symbol appears in the middle of the area or the line.

Convert Text Objects to Point Objects

Choose this command from the Map menu to convert text to point objects. The Convert Text Objects to Point Objects dialog appears.

In the first part of the dialog you can decide wheter you want to convert the objects from all text symbols or only objects from a selected symbol.

In the CRT file part you can load a CRT-File by clicking the Load button. Furthermore, a loaded CRT-File can be saved by clicking the Save button or a CRT-File can be saved in a new file by clicking the Save as button. This CRT-File can be edited in the Text to point object part of the dialog.

Example of a CRT-File: A CRT-File consists of two rows which are separated by a space. The first column contains the symbol number of the OCAD symbol. In the second row, the texts are listed.

 112.000 knoll
 115.000 hole 

All functions you can use to edit the CRT-File are listed here:

  • Load: Click this button to load an existing cross reference (crt) file.
  • Save: Click this button to save the changes to a cross reference file.
  • Save as: Click this button to save the changes to a different cross reference file.
  • Text: Select the layer which you want to convert.
  • Symbol: Select the OCAD symbol to which the text shall be converted.
  • Move Up: Click this icon to move the selected line upwards in the table.
  • Move Down: Click this icon to move the selected line downwards in the table.
  • Add: Click this button to add a reference to the list.
  • Delete: Click this button to delete the selected reference.

Object offset: An object offset can be defined in the lowermost part of the dialog. Enter a horizontal and a vertical offset in mm. The point objects will be placed with this offset to the origin of the text object.

Click the Execute button when finished.

Convert Text Objects from OEM to Unicode

(This function is only available in OCAD 10.2.1 and later)

Choose this command to convert text objects from OEM to Unicode.

This function is used after importing geodata from non-Unicode compatible programs. OCAD is Unicode compatible.

It is possible to save and load the conversion table in crt file.


Export Objects by Selected Symbols

ToDo

Export Selected Objects

ToDo


Export Part of Map

Choose this command to export a part of the current map to a new map file. The Export Partial Map dialog box is displayed.

After selecting OK the Export file dialog box is displayed where a name for the external map can be entered.


Boundaries

Rectangular boundaries: Choose this option to export a rectangular part of the map. You can modify the boundaries using the mouse.

Click the button Setup Setup.JPG to define the region to be exported. The dialog box Setup Partial Map (Export) appears.

Click the button Entire Map EntireMap.JPG to export the entire map.

Click the button To Current View ToCurrentView.JPG to export the currently on the screen displayed map.

Use selected object for boundaries: Choose this option to export an irregularly shaped part of the map. Before choosing the Partial map command, you must draw the shape with a line or area object.

hint To make this function faster convert this cutting object from curve to a polyline.

Export database links: This option is checked by default. If you do not want to export the database links, then uncheck this option. This will speed up the export significantally if the map has a lot of linked objects.

Compare Symbols and Colors

Select this command to compare the symbol set of the open file with a reference OCAD map. After the reference OCAD map is chosen the dialog box Compare will be displayed. The difference will be logged in a text file.

  • Compare colors: Activate this check box if the color table shall be compared also.
  • Compare symbols: Activate this check box if the symbols shall be compared also.
  • Used symbols only: Activate this checkbox if only used symbols shall be compared.
  • List identical symbols: Activate this check box if the identical symbols shall be listed also. If this check box is deactivated only the different symbols will be logged.

Logfile: Click the OK button to compare the symbols. The difference will be logged in a text file 'file name'+'.CompareResult.txt' and displayed on the screen.


Map Information

Choose this command to get information about the current map and about the Windows system. The Map Info dialog box is displayed.

OCAD map

  • Total objects: The number of objects.
  • Symbolized objects: The number of symbolized objects.
  • Unsymbolized objects: The number of unsymbolized objects.
  • Layout objects: The number of layout objects.
  • Image objects: The number of image objects.
  • Graphic objects: The number of graphic objects.
  • Colors: The number of colors.
  • Spot Colors: The number of spot colors.
  • Symbols: The number of symbols.
  • Symbol memory: Memory used by the symbol definitions.
  • File size: The size of the map file on the disk.


Notes: Enter information about the map here. This Feature was called File information until OCAD 9. Symbols: Shows a tree view of all symbols in the map. Colors: Shows a tree view of all colors in the color table and in which symbols they are used. Fonts: Shows a tree view of all used fonts and in which symbols they are used. Background Maps: Shows a tree view of all background maps loaded in the map. Database: Shows a tree view of all connected databases in the map.


System information

Operating system: Information about the operating system. Screen colors: Number of colors of the currently installed screen driver. See your Windows manual on how to install screen drivers. Screen resolution: Number of dots in horizontal and vertical direction on the screen. The resolution is determined by the currently installed screen driver. See your Windows manual on how to install screen drivers.

Physical memory: Size of the physical memory (RAM). Disk space: Available disk space on the drive where OCAD is installed. Borland Database Engine: Shows if BDE is installed or is not installed. ADO Version Access Database Engine