CARIS HPD : Portrayal : Annotations : Annotation Control File
 

Annotation Control File

The annotation control file (annotationcontrol.xml) lists the files that can be used together to display annotations.

The following is an example of an annotation control file entry:

<?xml version=”1.0” encoding=”UTF-8” ?>

<AnnotationControlFactory Version=”1.0”>

  <AnnotationRules Id=”Annotations” Description=”Annotation Rules and Abbreviations”>

    <AnnotationFile Name=”%PCEConfig%\Annotations\annotationfile.xml” />

    <AbbreviationFile Name=”%PCEConfig%\Annotations\abbreviationfile.xml” />

    <PatternDefinitionFile Name=”%PCEConfig%\Annotations\pattern_definitions.xml”/>

    <ImageAnnotationFile Name=”%PCEConfig%\Annotations\image_annotations.xml” />

    <LightSectorAnnotationFile Name=”%PCEConfig%\Annotations\ light_sector_annotations.xml” />

  </AnnotationRules>

</AnnotationControlFactory>

The system annotation, image annotation, abbreviation, and pattern definition files are used. The settings in these three files are accessed by the presentation control file through the <AnnotationRules/> tag.

The annotation control file contains the following fields.

Tag

Attributes

Description

<AnnotationRules/>

 

One or more annotation rules can be included in the control file to indicate the group of annotation rules and abbreviations to be used for a specific purpose.

ID

The unique ID of the annotation rules within the entry (alphanumeric –mandatory).

Description

A description of the annotation rules within the entry (mandatory).

<AnnotationFile/>

Name

The file name of an annotation rule file.

<AbbreviationFile/>

Name

The file name of an abbreviation rule file.

<PatternDefinitionFile/>

Name

The file name of the pattern definition file.

<ImageAnnotationFile/>

Name

The file name of the image annotation file.

<LightSectorAnnotation ,/>

Name

The name of the sector light annotation file.