|
||||||||||
VRC DocumentationAppendix F - The .sct2 Sector File FormatStarting with version 1.1, VRC supports two extensions to the standard sector file format. The two new sections are called Regions and Labels. Other than these two new sections, .sct2 files are identical to .sct files. RegionsRegions are used to define areas on the scope which are filled with a solid color. These filled polygons can be used to depict many different things in a sector such as special-use airspace, airways, ground maps, bodies of water, etc. To define regions in a .sct2 sector file, create a [REGIONS] section. You can create an unlimited number of regions within the section. Each region consists of a color definition and a series of lat/lon points. A region definition ends when a new region definition begins, or when a new section begins. Here's an example [REGIONS] section with a single region definition:
The first line of a region definition contains the color code, followed by the first point on the polygon. Each additional line must start with one or more spaces, followed by the lat/lon for the next point on the polygon. You do not need to duplicate the start point at the end of the list of points. VRC will automatically close the polygon. Following is another example [REGIONS] section with multiple region definitions. The third region uses a numeric color code instead of a color code specified by a #define line earlier in the sector file:
LabelsLabels are simple static text strings drawn at a specified lat/lon on the scope. They can only be one line of text, and they're always drawn in the same font as the navaid names. These labels are useful for identifying various items in the sector such as MVAs, taxiway names, special-use airspace, etc. To define one or more labels in your .sct2 sector file, add a [LABELS] section. You can define an unlimited number of text labels in this section. Each line creates a new label. Here's an example [LABELS] section:
The line starts with the actual text of the label, which must be enclosed in double quotes. This is followed by the lat/lon for the location where you want the label to be printed. The last field is the color definition for the label. Each label can be a different color. [ Print this page ] |
||||||||||
|