Canvases: Difference between revisions

From OCAD Wiki - English
Jump to navigation Jump to search
Line 27: Line 27:
===Extent===
===Extent===
Choose an extent from the list. If there is no extent available, click on '''Define'''. Load the background map to define the extent.
Choose an extent from the list. If there is no extent available, click on '''Define'''. Load the background map to define the extent.
The dimensions of width and height are in the map scale and not export scale! 


'''Name''': Existing extents will be shown here.<br>  
'''Name''': Existing extents will be shown here.<br>  

Revision as of 16:08, 9 May 2022

IntroductionSpace.PNGThis function is available in OCAD Mapping Solution.This function is available in OCAD Orienteering.This function is available in OCAD Starter.This function is available in OCAD Course Setting.

Hint.jpg Canvases - Beta Version. We have tested the Canvases function intensively and successfully over the last few weeks. However, errors may still occur. Therefore, we recommend to create regular backups. If you have any feedback, please send us an email at info@ocad.com.

Choose the Canvases command from the Course Setting menu to export courses and classes of the same course setting project as pdfs in different scales and layouts.

Think of a canvas as a neutral base map on which you can display data. The canvas shows a portion of the map defined by the current extent of the canvas, along with the assigned symbols and background maps.

See also our Example of use at the end of this page.

Canvases

In this section you create canvases, define their extents, and assign courses/classes to each extent.

Canvases canvases.png

Canvas name

Press New to add a new canvas or Delete an existing canvas.

Select a canvas in the canvas name box. The following settings will apply to the chosen canvas.

Export scale

Choose the export scale, in which the chosen extent shall be exported.

Extent

Choose an extent from the list. If there is no extent available, click on Define. Load the background map to define the extent.

The dimensions of width and height are in the map scale and not export scale!

Name: Existing extents will be shown here.
Set from paper format: Choose a paper format, e.g. A4 Portrait.
Set to entire map: The entire map will be set as extent.
Width/ Height: Enter width and height in mm.
Overwrite / Create new extent: If there is no extent defined so far, you need to create a new extent. Enter a name and press Save. If there are already extents available, you can still create a new extent (enter a different name as the current extent that is shown) or overwrite the currently shown extent (enter the same name as the current extent that is shown).

Control description box size

Enter the box size of the control description in the export scale and its maximum length.

Use for Courses

Select the Courses/Classes that shall be assigned to the chosen canvas in the Canvas name box.

Yellow color: Course/Class not yet used in any canvas
Green color: Course/Class used in one canvas
Red color: Course/Class used in more than one canvas

Usage

This section is a pre-selection of symbols and background maps, that will later on be used in the Visibility section.

Canvases usage.png

Symbols

Used symbols List with symbols, that can be used afterwards in the Visibility section.

Drag and drop Available, but not used symbols here.

Available, but not used symbols List of all symbols, that the symbol box of your course setting project contains.

Background maps

Used background maps List with symbols, that can be afterwards in the Visibility section.

Drag and drop Available, but not used background maps here.

Available, but not used background maps List of all background maps, which your course setting project contains.

Visibility

Define which symbols and background maps shall be visible for which canvas.

Canvases visibility.png

Canvas name

Select a canvas. If there is no canvas available, define a canvas in the Canvases section.

Symbols

Double click on a symbol to make it visible or not. If you miss a symbol, check the Canvases#Usage section

Background maps

Double click on a symbol to make it visible or not. If you miss a background map, check the Canvases#Usage section

PDF Export

Canvases pdfexport.png

Click Export to export all courses/classes to the specified export folder.

XML Script

Canvases xmlscript.png

Load from XML: Load settings from an XML file.

Save as XML: Save current settings as an XML file.

Settings

Canvases settings.png

Activate canvases in course preview and export: If activated, the preview of your courses will load the corresponding canvas.

Export: Choose if you like to export courses or classes.

Example of use

Hint.jpg You can download the data for this example here.


Initial Situation

Given the following example:

For a long distance orienteering race, the following courses and classes are offered.

- Long Course, Class WE, Scale 15’000
- Medium Course, Class W18, Scale 10’000
- Medium Course, Class M60, Scale 7’500
- Short Course, Class M80, Scale 7’500

Thanks to the Canvases function, all courses and/or classes can be automatically exported as PDF from a single course setting project in the specified scale and layout. Especially for larger events, this reduces the time required and potential sources of error.
However, the preparations and settings require a sound knowledge of OCAD.


Preparation of background maps

For the above example we have created the following files.

  • [Map] Bürenflue.ocd

The map file. It contains no layout objects. If you have map corrections, you must make them in this file.

CanvasesExample Map.png


  • [Layout_A3_Landscape_7500] Bürenflue.ocd | [Layout_A4_Landscape_15000] Bürenflue.ocd | [Layout_Portrait_10000] Bürenflue.ocd

In each layout file, we loaded the [Map] Bürenflue.ocd as background map.
In each layout file, we created a layout according to its scale and page orientation.

CanvasesExample MapLayouts.png


  • [Course Setting] Bürenflue.ocd

The course setting files has loaded all layout files as background map. Since the layout files in turn have the [Map] Bürenflue.ocd file loaded as a background, this also appears.

CanvasesExample CourseSettingProject.png


Canvases settings

We defined the canvases 7500, 10000 and 15000.

We defined the Extent 7500, Extent 10000 and Extent 15000. The export scales and extents fits to the layout files.

We assigned each class to a canvas:
- Class WE used for Canvas 15000
- Class W18 used for Canvas 10000
- Class M60 used for Canvas 7500
- Class M80 used for Canvas 7500

See also the Canvases settings in the screenshot above.


Useage settings

We duplicated some symbols in the symbol box of the course setting project to put them at a different place for each canvas.
E.g. symbol for control description, symbol for course title or symbol for event title. It's good practice to give the duplicated symbols a new and meaningful name. Then it's easier in the Usage settings to assign the symbols to the corresponding canvases.

See also the Usage settings in the screenshot above.


Visibility settings

We set the Visibility settings as in the screenshot above.


PDF Export

We get the following output files:

Class WE, Long Course, Scale 15’000, A4 Landscape
Class W18, Medium Course, Scale 10’000m A4 Portrait
Class M60, Medium Course, Scale 7’500, A3 Landscape
Class M80, Short Course, Scale 7’500, A3 Landscape


CanvasesExample ExportClasses.png