Skip to content
Simon Errington edited this page Mar 24, 2022 · 5 revisions

Relays typically have a small number of classes but a large number of courses (gaffles). The simple way to set this up is by course, which works in the same way as a normal event. Just make sure you check the "Individual courses (butterfly/score/relay)" checkbox when creating the event. The problem is that you end up with a large number of courses with confusing names, and it is difficult to work out who ran what.

It is much more user-friendly to set things up by class. This requires some manual editing of the results and course files, but ends up with a much nicer result. As a guide, setting up BRC2015 as described below took about 30 minutes. It assumes that you have results by course. In future some of this can probably be done automatically by using the ClassCourseAssignment data.

The main requirement is to define the classes that will be used to group results. Once you have done this you edit the course and results file to use these classes rather than courses.

  1. Open the course xml file in a text editor and delete all of the <Course>..</Course> information.

  2. Add the following for each class. You need to replace "S" and "F" with whatever your start and finish control codes are. This assumes an IOF XML V3 format:

<Course>
   <Name>A: Men's Premier</Name>
   <CourseControl type="Start">
     <Control>S</Control>
   </CourseControl>
   <CourseControl type="Finish">
     <Control>F</Control>
   </CourseControl>
 </Course> 
  1. Edit the results file and change the "Course" information for each runner to use the relevant class name. Exactly how you do this depends on what your results format is.

  2. You can now create the event using the two edited files. Make sure you check the "Individual courses (butterfly/score/relay)" checkbox when creating the event.

Full JK Relay XML definition

Full British Relays XML definition