Canvases: Difference between revisions
(→Extent) |
|||
| (56 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
=Introduction[[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]= | =Introduction[[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]= | ||
Choose the '''Canvases''' command from the '''Course Setting''' menu | Choose the '''Canvases''' command from the '''Course Setting''' menu | ||
to export courses and classes of the same course setting project in different scales and layouts. | 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. | 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 [[Canvases# | [[File:Hint.jpg]] See also our '''[[Canvases#Example_of_use|Example of use]]''' at the end of this page. | ||
[[File:Hint.jpg]] See also our '''[https://youtu.be/Lh2OcI1cKkM?si=pJYzy5oqWVIpJ8Qg Video on YouTube]''' about the Canvas function. | |||
=Canvases= | =Canvases= | ||
In this section you create canvases, define their extents, and assign courses/classes to each extent. | In this section you create canvases, define their extents, and assign courses/classes to each extent. | ||
[[File:Hint.jpg]] At the beginning, specify in the '''[[Canvases#Settings|Settings]]''' whether you want to export courses or classes, as the inputs will be lost if you switch later. | |||
[[File:Canvases_canvases.png|750px]] | [[File:Canvases_canvases.png|750px]] | ||
| Line 15: | Line 20: | ||
===Canvas name=== | ===Canvas name=== | ||
Press '''New''' to add a new canvas or '''Delete''' an existing canvas. | Press '''New''' to add a new canvas, '''Rename''' to rename an existing canvas or '''Delete''' to delete an existing canvas. | ||
Select a canvas in the canvas name box. The following settings will apply to the chosen canvas. | Select a canvas in the canvas name box. The following settings will apply to the chosen canvas. | ||
| Line 23: | Line 28: | ||
===Extent=== | ===Extent=== | ||
The chosen extent for the current canvas is shown here. | |||
[[File:Canvases Extent.png]] | |||
*Click on the ''Extent'' list to choose another available extent. | |||
*Click on ''Load extent from background map'' to load an extent from one of your background maps (e.g. an extent that has been defined to create a layout file.) | |||
*Click on '''Define''', if you want to create a new extent or change an existing extent. | |||
[[File:Canvases extent.png]] | |||
'''Name''': Existing extents will be shown here.<br> | '''Name''': Existing extents will be shown here.<br> | ||
'''Scale''': Set scale to get correct extent when choosing from paper format.<br> | |||
'''Set from paper format''': Choose a paper format, e.g. ''A4 Portrait''.<br> | '''Set from paper format''': Choose a paper format, e.g. ''A4 Portrait''.<br> | ||
'''Set to entire map''': The entire map will be set as extent.<br> | '''Set to entire map''': The entire map will be set as extent.<br> | ||
'''Width/ Height''': Enter width and height in mm.<br> | '''Width/ Height''': Enter width and height in mm. The dimensions are in the map scale and not export scale! <br> | ||
'''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'''. | '''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). | 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). | ||
[[File:Hint.jpg]] You can also define extents with the '''[[Layout#Define paper Size|Define paper Size]]''' function. | |||
===Control description box size=== | ===Control description box size=== | ||
Enter the box size of the [[Course_Setting_Options|control description]] and its maximum length. | Enter the box size of the [[Course_Setting_Options|control description]] in the export scale and its maximum length. | ||
===Use for Courses=== | ===Use for Courses=== | ||
Select the Courses/Classes that shall be assigned to the chosen canvas in the '''Canvas name''' box. | Select the Courses/Classes that shall be assigned to the chosen canvas in the '''Canvas name''' box.<br> | ||
If a Course/Class contains one (or several) ''Map flip'' or ''Map exchange'', you can assign each map extract to a canvas. | |||
Yellow color: Course/Class not yet used in any canvas<br> | Yellow color: Course/Class not yet used in any canvas<br> | ||
Light green color: Course/Class used in one canvas (currently not selected)<br> | |||
Red color: Course/Class used in more than one canvas <br> | Dark green color: Course/Class used in one canvas (currently selected)<br> | ||
Red color: Course/Class used in more than one canvas<br> | |||
=Usage= | =Usage= | ||
| Line 78: | Line 96: | ||
===Symbols=== | ===Symbols=== | ||
Double click on a symbol to make it visible or not. | Double click on a symbol to make it visible or not. | ||
If you miss a symbol, check the '''[[Canvases#Usage]]''' section | If you miss a symbol, check the '''[[Canvases#Usage|Usage]]''' section. | ||
===Background maps=== | ===Background maps=== | ||
Double click on a symbol to make it visible or not. | Double click on a symbol to make it visible or not. | ||
If you miss a background map, check the '''[[Canvases#Usage]]''' section | If you miss a background map, check the '''[[Canvases#Usage|Usage]]''' section. | ||
=PDF Export= | =PDF Export= | ||
| Line 88: | Line 106: | ||
Click '''Export''' to export all courses/classes to the specified export folder. | Click '''Export''' to export all courses/classes to the specified export folder. | ||
[[File:Hint.jpg]] If the map contains raster layout objects then OCAD takes the dpi resolution from the export setings. | |||
=XML Script= | =XML Script= | ||
| Line 105: | Line 125: | ||
=Example of use= | =Example of use= | ||
==Demo data== | |||
[[File:Hint.jpg]] You can download the data for the examples below [https://www.ocad.com/download/samples/CanvasesExample.zip here]. | |||
==Example Map Scale== | |||
'''Initial Situation''' | '''Initial Situation''' | ||
| Line 119: | Line 141: | ||
- Short Course, Class M80, Scale 7’500 | - Short Course, Class M80, Scale 7’500 | ||
'''Purpose of the Canvas Function''' | |||
With the canvas function, we can manage the different map scales and export extents in one single course setting file and export the print PDFs in one single click.<br> | |||
This reduces the time required and potential sources of error, especially if you need to make last-minute changes to your map and courses. | |||
''' | '''Organisation''' | ||
For | It is recommended to save all the files listed below in the same folder. This makes it easier, if data is shared with other people, e.g. via Dropbox or OneDrive. | ||
'''Preparation''' | |||
For our example we work with the following files.<br><br> | |||
*''[Map] Bürenflue.ocd''<br> | *''[Map] Bürenflue.ocd''<br> | ||
The map file. | The map file.<br> | ||
Scale 1:10'000<br> | |||
The map file is what you call orienteering map. You get it from the map maker or from the mapping responsible person of your club.<br> | |||
Make sure that the map file does not contain any layout object. So, it should not contain any logos, texts, ...<br> | |||
If any map corrections need to be done, you must make them in this file only. | |||
[[File:CanvasesExample Map.png|750px]] | [[File:CanvasesExample Map.png|750px]] | ||
*''[ | *''[Layout_A4_Portrait_10000] Bürenflue.ocd'' | ||
:''[Layout_A3_Landscape_7500] Bürenflue.ocd'' | |||
In each layout file, we created a layout according to its scale and page orientation. | :''[Layout_A4_Landscape_15000] Bürenflue.ocd''<br> | ||
The three different layout files.<br> | |||
Scale 1:10'000 for all three files!<br> | |||
[[File:Hint.jpg]] See the '''[[Create a Layout]]''' page for more information how to create a layout.<br> | |||
In each layout file, we created a layout according to its export scale and page orientation (add logos, draw a frame, indicate the scale, cover parts of the map ...)<br> | |||
[[File:Hint.jpg]] In the layout file, you can load the ''[Map] Bürenflue.ocd'' as background map to see where the layout needs to be placed (as in the image below), but '''make sure to remove all background maps again once the layout is created'''!<br> | |||
Note: The layout files do not contain any course setting objects! | |||
[[File:CanvasesExample MapLayouts.png|750px]] | [[File:CanvasesExample MapLayouts.png|750px]] | ||
| Line 140: | Line 181: | ||
*''[Course Setting] Bürenflue.ocd''<br> | *''[Course Setting] Bürenflue.ocd''<br> | ||
The course setting | Scale is also 1:10'000.<br> | ||
The course setting file has loaded all three layout files and the map file as background map. Make sure the map file is below the layout files in the list.<br> | |||
If you get a new map file from the map maker, you can load the new map file and remove the old one in the '''Manage Background Maps''' dialog.<br> | |||
[[File:CanvasesExample CourseSettingProject.png|750px]] | [[File:CanvasesExample CourseSettingProject.png|750px]] | ||
[[File:CanvasesExample ManageBackgroundMaps.png]] | |||
| Line 160: | Line 205: | ||
''' | '''Usage settings''' | ||
We duplicated some symbols in the symbol box of the course setting project | We duplicated some symbols in the symbol box of the course setting project (right-Click the symbol in the symbol box -> Duplicate), e.g. symbol for control description or symbol for course title.<br> | ||
We can also change the settings of the duplicated symbols if needed (e.g. text and symbol control description type, different font sizes for course titles).<br> | |||
It's good practice to give the duplicated symbols a new and meaningful name (e.g. ''CD 10000 Text'', ''CD 15000 Symbol''). This makes it easier in the [[Canvases#Usage|Usage]] settings to assign the symbols to the corresponding canvases.<br> | |||
See also the Usage settings in the screenshot [[Canvases#Usage|above]]. | See also the Usage settings in the screenshot [[Canvases#Usage|above]]. | ||
| Line 184: | Line 230: | ||
[[File:CanvasesExample ExportClasses.png]] | [[File:CanvasesExample ExportClasses.png]] | ||
==Example Artificial Fences== | |||
[[File:Hint.jpg]] You can download the data for the examples below [https://www.ocad.com/download/samples/CanvasesExample.zip here]. | |||
In a sprint orienteering competition, some courses should include artificial fences, while others should not. | |||
[[File:Canvas ArtificialFences.png|750px]] | |||
==Example Control Description== | |||
[[File:Hint.jpg]] You can download the data for the examples below [https://www.ocad.com/download/samples/CanvasesExample.zip here]. | |||
At a local orienteering event, a symbol or text control description was printed on the map depending on the course.<br> | |||
For the beginner course, a transparent red line also indicated the ideal running route. For the ''All Cotroll'' map, the control description was printed on the reverse side (backside). | |||
In this example, it was not necessary to separate the map file and the layout file, as the canvas function was only used to control the placement of the control description and the visibility of the red line. | |||
[[File:BeispielPoBe Zeinigerberg.png|750px]] | |||
[[File:BeispielPoBe Zeinigerberg Backside.png|750px]] | |||
==Example Map Exchange== | |||
[[File:Hint.jpg]] You can download the data for the examples below [https://www.ocad.com/download/samples/CanvasesExample.zip here]. | |||
When there is a '''[[Insert_Course_Object#Map_Exchange|Map Exchange]]''', the runner has to take a new map and continue the course on the new map. | |||
If there is a course with a Map Exchange(s), you can see that this course is split up into different sub-courses (''Map exchange #1'' and ''Map exchange #2'', ...) in the Canvas dialog. | |||
[[File:Canvas MapExchange.png]] | |||
You can (but don't have to) assign a different Canvas for ''Map exchange #1'' and ''Map exchange#2''.<br> | |||
When exporting the PDF's, OCAD will generate one PDF file for each sub-course. | |||
[[File:Map Exchange Example original.png|750px]] | |||
==Example Map Flip== | |||
[[File:Hint.jpg]] You can download the data for the examples below [https://www.ocad.com/download/samples/CanvasesExample.zip here]. | |||
When there is a '''[[Insert_Course_Object#Map_Flip|Map Flip]]''', the runner has to turn the map over to continue the course on the reverse side (backside) of the same map. | |||
If there is a course with a Map Flip, you can see that this course is split up into two sub-courses (''Map flip #1'' and ''Map flip #2'') in the Canvas dialog. | |||
You can (but don't have to) assign a different Canvas for ''Map flip#1'' and ''Map flip#2''.<br> | |||
In the example below, we choose ''Canvas East'' and ''Frontside'' for #01 and ''Canvas West'' and ''Backside'' for #02.<br> | |||
[[File:Hint.jpg]] Also note, that there are three different parts for the same extent (Frontside, Backside, Double-Sided). | |||
This is due to the fact, that a backside has been defined for this extent in the '''[[Layout#Backside|Define Paper Size]]''' function. Do not use the ''Double-Sided'' extent for the sub-courses.<br> | |||
(Instead of defining an extent with a backside, you can also define two different extents without a backside. The result will be the same. OCAD will export a PDF with two pages for double-sided printing, if there is a ''Map Flip'' in the course.) | |||
[[File:DoubleSidedPDF Canvas.png]] | |||
When exporting the PDF's, OCAD will generate a double-sided PDF for that course. It means that there is one PDF file with two pages in it. | |||
[[File:Map Flip Example original.png|750px]] | |||
=Conclusion= | |||
It needs some effort to prepare the layout files and set up the canvases for a course setting project. For sure, this is something that should/can be done many weeks before a competition and should be tested properly beforehand. | |||
Once the canvases are set, the function is very useful. If there are last-minute changes to courses and maps (as it often happens), these changes only have to be done in the map file or in the course setting file. This reduces potential errors. | |||
Latest revision as of 11:01, 3 August 2026
Introduction




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.
See also our Video on YouTube about the Canvas function.
Canvases
In this section you create canvases, define their extents, and assign courses/classes to each extent.
At the beginning, specify in the Settings whether you want to export courses or classes, as the inputs will be lost if you switch later.
Canvas name
Press New to add a new canvas, Rename to rename an existing canvas or Delete to 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
The chosen extent for the current canvas is shown here.
- Click on the Extent list to choose another available extent.
- Click on Load extent from background map to load an extent from one of your background maps (e.g. an extent that has been defined to create a layout file.)
- Click on Define, if you want to create a new extent or change an existing extent.
Name: Existing extents will be shown here.
Scale: Set scale to get correct extent when choosing from paper format.
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. The dimensions are in the map scale and not export scale!
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).
You can also define extents with the Define paper Size function.
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.
If a Course/Class contains one (or several) Map flip or Map exchange, you can assign each map extract to a canvas.
Yellow color: Course/Class not yet used in any canvas
Light green color: Course/Class used in one canvas (currently not selected)
Dark green color: Course/Class used in one canvas (currently selected)
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.
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.
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 Usage section.
Background maps
Double click on a symbol to make it visible or not. If you miss a background map, check the Usage section.
PDF Export
Click Export to export all courses/classes to the specified export folder.
If the map contains raster layout objects then OCAD takes the dpi resolution from the export setings.
XML Script
Load from XML: Load settings from an XML file.
Save as XML: Save current settings as an XML file.
Settings
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
Demo data
You can download the data for the examples below here.
Example Map Scale
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
Purpose of the Canvas Function
With the canvas function, we can manage the different map scales and export extents in one single course setting file and export the print PDFs in one single click.
This reduces the time required and potential sources of error, especially if you need to make last-minute changes to your map and courses.
Organisation
It is recommended to save all the files listed below in the same folder. This makes it easier, if data is shared with other people, e.g. via Dropbox or OneDrive.
Preparation
For our example we work with the following files.
- [Map] Bürenflue.ocd
The map file.
Scale 1:10'000
The map file is what you call orienteering map. You get it from the map maker or from the mapping responsible person of your club.
Make sure that the map file does not contain any layout object. So, it should not contain any logos, texts, ...
If any map corrections need to be done, you must make them in this file only.
- [Layout_A4_Portrait_10000] Bürenflue.ocd
- [Layout_A3_Landscape_7500] Bürenflue.ocd
- [Layout_A4_Landscape_15000] Bürenflue.ocd
The three different layout files.
Scale 1:10'000 for all three files!
See the Create a Layout page for more information how to create a layout.
In each layout file, we created a layout according to its export scale and page orientation (add logos, draw a frame, indicate the scale, cover parts of the map ...)
In the layout file, you can load the [Map] Bürenflue.ocd as background map to see where the layout needs to be placed (as in the image below), but make sure to remove all background maps again once the layout is created!
Note: The layout files do not contain any course setting objects!
- [Course Setting] Bürenflue.ocd
Scale is also 1:10'000.
The course setting file has loaded all three layout files and the map file as background map. Make sure the map file is below the layout files in the list.
If you get a new map file from the map maker, you can load the new map file and remove the old one in the Manage Background Maps dialog.
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.
Usage settings
We duplicated some symbols in the symbol box of the course setting project (right-Click the symbol in the symbol box -> Duplicate), e.g. symbol for control description or symbol for course title.
We can also change the settings of the duplicated symbols if needed (e.g. text and symbol control description type, different font sizes for course titles).
It's good practice to give the duplicated symbols a new and meaningful name (e.g. CD 10000 Text, CD 15000 Symbol). This makes it 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
Example Artificial Fences
You can download the data for the examples below here.
In a sprint orienteering competition, some courses should include artificial fences, while others should not.
Example Control Description
You can download the data for the examples below here.
At a local orienteering event, a symbol or text control description was printed on the map depending on the course.
For the beginner course, a transparent red line also indicated the ideal running route. For the All Cotroll map, the control description was printed on the reverse side (backside).
In this example, it was not necessary to separate the map file and the layout file, as the canvas function was only used to control the placement of the control description and the visibility of the red line.
Example Map Exchange
You can download the data for the examples below here.
When there is a Map Exchange, the runner has to take a new map and continue the course on the new map.
If there is a course with a Map Exchange(s), you can see that this course is split up into different sub-courses (Map exchange #1 and Map exchange #2, ...) in the Canvas dialog.
You can (but don't have to) assign a different Canvas for Map exchange #1 and Map exchange#2.
When exporting the PDF's, OCAD will generate one PDF file for each sub-course.
Example Map Flip
You can download the data for the examples below here.
When there is a Map Flip, the runner has to turn the map over to continue the course on the reverse side (backside) of the same map.
If there is a course with a Map Flip, you can see that this course is split up into two sub-courses (Map flip #1 and Map flip #2) in the Canvas dialog.
You can (but don't have to) assign a different Canvas for Map flip#1 and Map flip#2.
In the example below, we choose Canvas East and Frontside for #01 and Canvas West and Backside for #02.
Also note, that there are three different parts for the same extent (Frontside, Backside, Double-Sided).
This is due to the fact, that a backside has been defined for this extent in the Define Paper Size function. Do not use the Double-Sided extent for the sub-courses.
(Instead of defining an extent with a backside, you can also define two different extents without a backside. The result will be the same. OCAD will export a PDF with two pages for double-sided printing, if there is a Map Flip in the course.)
When exporting the PDF's, OCAD will generate a double-sided PDF for that course. It means that there is one PDF file with two pages in it.
Conclusion
It needs some effort to prepare the layout files and set up the canvases for a course setting project. For sure, this is something that should/can be done many weeks before a competition and should be tested properly beforehand.
Once the canvases are set, the function is very useful. If there are last-minute changes to courses and maps (as it often happens), these changes only have to be done in the map file or in the course setting file. This reduces potential errors.





