Choose this command to import an external file to the current map. The Import file dialog box is displayed. Initially all importable files are listed. The following file types can be imported:
ADD Picture/tabelle: import
- It is possible to seelct and import multiple dxf, gpx, nmea, shape and xyz files in the menu File - Import.
Import OCAD Map
- Place using the mouse: Choose this option to import a logo. The imported map is displayed in the center of the screen and you can drag it with the mouse to the desired position.
- Place with offset: Choose this option when combining different parts of a map. Enter the offset where the origin (0, 0) of the imported map should be placed.
- Use real world coordinates: Choose this option to import a geo-referenced map.
- Import symbols only if symbol numbers do not exist: Choose this option to import symbols only if the symbol numbers do not exist. The symbol signature is not compared. With same symbol number and different symbol signature no new symbol is produced. No colors are imported.
- Import symbols if symbol numbers exist but symbols are different: Choose this option to import symbols if they do not exist. With same symbol number and different symbol signature a new symbol is produced. No colors are imported.
This option accord with the data import function of OCAD 8.
- Import symbols and colors: Choose this option to import symbols and colors completely. For example to print 2 maps with different symbol sets and color tables.
- Use CRT file: Activate this button to use a CRT converting table. This table consists of two columns, which are separated by a blank. In the first column is the symbol number of the OCAD symbol in the map which can be imported. In the second column is the symbol number of the open OCAD file.
Example: 526.0 813.1 - That means that all objects with the symbol number 526.0 to the symbol 813.1 are assigned.
- Load: Click this button to load a CRT file.
Handle large OCAD File
Import DXF File
- DXF size
This box shows the range of the coordinates in the DXF file.
Choose here whether you want to change the OCAD real world coordinates or to keep the existing ones.
- New offset: Choose this option if no real world coordinates are defined for the map. If you leave the proposed offset unchanged, the imported objects will be placed in the center of the OCAD drawing area. In addition you can set the desired scale of the OCAD map here.
- Existing offset and angle: Choose this option if the map already has real world coordinates and you want to fit the imported DXF file to the existing coordinates.
- Coordinates: Define here how the coordinates of the DXF file should be interpreted.
- GIS (1 meter/unit): Choose this option when importing DXF files from Geographic Information Systems (GIS), where 1 unit in the *.dxf file corresponds to 1 meter in the real world. The map scale is used for the transformation. Choose Scale and Coordinate System from the Map menu to set the map scale.
- Check Import coordinates to set the real world coordinates in OCAD to those in the DXF file automatically. Choose Scale and Coordinate System from the Map menu to switch real world coordinates on and off.
- Other: Choose this option when importing DXF files from graphic programs. Enter the size in millimeters of one DXF unit on the map. E.g. if the DXF units are inches, enter 25.4.
- Convert text Objects from OEM to Unicode: Activate this box, if the text in the DXF file is encoded in the OEM character set. OEM character set is used by old DOS programs and concerns only accented characters (ä, à, å etc.). Windows programs normally produce text in the ANSI character set.
If accented characters are not imported correctly, try this option.
- Import INSERT as point object: Activate this option to import INSERT objects in the DXF file as point objects in OCAD. Otherwise the definition of INSERT objects is imported.
- CRT: Click this button if you have converted a similar DXF file before using Convert layers. A file dialog box appears. Choose the CRT file created with the Convert layers command.
- Load Cross Reference Table File dialog box
In this file dialog box you can load a cross reference table. A cross reference table is used when Importing or Exporting a DXF file. It defines how DXF layers are translated to OCAD symbols and vice versa. A cross reference table is a text file with the extension CRT (e.g. topo.crt). Each line in this file contains an OCAD symbol number and the name of the corresponding DXF layer. The two are separated by a space character. You can use the Windows Notepad to create a cross reference table.
This is an example:
- 101.0 CONTOUR
- 102.0 INDEXCONTOUR
- 103.0 FORMLINE
- 502.0 ROAD
- 506.0 PATH
- 527.0 BUILDING
When importing from DXF to OCAD, all objects in the DXF file with the layer name CONTOUR are translated into symbol 101.0. When exporting from OCAD to DXF, all objects with the symbol 101.0 get the layer name CONTOUR. Choose Convert layers from the Map menu to create a CRT file for an imported map.
Import Shape File
Shape size: This box shows the extent of the data in the shape files in the coordinates used in the shape file.
Units: Most shape files use real world coordinates in meters. However, there are shape files using km or even 1000 km as the basic unit. Select here the appropriate unit.
- New offset: Choose this option when importing the first shape file to the actual map. OCAD already proposes reasonable values. You can leave those unchanged. OCAD also proposes a map scale that the entire map in the shape file fits into the drawing area of OCAD.
- Existing offset and angle: Select this option when importing the second and the following shape file to the actual map. The new shape file will then fit to the already imported shape files.
Key field in dBase table: When importing, OCAD creates a copy of the dBase file. OCAD can add an additional key field to the dBase file.
- Create new key field: Select this option, if the dBase file does not contain a key field with a unique key for each object or if you are not sure if such a key field exists.
- Use existing key field: Select this option, if the dBase file already contains a key field and you are sure that it contains a unique key for each object. Select the key field.
Files: Option to create Access or Excel files instead of default dBase file.
Layer: Do not import any layer information: This option was always used in OCAD 9. No layer information will be imported. Symbols must be assigned with Assign Symbols command in Database menu. This may takes a lot of time.
- Use layer information from field: This option is new in OCAD 10. Select this option if you want to import layer information (ex. lake, forest etc.) from a specified field. This allows you to choose Convert Layers to Symbol command from Map menu to assign symbols to the imported data.
Import XYZ File
These files contain 3d coordinate values.
- Real world coordinates must be chose in Scale and Coordinate System dialog from the Map menu and map offset must be set that the imported points are within the drawing area.
Choose a point symbol that should be assigned to the imported objects. OCAD will create point objects with x/y coordinates. z values are assigned to the objects' height property. Select an object and show Object Information to see height value of the selected object.
- 579609.39 335648.46 701.00
- 579609.40 335627.71 698.79
- 579609.40 335659.36 702.60
- 579609.40 335729.36 711.52
- 579609.40 335766.15 715.91
- 579609.41 335674.01 704.39
Import OSM Files
The Import OpenStreetMap XML dialog box appears when you choose an OpenStreetMap XML file in the File Import dialog box. In this dialog box you load a cross reference table (*.crt) file. There the relations between OSM layers (tags) and the OCAD symbols are defined. It is possible to load a default *.crt file that is installed to a subdirectory *.crt of the OCAD installation directory with OCAD 10.2.1 or to load a user defined *.crt file. The default *.crt file looks like this:
- 2001.0 way_barrier_hedge
- 2002.0 way_barrier_fence
- 2003.0 way_barrier_wall
- 2004.0 way_barrier_ditch
All layer names which are not listed in the *.crt file will be added together with a dummy symbol number 0.0 at the bottom of the *.crt file At the end of the import procedure the modified *.crt file can be saved.
- OCAD will convert directly the layers to symbols during the import when the check box Convert Layer to Symbol is checked.
- Choose Convert Layers to Symbol in the Map menu to load the *.crt file and convert the layers to symbols later.
Unsymbolized objects are created by importing of DXF, EMF, WMF or Shape files. They are not assigned to any symbol and appear in the color specified in Preferences. The layer name or symbol number is shown in the status line if an unsymbolized object is selected. If you select such an object, the layer name is displayed in the lower left corner.
Converting a Layer Manually
When importing a file which is not an OCAD file, unsymbolized objects are created. They appear in the color specified in Preferences. When you select such an object, a layer name will appear in the lower left corner. To get a real map, the layers have to be converted to OCAD symbols.
Normally you convert layers using the Convert Layers to Symbol command from the Map menu. You can also convert a layer manually:
- Select a (gray) imported object. In the left field of the status bar you see the layer name.
- Select the corresponding OCAD symbol in the symbol box.
- Click the Change all symbols with this symbol button in the toolbar.
- Leave the preset values unchanged and click OK.
Previous Chapter: Chapter 7: Background Map
Next Chapter: Chapter 9: Drawing an Object
Back to Help:Contents