Add courses

As an organizer of an activity you need to load in the courses for the activity. Livelox can import courses IOF XML-format, that is the standard format to change out course and control information. In addition there is support for course setting files from OCAD and Purple Pen, as well as course printing files in PDF- och SVG-format.

When you go in to the Courses section of an activity for the first time, naturally there is no course available. You must first create a file with the necessary information.

Export course setting files from OCAD

OCAD 9 or later has support to export course setting files in IOF XML-format. The below description applies to OCAD 11, but the same principle should hold for version 9 och 10. It assumes that you are familiar with course setting in OCAD, and that the courses are set.

  1. Open the course setting file in OCAD.
  2. If the course setting file is georeferenced it is easier to fit the course to the mat in the following steps, but it is not necessary. In order to georeference the course setting file choose Msp > Ange skala och referenssystem in the menu. Ensure that the right reference system for the background is chosen. Click on the button Choose to select a reference system. The most common for orienteering maps is Sweden is SWEREF 99 TM, see screenshot below.

  3. Choose Course Setting > Export > Couse (XML, IOF version 3.0) in the menu. A file with control positions and course is created in the location you specify.

OCAD 8 is missing the function to export IOF XML-filer. In this case, you can instead use the course setting file in the coming step.

Export course setting files from OCAD

In OCAD it is possible to cut up control rings and connecting lines so that important map details are visible. It increases readability and gives the participant a sense of quality. The order number of the controls can also be moved, which is useful when controls are tight. This information will not be included in the IOF XML files, which only contain coordinates for the controls and which controls are included in each course.

Livelox can create a path print based on IOF XML files, but without cut rings and lines, markings for prohibited areas and adjusted placements of the control numbers. In order to make the course setting looks exactly like in the course setting program, you need to export a vectorized course printing file in PDF or SVG format for each course. This is not necessary to do, but as said, it makes it nicer. OCAD 9 and later support exporting web printing in PDF format. OCAD 10 Professional, OCAD 11 Professional, and OCAD 12 and later have support for exporting SVG-format printing. To create SVG files, the principle is the same for PDF files:

  1. Hide the course setting symbols that you don’t want to be seen in the course printing. In particular, make sure that the control description is hidden, as otherwise Livelox may find it difficult to position the course print. Right-click the symbols in the symbol panel on the right and selectHide.
  2. Check that the background map and any background images are hidden. Choose Background > Hide all in the menu.
  3. Check that the display mode is set to Normal. Choose View > Normal in the menu.
  4. Choose Arkiv > Export in the menu.
  5. In the Export panel you see that the setting are selected as shown in the screen shot below. The scale for exporting should be the same as the map scale. Make sure to adjust the map’s size so that all objects are included. Click Export when all choices have been made. If you get a message saying that the map must be exported in raster format, you have failed to hide a background image in the previous steps. If so, cancel and go back to fix it.

    Choose the courses that the course printing should be made for. Do not include <All of the kontrolls (objekt)>. When you have clicked OK you get to choose which folder you would like to save the first file in. Do not change the name of the file. One file for each course will be created in the folder you specified after clicking Save..

If you are using OCAD 8 you can not export to SVG or PDF. But there is a trick to fix this. See that you have a PDF maker installed, for example, CutePDF Writer. In OCAD 8 make sure that the background map and any background images are hidden and then choose Save > Print . In the print dialog box that is comes up, choose the PDF print option. Choose Map section and mark the section of the map in the following way: Mark the course you will export and click Print. A PDF file per course is made.

Upload course setting file and course printing files.

When files are exported from OCAD or another course setting program, it is time to upload them into Livelox. In the section Courses there is a button Choose file to upload that you click on.

The following file formats can be uploaded:

  • IOF XML-files, version 2.0.3 och 3.0 (.xml)
  • PDF-files (.pdf)
  • SVG-files (.svg)
  • Course setting files from OCAD 8, 9, 10, 11, 12, 2018 och 2019 (.ocd)
  • Course setting files from Purple Pen (.ppen)

Choose all files that you exported, both course setting files (they usually end with .Courses.xml if it is an IOF XML file that has been exported from OCAD) and course printing file if such file exists. You can choose multiple files at one time. When files are uploaded the information can be reviewed under four tabs.

Tab Courses

Here you see the courses included in the file, and the order of the controls. A course can be taken away by pressing on the button with a trash can on the bottom right. A green check means that the web has a vectorized web print attached to it.

Tab Controls

Here you see a list of the controls that are in use and the paths that use them. Hover your mouse over a control to show the control's position on the map.

Tab Course print

Here you see all the uploaded course printing files. You can specify the course printing scale and which course should the course printing be connected to. Normally these options are pre-chosen.

Tab Preview

Here you check that the controls and course have ended up in the right place. Highest up there are two scroll lists. In the first you choose which course should be shown. Det is also possible to choose All controls here. In the other you choose the backgrounds map: either the uploaded map or a satellite picture from Google Maps. Use the mouse’s scroll wheel to zoom in and out. You can also click on and drag the map picture to move it.

If the uploaded course setting file is not georeferenced, for example of you have uploaded it in an OCAD 8-file, you need to drag the “control cloud” manually to the right place with the help of the mouse. That you can do in the preview view. Follow the instructions as they are shown.

Save

Once you have verified that all the information is correct, click on Save. If there are not any classes in the activity, you will receive a question if you want to create classes based on the courses. It is Om det inte finns några klasser i aktiviteten får du en fråga om du vill skapa klasser baserade på banorna. It is convenient for smaller events when there is usually one class per course.

If the activity includes classes with forked courses, as for example relay races or courses with bokontroller och fjärilar, you need to connect multiple courses to the respective class. Read more about working with relays and multiple courses per class.

If you need to do any changes in the courses, export a new course setting file and new course printing files and upload them again. The new information replaces the existing information.

More information