QGF Reference Card
The QGF graphics format was designed specifically for the FAA's UNIX SIMMOD 2.2 in 1995. This document is a
Visual SIMMOD feature specific updated version of the documentation that was provided standard with that system.
QGF files allow the user to specify the type of graphics he or she desires to see displayed.
All graphic objects are positioned using longitudes, latitudes, and altitudes. The longitudes and latitudes
are expressed in decimal degrees. The United States has negative longitudes and Europe has positive longitude values.
Altitudes are expressed in decimal hundreds of feet.
Please note that Visual SIMMOD supports all of the elements noted below.
Organizational Elements
Objects
- ARC - An arc.
- GIF_LL - A bitmap graphics file, normally a GIF, JPEG, or PNG format file, drawn at a
longitude, latitude location.
- GIF_PIXEL - A bitmap graphics file, normally a GIF, JPEG, or PNG format file, drawn
at a pixel location. Useful for displaying company logos, etc. in the corners of the map graphics.
- GIF_SCALE - A bitmap graphics file, normally a GIF, JPEG, or PNG format file, aligned
to two longitude, latitude locations. The graphics file scales as the map graphics are zoomed in or out.
- INK - Multiple connected lines
- LINE - A single line
- MARKER - A singular point object which can take one of a variety of shapes.
- MESH
- MESH_COLOR
- MESH_POINT
- MESH_AT
- MESH_COLOR_AT
- MESH_POINT_AT
- POLY - Starts the drawing of a closed polygon. The polygon may or may not have a colored
or textured face.
- RESTART_INK - Stops the drawing of a polyline.
- RESTART_POLY - Stops the drawing of a polygon.
- TEXT - A piece of text.
Attributes
OPEN required_name
Use the OPEN command to open a segment (the required_name) which should contain one more graphical objects and
may contain one or more attributes for the graphical objects contained therein.
The required name should be unique for items which you expect to have unique attributes such as line color.
An OPEN command may also have nested within it another OPEN command. The nested OPEN command will be considered
a child segment and will inherit all of the parent attributes. The child may set attributes of it's own or it may
over-ride some or all of it's parent's attributes.
All OPEN (parent and child) commands should be closed with a CLOSE command (discussed below) .
Example:
OPEN 2020_configuration_green
MARKER_COLOR_RGB 0 255 0
MARKER -117.3455 32.89898 0.0
OPEN child_sub_segment_red
MARKER_COLOR_RGB 255 0 0
MARKER -117.4455 32.99898 0.0
CLOSE
OPEN child_sub_segment_blue
MARKER_COLOR_RGB 0 0 255
MARKER -117.59632 32.67634 0.0
CLOSE
CLOSE 2020_configuration
CLOSE optional_name
Use the CLOSE command to close a previous OPEN command. All OPEN commands should be closed with a CLOSE command.
The optional_name is for your convenience to help you organize your QGF file better. It is ignored by the Network
Builder
Example:
OPEN 2020_configuration
MARKER -117.3455 32.89898 0.0
CLOSE 2020_configuration
ARC longitude latitude altitude width height startangle arcangle
The ARC object provides a means of drawing an arc on the map graphics. The arc is anchored to a particular longitude,
latitude and altitude. The width and height are defined in terms of pixels, therefore arcs do not resize when the
user zooms in or out. The startangle is the starting point of the arc and is expressed in decimal degrees. The
arcangle is how far around the arc extends in decimal degrees.
ARCs share many of the same attributes settings with POLY objects. Therefore you may use FACE_VIS, EDGE_COLOR_RGB,
etc. to enhance your ARCS' presentation.
Example:
OPEN grey_arc
ARC -81.1743 26.4615 0.0 50.0 50.0 0 90
ARC_COLOR_RGB 100 100 100
TEXT_COLOR_RGB 255 255 255
CLOSE
OPEN green_arc
ARC -81.1743 26.4615 0.0 50.0 50.0 90 45
ARC_COLOR_RGB 50 250 50
CLOSE
OPEN yellow_arc
ARC -81.1743 26.4615 0.0 50.0 50.0 134 75
ARC_COLOR yellow
CLOSE
OPEN red_arc
ARC -81.1743 26.4615 0.0 50.0 50.0 209 150
ARC_COLOR red
CLOSE
OPEN open_oval_arc
ARC -81.1702 26.4612 0.0 50.0 20.0 0 360
ARC_TYPE FACES_OFF
ARC_COLOR_RGB 0 200 200
CLOSE
OPEN open_half_oval_arc
ARC -81.1685 26.4612 0.0 50.0 20.0 0 180
ARC_TYPE FACES_OFF
ARC_COLOR_RGB 0 150 255
CLOSE
|
 |
ARC_COLOR the_color
Colors available are machine dependent but you are generally safe choosing any of the basic colors such as:
red
blue
yellow
green
white
black
purple
orange
Example:
OPEN an_arc
ARC_COLOR green
ARC -81.1743 26.4615 0.0 50.0 50.0 209 150
CLOSE an_arc
ARC_COLOR_RGB red green blue
Sets both the color of the edges and the faces of arcs contained within the segment to the specific RGB color.
Example:
OPEN a_blue_arc
ARC_COLOR_RGB 0 0 255
ARC -81.1743 26.4615 0.0 50.0 50.0 209 150
CLOSE
ARC_TRANS value
ARC_TRANS sets the amount of transparency which should be applied to the arcs within a particular OPEN/CLOSE
segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 forces drawing of the arc completely opaque
and a value of 0.0 is completely transparent (invisible).
Note: If you desire your arc to be completely transparent then it is recommended you use the ARC_VIS attribute
instead of ARC_TRANS since usage of ARC_VIS enhances performance significantly. If you use a ARC_TRANS value of
0.0, the arcs are drawn (using CPU cycles), but they are not visible. If you use ARC_VIS OFF then the arcs are
never drawn therefore speeding screen refresh times.
Example:
OPEN edge_trans_example
ARC_TRANS 0.22
ARC -81.1743 26.4615 0.0 50.0 50.0 209 150
CLOSE
ARC_TYPE closed_on_or_off
ARC_TYPE either creates open arcs (no face possible) or a closed arcs (faces may be turned on) in the shape
of a pie within a segment.
The legal values are FACES_ON or FACES_OFF.
Example:
OPEN segment_88
ARC_TYPE FACES_ON
ARC -81.1743 26.4615 0.0 50.0 50.0 209 150
CLOSE segment_88
ARC_VIS status
Sets the visibility of all arcs in a segment to either opaque or transparent. Note: If you use this capability
to set the arcs to transparent then the arcs are simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
ARC_VIS ON
ARC -81.1743 26.4615 0.0 50.0 50.0 209 150
CLOSE segment_88
DEFAULT_FACE_TEXTURE filename
DEFAULT_FACE_TEXTURE defines a bitmap graphics file included with Visual SIMMOD which can be used to draw the
face of polygons.
Current texture files available are:
desert_background.png
grass.png
taxiway.png
If you have a texture file which you believe should be included with Visual SIMMOD and you own the copyright
to the file, you have the legal authority to contribute the file, and you are willing to contribute the texture
file then AirportTools would be happy to include the file with Visual SIMMOD. Please forward to AirportTools any
such files you would like to contribute.
EDGE_COLOR the_color
Colors available are machine dependent but you are generally safe choosing any of the basic colors such as:
red
blue
yellow
green
white
black
purple
orange
Example:
OPEN a_poly
EDGE_COLOR green
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE a_poly
EDGE_COLOR_RGB red green blue
Sets the color of the edges of polygons contained within the segment to the specific RGB color.
Example:
OPEN a_blue_edged_polygon
EDGE_COLOR_RGB 0 0 255
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE
EDGE_STROKE value [ value , value, ... ]
The EDGE_STROKE attribute very specifically describes the pattern displayed by the edges of polygons within
an OPEN/CLOSE segment.
Each floating point value argument to the attribute describes the length of a stroke. The initial floating point
value describes the visible stroke's length with the second value describing the non-visible (gap in the edge)
stroke. If additional visible and invisible strokes are desired in the pattern then the user need only add additional
floating point values to describe their stroke lengths
The pattern, as described, is repeated automatically by Visual SIMMOD along the lengths of the edges.
Example:
OPEN edge_example
EDGE_STROKE 9.0 9.0 4.0 18.0
POLY -81.1651 26.4481 0.0
POLY -81.1676 26.4461 0.0
POLY -81.1655 26.4448 0.0
POLY -81.1637 26.4448 0.0
POLY -81.1623 26.4469 0.0
RESTART_POLY
FACE_COLOR_RGB 0 0 200
EDGE_COLOR_RGB 255 100 0
EDGE_WEIGHT 2.0
MARKER_SYMBOL /*\
MARKER_COLOR GREEN
MARKER_SIZE 3.0
FACE_VIS OFF
CLOSE
|
 |
EDGE_TRANS value
EDGE_TRANS sets the amount of transparency which should be applied to the edges of polygons within a particular
OPEN/CLOSE segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 is forces drawing of the polygon edge completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your polygon edge to be completely transparent then it is recommended you use the EDGE_VIS
attribute instead of EDGE_TRANS since usage of EDGE_VIS enhances performance significantly. If you use a EDGE_TRANS
value of 0.0, the edges are drawn (using CPU cycles), but they are not visible. If you use EDGE_VIS OFF then the
edges are never drawn therefore speeding screen refresh times.
Example:
OPEN edge_trans_example
EDGE_TRANS 0.87
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE
EDGE_VIS status
Sets the visibility of all polygon edges in a segment to either opaque or transparent. Note: If you use this
capability to set the edges to transparent then the edges are simply not drawn, therefore drawing performance is
enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
EDGE_VIS ON
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE segment_88
EDGE_WEIGHT the_weight
EDGE_WEIGHT refers to the width the edge of POLY polygons are drawn.
The EDGE_WEIGHT is a numeric value which should be greater than zero. The larger the number the greater the
edge weight.
Example:
OPEN 2020_configuration
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
FACE_COLOR_RGB 0 0 200
EDGE_COLOR_RGB 255 100 0
EDGE_WEIGHT 2.0
MARKER_VIS OFF
CLOSE 2020_configuration
FACE_COLOR the_color
Colors available are machine dependent but you are generally safe choosing any of the basic colors such as:
red
blue
yellow
green
white
black
purple
orange
Example:
OPEN a_poly
FACE_COLOR green
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE a_poly
FACE_COLOR_RGB red green blue
Sets the color of the edges of polygons contained within the segment to the specific RGB color.
Example:
OPEN a_blue_faced_polygon
FACE_COLOR_RGB 0 0 255
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE
FACE_TEXTURE filename
FACE_TEXTURE defines a bitmap graphics file which can be used to draw the face of polygons. Acceptable file
types are GIF and JPEG files.
If a polygon's face is too small for the size of the supplied bitmap file then the bitmap graphic is cropped
automatically.
If a polygon's face is too large for the size of the supplied bitmap file then the bitmap graphic is repeated
as necessary.
|
Example:
OPEN your_logo_polygon
FACE_TEXTURE your_logo.gif
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE
|
 |
FACE_TRANS value
FACE_TRANS sets the amount of transparency which should be applied to the faces of polygons within a particular
OPEN/CLOSE segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 is forces drawing of the polygon face completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your polygon face to be completely transparent then it is recommended you use the FACE_VIS
attribute instead of FACE_TRANS since usage of FACE_VIS enhances performance significantly. If you use a FACE_TRANS
value of 0.0, the faces are drawn (using CPU cycles), but they are not visible. If you use FACE_VIS OFF then the
faces are never drawn therefore speeding screen refresh times.
Example:
OPEN face_trans_example
FACE_TRANS 0.87
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE
FACE_VIS status
Sets the visibility of all polygon faces in a segment to either opaque or transparent. Note: If you use this
capability to set the faces to transparent then the faces are simply not drawn, therefore drawing performance is
enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
FACE_VIS ON
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
CLOSE segment_88
GIF_ALIGNMENT the_alignment
GIF_ALIGNMENT determines where the reference point for image files within a segment falls. Combinations of one
vertical and one horizontal alignment may be used.
- ^ Requests that the top always be aligned at the image reference point.
- V Requests that the bottom always be aligned at the image reference point.
- < Left edge
- > Right edge
- * Align along a center line, either up, down, left or right.
Examples of combinations:
- <* Use the center of the left edge for alignment
- <^ Use upper left corner for alignment
- ** Center both vertically and horizontally
- *^ Use the center of the top edge for alignment
Example:
OPEN segment_1
GIF_ALIGNMENT **
GIF_LL -117.445654 -33.89897 0.0 B my_filename.jpg
CLOSE
GIF_LL longitude latitude altitude above_or_below filename
GIF_LL displays the given bitmap graphics file at the provided longitude, latitude, and altitude location. The
user can specify if the bitmap graphics file should be drawn above all of the other graphics objects in the QGF
file or below all the other objects. If above is chosen then, depending on the transparency settings, some QGF
objects may be blocked out and not visible.
GIF_LL images do not scale as the user zooms in and out, rather the image, if visible remains the same size
as users zoom in and out.
The above_or_below variable should either be A for Above or B for Below.
The file should either be a GIF, JPEG, or PNG file.
The user can use GIF_ALIGNMENT to align the image along a particular side or corner if required.
Example:
OPEN segment_1
GIF_LL -117.445654 -33.89897 0.0 B my_filename.jpg
CLOSE
GIF_LL_TRANS value
GIF_LL_TRANS sets the amount of transparency which should be applied to bitmap images (GIF_LL) within a particular
OPEN/CLOSE segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 forces drawing of the image completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your image to be completely transparent then it is recommended you use the GIF_LL_VIS attribute
instead of GIF_LL_TRANS since usage of GIF_LL_VIS enhances performance significantly. If you use a GIF_LL_TRANS
value of 0.0, the images are drawn (using CPU cycles), but they are not visible. If you use GIF_LL_VIS OFF then
the images are never drawn therefore speeding screen refresh times.
Example:
OPEN gif_example
GIF_LL_TRANS 0.87
GIF_LL -117.445654 -33.89897 0.0 B my_filename.jpg
CLOSE
GIF_LL_VIS value
Sets the visibility of all GIF_LLs in a segment to either opaque or transparent. Note: If you use this capability
to set the faces to transparent then the faces are simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
GIF_LL_VIS ON
GIF_LL -117.445654 -33.89897 0.0 B my_filename.jpg
CLOSE
GIF_OFFSETS x_offset y_offset
GIF_OFFSETS augments the GIF_LL image drawing capability. A GIF_LL object draws an image file at a particular
longitude latitude position. The GIF_OFFSETS attribute offsets the drawing of the image by a X pixel and a Y pixel
amount from the image alignment location.
Example:
OPEN segment_88
GIF_OFFSETS 5 10
GIF_LL_VIS ON
GIF_LL -117.445654 -33.89897 0.0 B my_filename.jpg
CLOSE
GIF_PIXEL x_offset y_offset above_or_below filename
GIF_PIXEL draws a non-scaled bitmap image aligned at one of nine pre-defined locations on the map graphics.
The nine locations represent the corners the middle of the map graphics and the middle of each of the sides. Please
note the example shown below.
The x_offset specifies how far along the x axis the image should be offset in respect to it's alignment location.
The y_offset works in a similar manner along the y axis.
In most cases GIF_PIXEL should be used with the GIF_ALIGNMENT attribute for the best results. The GIF_ALIGNMENT
attribute determines which of the nine locations at which the image will be displayed.
In the example shown below the GIF_PIXEL is shown alligned to the lower right of the map graphics, or region
number nine. A small, barely perceptable Y offset of 4 pixels has been applied and other QGF objects will be drawn
over the image.
Negative offset values are allowed.
Example:
OPEN a_pixel_gif
GIF_PIXEL 0 4 B airporttools_image_small.gif
GIF_ALIGNMENT >V
CLOSE
|
 |
GIF_PIXEL_TRANS value
GIF_PIXEL_TRANS sets the amount of transparency which should be applied to bitmap images (GIF_PIXEL) within
a particular OPEN/CLOSE segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 forces drawing of the image completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your image to be completely transparent then it is recommended you use the GIF_PIXEL_VIS
attribute instead of GIF_PIXEL_TRANS since usage of GIF_PIXEL_VIS enhances performance significantly. If you use
a GIF_PIXEL_TRANS value of 0.0, the images are drawn (using CPU cycles), but they are not visible. If you use GIF_PIXEL_VIS
OFF then the images are never drawn therefore speeding screen refresh times.
Example:
OPEN gif_example
GIF_PIXEL_TRANS 0.87
GIF_PIXEL 0 4 B my_filename.jpg
CLOSE
GIF_PIXEL_VIS value
Sets the visibility of all GIF_PIXELs in a segment to either opaque or transparent. Note: If you use this capability
to set the faces to transparent then the faces are simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
GIF_PIXEL_VIS ON
GIF_PIXEL 0 4 B my_filename.jpg
CLOSE
GIF_SCALE upper_left_longitude upper_left_latitude lower_right_longitude lower_right_latitude
above_or_below filename
GIF_SCALE allows the user to provide a image file which is then aligned to two reference longitude/latitude
points. As the user zooms in and out the image is scaled to fit the either larger or smaller portion of the map
graphics.
The normal usage of the GIF_SCALE capability is to display aerial or satelite imagery which logically should
be located at a certain longitude latitude.
Usage of the GIF_SCALE capability has some caveats which require discussion:
Coordinate systems - By default Visual SIMMOD assumes a unit of longitude is the same on-screen pixel distance
as a unit of latitude. In a vast majority of places in the world this assumption is not true. But, excepting the
GIF_SCALE capability, the assumption normally is not a problem.
Normally aerial or satellite images do not make the same assumption of longitude and latitude units being equal.
Usually image files have no real concept of a coordinate system inherent within them. Therefore, images normally
are taken with a plan view orientation with a unit in the X and Y directions being equal.
Thus, to get the best results it is recommended that users of GIF_SCALE change their Visual SIMMOD map projection
to the provided INM projection. The INM projection displays map graphic items in a manner consistent with aerial
or satellite imagery.
Example:
OPEN segment_88
GIF_SCALE_VIS ON
GIF_SCALE -117.45344 44.955434 -116.32134 43.787775 B my_filename.jpg
CLOSE
GIF_SCALE_TRANS value
GIF_SCALE_TRANS sets the amount of transparency which should be applied to bitmap images (GIF_SCALE) within
a particular OPEN/CLOSE segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 forces drawing of the image completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your image to be completely transparent then it is recommended you use the GIF_SCALE_VIS
attribute instead of GIF_SCALE_TRANS since usage of GIF_SCALE_VIS enhances performance significantly. If you use
a GIF_SCALE_TRANS value of 0.0, the images are drawn (using CPU cycles), but they are not visible. If you use GIF_SCALE_VIS
OFF then the images are never drawn therefore speeding screen refresh times.
Example:
OPEN gif_example
GIF_SCALE_TRANS 0.87
GIF_SCALE -117.45344 44.955434 -116.32134 43.787775 B my_filename.jpg
CLOSE
GIF_SCALE_VIS value
Sets the visibility of all GIF_SCALEs in a segment to either opaque or transparent. Note: If you use this capability
to set the faces to transparent then the faces are simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
GIF_SCALE_VIS ON
GIF_SCALE -117.45344 44.955434 -116.32134 43.787775 B my_filename.jpg
CLOSE
INK longitude latitude altitude
INK is used to display polylines.
Contiguous INK entries are treated as one polyline. To break the current polyline and start another polyline
use RESTART_INK.
You may use LINE_WEIGHT, LINE_COLOR, and LINE_STROKE to apply attributes to a logical set of INK (polyline)
entries.
Important note: Unless you specify "MARKER_VIS OFF" in the segment containing your polylines the polylines
will be drawn with a marker drawn at the intersection of each line pair as well as at the end of each unmatched
line.
Example #1:
OPEN pline_1
INK -81.1797 26.446 0.0
INK -81.1756 26.447 0.0
INK -81.1775 26.448 0.0
INK -81.17275 26.448 0.0
RESTART_INK
LINE_COLOR_RGB 200 200 200
MARKER -81.1743 26.4489 0.0
MARKER_SYMBOL <*|
MARKER_SIZE 9.0
MARKER_COLOR_RGB 20 200 200
TEXT_COLOR_RGB 20 200 200
TEXT_ALIGNMENT <*
TEXT_OFFSETS 6 0
TEXT -81.1743 26.4489 0.0 Polylines:
CLOSE
OPEN pline_2
LINE_WEIGHT 2.0
INK -81.1797 26.448 0.0
INK -81.1756 26.449 0.0
INK -81.1775 26.45 0.0
INK -81.17275 26.45 0.0
RESTART_INK
LINE_COLOR_RGB 20 220 220
MARKER_VIS OFF
CLOSE
|
 |
Example #2:
OPEN pline_209
LINE_WEIGHT 2.0
INK -81.1797 26.448 0.0
INK -81.1756 26.449 0.0
INK -81.1775 26.45 0.0
INK -81.17275 26.45 0.0
RESTART_INK
INK -81.1797 26.446 0.0
INK -81.1756 26.447 0.0
INK -81.1775 26.448 0.0
INK -81.17275 26.448 0.0
RESTART_INK
LINE_COLOR_RGB 20 220 220
MARKER_VIS OFF
CLOSE
|
 |
INK_VIS status
Sets the visibility of all polylines in a segment to either opaque or transparent. Note: If you use this capability
to set the polylines to transparent then the polylines are simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_98
INK_VIS ON
INK -81.1797 26.448 0.0
INK -81.1756 26.449 0.0
INK -81.1775 26.45 0.0
INK -81.17275 26.45 0.0
RESTART_INK
CLOSE segment_98
LINE begin_long begin_lat begin_alt begin_long begin_lat begin_alt
Use the LINE object to create a straight line between two latitude, longitude, and altitude points.
Example:
OPEN a_line
LINE -117.45455 45.67676 33.466 -118.435345 46.234343 35.676767
CLOSE a_line
LINE_COLOR the_color
Colors available are machine dependent but you are generally safe choosing any of the basic colors such as:
red
blue
yellow
green
white
black
purple
orange
Example:
OPEN a_line
LINE_COLOR green
LINE -117.45455 45.67676 33.466 -118.435345 46.234343 35.676767
CLOSE a_line
LINE_COLOR_RGB red green blue
Sets the color of the lines contained within the segment to the specific RGB color.
Example:
OPEN a_line_blue
LINE_COLOR_RGB 0 0 255
LINE -117.45455 45.67676 33.466 -118.435345 46.234343 35.676767
CLOSE a_line
LINE_STROKE value [ value , value, ... ]
The LINE_STROKE attribute very specifically describes the pattern displayed by the lines within an OPEN/CLOSE
segment.
Each floating point value argument to the attribute describes the length of a stroke. The initial floating point
value describes the visible stroke's length with the second value describing the non-visible (gap in the line)
stroke. If additional visible and invisible strokes are desired in the pattern then the user need only add additional
floating point values to describe their stroke lengths.
The pattern, as described, is repeated automatically by Visual SIMMOD along the length of the line.
Example:
OPEN line_3
LINE_STROKE 9.0 9.0 4.0 18.0
LINE_WEIGHT 1.0
LINE -81.18557483 26.44375897 0.0 -81.17335401 26.44375897 0.0
LINE_COLOR_RGB 0 255 255
CLOSE
|
 |
LINE_TRANS value
LINE_TRANS sets the amount of transparency which should be applied to lines within a particular OPEN/CLOSE segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 is forces drawing of the line completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your lines to be completely transparent then it is recommended you use the LINE_VIS attribute
instead of LINE_TRANS since usage of LINE_VIS enhances performance significantly. If you use a LINE_TRANS value
of 0.0, the lines are drawn (using CPU cycles), but they are not visible. If you use LINE_VIS OFF then the lines
are never drawn therefore speeding screen refresh times.
Example:
OPEN line_trans_example
LINE_TRANS 0.4
LINE -117.45455 45.67676 33.466 -118.435345 46.234343 35.676767
CLOSE
LINE_VIS status
Sets the visibility of all lines in a segment to either opaque or transparent. Note: If you use this capability
to set the lines to transparent then the lines are simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
LINE_VIS ON
LINE -81.18557483 26.44375897 0.0 -81.17335401 26.44375897 0.0
CLOSE segment_88
LINE_WEIGHT the_weight
The weight is a numeric value which should be greater than zero. The larger the number the greater the line
weight.
Example:
OPEN line_3
LINE_WEIGHT 1.0
LINE -81.18557483 26.44375897 0.0 -81.17335401 26.44375897 0.0
CLOSE
MARKER longitude latitude altitude
The MARKER object draws a single graphic symbol at at particular latitude, longitude, and altitude location
on the map graphics. The marker(s) may be represented by any one of approximately fifty differing marker symbols.
Markers may differ in size and color.
Example:
OPEN segment_88
MARKER_VIS ON
MARKER_COLOR_RGB 200 200 200
MARKER -81.28557483 26.94375897 0.0
CLOSE segment_88
MARKER_COLOR the_color
Colors available are machine dependent but you are generally safe choosing any of the basic colors such as:
red
blue
yellow
green
white
black
purple
orange
Example:
OPEN a_marker
MARKER_COLOR green
MARKER -117.45455 45.67676 33.466
CLOSE
MARKER_COLOR_RGB red green blue
Sets the color of the markers contained within the segment to the specific RGB color.
Example:
OPEN a_marker_blue
MARKER_COLOR_RGB 0 0 255
MARKER -117.45455 45.67676 33.466
CLOSE a_marker
MARKER_SYMBOL the_symbol
Sets the shape used to draw the marker symbol.
FIX A triangle representing a fix
TACAN A TACAN symbol
VOR A VOR symbol
VORDME A VORDME symbol
VORTAC A VORTAC symbol
0 (a zero, or an 'oh') An open circle
* A star of some sort
X An 'x' mark
+ A '+' mark
. A dot
(*) A filled in circle
@ A filled in circle
(.) An open circle with a dot in the center
(+) An open circle with a plus in the center
(x) An open circle with an X in the center
(0) An open circle with another circle inside of it
[] A hollow box
[*] A filled in box
[.] A hollow box with a dot in the center
[x] A box with an X in the center
<> A hollow diamond
<*> A filled in diamond
<.> A hollow diamond with a dot in the center
<+> A hollow diamond with a plus in the center
/\ A hollow up pointing triangle
/*\ A filled in triangle
/.\ A hollow triangle with a dot in the center
|> A hollow right triangle
|*> A filled in right triangle
|.> A hollow right triangle with a dot in the center
<| A hollow left triangle
<*| A filled in left triangle
<.| A hollow left triangle with a dot in the center
\/ A hollow down pointing triangle
\*/ A filled in down pointing triangle
\./ A hollow down pointing triangle with a dot in the center
# A pound sign
++ A wide plus sign
/ \ An upward triangle with an open bottom. Note the space between / and \
/_\ A hollow triangle that is slightly taller than /\
/__\ A hollow triangle that is slightly wider than / \
/_^_\ Two hollow triangles stacked on top of one another
| A vertical bar
/ A left half of an upward arrow
\ A right half of an upward arrow
Y A 'Y' character
Z A 'Z' character
Example:
OPEN a_circle_marker
MARKER_SYMBOL 0
MARKER_COLOR_RGB 0 0 255
MARKER -117.45455 45.67676 33.466
CLOSE a_circle_marker
MARKER_SIZE the_size
The size is a numeric value which should be greater than zero. The larger the number the greater the marker's size.
Example:
OPEN segment_88
MARKER_VIS ON
MARKER_SIZE 10.5
MARKER_COLOR_RGB 200 200 200
MARKER -81.28557483 26.94375897 0.0
CLOSE segment_88
MARKER_TRANS value
MARKER_TRANS sets the amount of transparency which should be applied to markers within a particular OPEN/CLOSE
segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 is forces drawing of the marker completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your markers to be completely transparent then it is recommended you use the MARKER_VIS
attribute instead of MARKER_TRANS since usage of MARKER_VIS enhances performance significantly. If you use a MARKER_TRANS
value of 0.0, the markers are drawn (using CPU cycles), but they are not visible. If you use MARKER_VIS OFF then
the markers are never drawn therefore speeding screen refresh times.
Example:
OPEN marker_trans_example
MARKER_TRANS 0.4
MARKER -117.45455 45.67676 33.46
CLOSE
MARKER_VIS status
Sets the visibility of all markers in a segment to either opaque or transparent. Note: If you use this capability
to set the markers to transparent then the markers are simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_98
MARKER_VIS ON
MARKER -81.1797 26.448 0.0
MARKER -81.1756 26.449 0.0
MARKER -81.1775 26.45 0.0
MARKER -81.17275 26.45 0.0
CLOSE segment_98
MESH longitude latitude longitude_increment latitude_increment rows columns
MESH allows the user to define a rectangular grid where each grid element represents an index value to a particular
color. The normal usage of this capability is to draw terrain formations. It can also be useful for drawing population
densities, emissions levels, and other statistics which are normally georeferenced.
MESH should always be used in conjunction with MESH_COLOR and MESH_POINT. MESH entries that do not have corresponding
MESH_COLOR and MESH_POINT entries are ignored.
MESH provides a memory efficient mechanism to display datasets which could be represented by multiple POLY entries.
MESH uses approximately one-quarter the memory compared to the same data represented by separate POLY entries.
Potential MESH users should review MESH_AT since MESH_AT can be easier to comprehend
and manage.
There should only be one MESH entry in a segment.
The example shown below defines a four by four mesh.
Example:
OPEN a_mesh
TEXT -81.18800 26.452504 0.001 Meshes:
TEXT_COLOR_RGB 255 255 255
MESH -81.18800 26.452304 0.001 -0.001 4 4 15
MESH_COLOR 255 0 0 0 255 0 0 0 255
MESH_COLOR 200 0 0 0 250 0 0 0 200
MESH_COLOR 150 0 0 0 150 0 0 0 150
MESH_COLOR 100 0 0 0 100 0 0 0 100
MESH_COLOR 255 255 0 0 255 255 255 0 255
MESH_POINT 1 2 3 4
MESH_POINT 5 6 7 8
MESH_POINT 9 10 12 13
MESH_POINT 6 4 7 8
MESH_VIS ON
CLOSE
|
 |
MESH_COLOR red green blue [ red green blue .... ]
MESH_COLOR provides the color which is associated with a particular index value found in MESH_POINT.
Multiple MESH_COLOR entries may be found in a single segment and each time a new MESH_COLOR entry is found the
implicit index values are incremented accordingly and the color(s) are then associated with that index.
Please see the MESH description to see an example of MESH_COLOR.
MESH_POINT color_index1 color_index2 ... color_indexN
MESH_POINT specifies the color index at the Nth index of the MESH grid.
You may enter as many indices per MESH_POINT record as you desire but the total number of values within a segment
must equal the number of rows multiplied by the number of columns in the associated MESH entry for this segment.
MESH_POINT color indexes are zero based meaning that the very first MESH_COLOR set in a segment is considered
index zero, the second color entry in the MESH_COLOR sets is considered index zero and so on. Thus, in the example
shown, which has fifteen MESH_COLOR colors defined, the lowest index which can be used in a MESH_POINT line is
zero and the highest index is fourteen.
Please see the MESH description to see an example of MESH_POINT.
MESH_AT longitude latitude longitude_increment latitude_increment rows columns
MESH_AT allows the user to define a rectangular grid where each grid element represents an altitude value in
a particular color. The normal usage of this capability is to draw terrain formations. It can also be useful for
drawing population densities, emissions levels, and other statistics which are normally georeferenced.
MESH_AT should always be used in conjunction with MESH_COLOR_AT and MESH_POINT_AT. MESH_AT entries that do not
have corresponding MESH_COLOR_AT and MESH_POINT_AT entries are ignored.
MESH_AT provides a memory efficient mechanism to display datasets which could be represented by multiple POLY
entries. MESH_AT uses approximately one-quarter the memory compared to the same data represented by separate POLY
entries.
MESH_AT allows the user to use real data values in the MESH_POINT_AT enties whereas MESH and MESH_POINT require
unintuitive indexes into the colors matrix.
There should only be one MESH_AT entry in a segment.
The example shown below defines a four by four mesh.
Example:
OPEN a_mesh
TEXT -81.18800 26.452504 0.001 Meshes:
TEXT_COLOR_RGB 255 255 255
MESH_AT -81.18800 26.452304 0.001 -0.001 4 4
MESH_COLOR_AT F 0 255 0 0
MESH_COLOR_AT F 500 0 255 0
MESH_COLOR_AT F 1000 0 0 255
MESH_COLOR_AT F 1500 200 0 0
MESH_COLOR_AT F 2000 0 250 0
MESH_COLOR_AT F 2500 0 0 200
MESH_COLOR_AT F 3000 150 0 0
MESH_COLOR_AT F 3500 0 150 0
MESH_COLOR_AT F 4000 0 0 150
MESH_COLOR_AT F 4500 100 0 0
MESH_COLOR_AT F 5000 0 100 0
MESH_COLOR_AT F 5500 0 0 100
MESH_COLOR_AT F 6000 255 255 0
MESH_COLOR_AT F 6500 0 255 255
MESH_COLOR_AT F 7000 255 0 255
MESH_POINT_AT 1000 2899 3775 4232
MESH_POINT_AT 5200 6129 7888 6900
MESH_POINT_AT 5990 1056 4412 2313
MESH_POINT_AT 3686 3384 2300 3800
MESH_VIS ON
CLOSE
|
 |
MESH_COLOR_AT inherit_colors altitude red green blue
MESH_COLOR_AT provides the color which is associated with a particular altitude.
MESH_COLOR_AT also provides the inherit_colors argument which allows the colors to be inherited from a parent
segment. Specify T (true) in this field if you would like the color settings to be inherited for this segment's
MESH_AT entries. If T is specified the remainder of the fields will be ignored.
Please see the MESH_AT description to see an example of MESH_COLOR_AT.
MESH_POINT_AT altitude1 altitude2 ... altitudeN
MESH_POINT_AT specifies the altitude (or population, emissions level, etc.) that is present at the Nth index
of the MESH_AT grid.
You may enter as many values per MESH_POINT_AT record as you desire but the total number of values within a
segment must equal the number of rows multiplied by the number of columns in the associated MESH_AT entry for this
segment.
Please see the MESH_AT description to see an example of MESH_POINT_AT.
POLY longitude latitude altitude
POLY is used to display polygons.
Contiguous POLY entries are treated as one polygon. To break the current polygon and start another polygon use
RESTART_POLY.
You may use:
to describe a logical set of POLY (polygon) entries.
Example:
OPEN polygon_1
POLY -81.1651 26.4581 0.0
POLY -81.1676 26.4561 0.0
POLY -81.1655 26.4548 0.0
POLY -81.1637 26.4548 0.0
POLY -81.1623 26.4569 0.0
RESTART_POLY
FACE_COLOR_RGB 0 0 100
EDGE_COLOR_RGB 255 0 0
MARKER_COLOR RED
MARKER_SIZE 9.0
CLOSE
OPEN polygon_2
POLY -81.1651 26.4531 0.0
POLY -81.1676 26.4511 0.0
POLY -81.1655 26.4498 0.0
POLY -81.1637 26.4498 0.0
POLY -81.1623 26.4519 0.0
RESTART_POLY
FACE_COLOR_RGB 0 0 200
EDGE_COLOR_RGB 255 100 0
EDGE_WEIGHT 2.0
MARKER_VIS OFF
CLOSE
OPEN polygon_3
POLY -81.1651 26.4481 0.0
POLY -81.1676 26.4461 0.0
POLY -81.1655 26.4448 0.0
POLY -81.1637 26.4448 0.0
POLY -81.1623 26.4469 0.0
RESTART_POLY
FACE_COLOR_RGB 0 0 200
EDGE_COLOR_RGB 255 100 0
EDGE_WEIGHT 2.0
MARKER_SYMBOL /*\
MARKER_COLOR GREEN
MARKER_SIZE 3.0
FACE_VIS OFF
CLOSE
|
 |
RESTART_INK
RESTART_INK is used to break the current polyline and to start another. It is NOT necessary to start a sole
polyline with a RESTART_INK.
Example:
OPEN segment_98
INK_VIS ON
INK -81.1797 26.448 0.0
INK -81.1756 26.449 0.0
INK -81.1775 26.45 0.0
INK -81.17275 26.45 0.0
RESTART_INK
INK -82.6797 27.848 0.0
INK -82.3756 24.249 0.0
INK -82.8775 28.95 0.0
INK -82.47275 24.55 0.0
RESTART_INK
CLOSE segment_98
RESTART_POLY
RESTART_POLY is used to break the current polygon and to start another. It is NOT necessary to start a sole
polygon with a RESTART_POLY.
Example:
OPEN segment_98
POLY_VIS ON
POLY -81.1797 26.448 0.0
POLY -81.1756 26.449 0.0
POLY -81.1775 26.45 0.0
POLY -81.17275 26.45 0.0
RESTART_POLY
POLY -82.4797 28.448 0.0
POLY -82.7756 27.449 0.0
POLY -82.9775 24.45 0.0
POLY -82.37275 25.45 0.0
RESTART_POLY
CLOSE segment_98
TEXT longitude latitude altitude whatever text you want
TEXT is used to display one line of text which can have embedded spaces and punctuation but no newlines.
Example:
OPEN text_segment
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE
TEXT_ALIGNMENT the_alignment
TEXT_ALIGNMENT determines in each section of text where the reference point falls. Combinations of one vertical
and one horizontal alignment may be used.
- ^ Requests that the top always be aligned at the specified elevation
- V Requests that the bottom always be aligned at the specified elevation
- < Left edge
- > Right edge
- * Align along a center line, either up, down, left or right.
Examples of combinations:
- <* Use the center of the left edge for alignment
- <^ Use upper left corner for alignment
- ** Center both vertically and horizontally
- *^ Use the center of the top edge for alignment
Example:
OPEN Text_buffer_3
TEXT_FONT arial
TEXT_COLOR_RGB 255 100 255
TEXT_POINT_SIZE 10
MARKER_COLOR_RGB 0 100 255
OPEN Text_left_upper
TEXT_ALIGNMENT <^
TEXT -81.19350 26.460032 0.0 Left Upper Justification
MARKER -81.19350 26.460032 0.0
CLOSE
OPEN Text_center_upper
TEXT_ALIGNMENT *^
TEXT -81.19350 26.4595032 0.0 Center Upper
MARKER -81.19350 26.459532 0.0
CLOSE
OPEN Text_right_upper
TEXT_ALIGNMENT >^
TEXT -81.193500 26.459000 0.0 Right Upper
MARKER -81.193500 26.459000 0.0
CLOSE
OPEN Text_left_center
TEXT_ALIGNMENT <*
TEXT -81.193500 26.4585 0.0 Left Center
MARKER -81.193500 26.4585 0.0
CLOSE
OPEN Text_center_center
TEXT_ALIGNMENT **
TEXT -81.193500 26.4580 0.0 Center Center
MARKER -81.193500 26.4580 0.0
CLOSE
OPEN Text_right_center
TEXT_ALIGNMENT >*
TEXT -81.193500 26.4575 0.0 Right Center
MARKER -81.193500 26.4575 0.0
CLOSE
OPEN Text_left_lower
TEXT_ALIGNMENT <V
TEXT -81.19350 26.45700 0.0 Left Lower Justification
MARKER -81.19350 26.4570 0.0
CLOSE
OPEN Text_center_lower
TEXT_ALIGNMENT *V
TEXT -81.19350 26.4565 0.0 Center Lower
MARKER -81.19350 26.4565 0.0
CLOSE
OPEN Text_right_lower
TEXT_ALIGNMENT >V
TEXT -81.193500 26.4560 0.0 Right Lower
MARKER -81.193500 26.456 0.0
CLOSE
CLOSE
|
 |
TEXT_COLOR the_color
Colors available are machine dependent but you are generally safe choosing any of the basic colors such as:
red
blue
yellow
green
white
black
purple
orange
Example:
OPEN a_text_object
TEXT_COLOR green
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE
TEXT_COLOR_RGB red green blue
Sets the color of the text contained within the segment to the specific RGB color.
Example:
OPEN blue_text
TEXT_COLOR_RGB 0 0 255
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE
TEXT_FONT the_font
Sets the text font. Please refer to your computer system to determine the fonts available on your computer.
Note that a font that is on your computer is not guaranteed to be available on a different computer. Thus it
is wise to choose industry standard fonts such as Times Roman.
Example:
OPEN text_segment
TEXT_FONT Courier
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE
TEXT_SIZE the_point_size
The size of the text in points, the larger the number the larger the size of the characters drawn.
Example:
OPEN text_segment
TEXT_FONT Courier
TEXT_SIZE 14
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE
TEXT_OFFSETS x_pixels y_pixels
Text offsets position drawn text X number of pixels to the left or right of the horizontal alignment point and
Y number of pixels above or below the vertical alignment point.
Both positive and negative offsets are legal.
Text offsets are useful when you have a known latitude longitude position you want your text to be drawn at
but you do not want the text to "cover-up" a marker, a node, a link, a runway, or other similar feature
at the same latitude longitude location.
Example:
|
Example without offsets:
Note that the text and the marker have exactly the same longitude latitude position and how the text overlaps
with the triangular marker.
OPEN text_segment
MARKER -81.1743 26.4489 0.0
MARKER_SYMBOL <*|
MARKER_SIZE 9.0
MARKER_COLOR_RGB 20 200 200
TEXT_COLOR_RGB 20 200 200
TEXT_ALIGNMENT <*
TEXT -81.1743 26.4489 0.0 Polylines:
CLOSE
|
 |
|
Example with offsets:
Note that the text and the marker have exactly the same longitude latitude position and how the text does not
overlap with the triangular marker.
OPEN text_segment
MARKER -81.1743 26.4489 0.0
MARKER_SYMBOL <*|
MARKER_SIZE 9.0
MARKER_COLOR_RGB 20 200 200
TEXT_COLOR_RGB 20 200 200
TEXT_ALIGNMENT <*
TEXT_OFFSETS 6 0
TEXT -81.1743 26.4489 0.0 Polylines:
CLOSE
|
 |
TEXT_STYLE the_style
The style in which the text is rendered. The legal values are:
- NORMAL
- BOLD
- ITALIC
- BOLD_ITALIC
Example:
OPEN text_segment
TEXT_FONT Courier
TEXT_STYLE BOLD
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE
TEXT_TRANS value
TEXT_TRANS sets the amount of transparency which should be applied to the text objects within a particular OPEN/CLOSE
segment.
The value specified should range between 0.0 and 1.0. A value of 1.0 is forces drawing of the text completely
opaque and a value of 0.0 is completely transparent (invisible).
Note: If you desire your text to be completely transparent then it is recommended you use the TEXT_VIS attribute
instead of TEXT_TRANS since usage of TEXT_VIS enhances performance significantly. If you use a TEXT_TRANS value
of 0.0, the text is drawn (using CPU cycles), but it is not visible. If you use TEXT_VIS OFF then the text is never
drawn therefore speeding screen refresh times.
Example:
OPEN text_trans_example
TEXT_TRANS 0.87
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE
TEXT_VIS status
Sets the visibility of all text objects in a segment to either opaque or transparent. Note: If you use this
capability to set the text to transparent then the text is simply not drawn, therefore drawing performance is enhanced.
Status is either ON or OFF
Example:
OPEN segment_88
TEXT_VIS ON
TEXT -80.67676 22.5656 9.9435 Proposed VORTAC
TEXT -80.94531 23.7567 10.0454 Proposed FIX
CLOSE segment_88
|