See Also: ADDANNO, GRDVEC, GRDPOL, ACE
Name Prompt Count Type FILE Database File Name 1-64 Char DBOC Database Output Channel List 1-3 Int DBVS Database Vector Segment 1-1024 Int DBSL Database Segment containing RST 1 Int QUERY Vector Query Selection Criteria 1-64 Char
EASI>FILE="/pci/demo/irvine.pix"
EASI>DBOC=1 | Output to channel 1. EASI>DBOC=1,2,3 | Output to channels 1,2,3 Only 1 or 3 channels may be specified.
EASI>DBVS=2 | Uses vector segment 2.
EASI>QUERY="attribute < 10"The program will only rasterize vectors which have a attribute values of less than 10.
The following is the grammar.
EXPRESSION: PRIMARY
not (EXPRESSION)
(EXPRESSION) BINARY_OP (EXPRESSION)
PRIMARY: FIELDNAME OPERATOR VALUE
OPERATOR: =
<=
>=
<
>
BINARY_OP: and
or
VALUE: number
"string"
FIELDNAME: valid fieldname of the vector segment or "ShapeId"
Examples:
attribute = 1
not (attribute = 1)
(attribute < 12 and attribute > 4) or (group < 2)
An RST is used to attach complex rendering styles, such as line styles, polygon fill, fill patterns, and rendering points as text or symbols. It is the central data structure of the ACE software line, and can also be produced with the RST editor within ImageWorks. To learn more about RST's please review the ACE documentation.
The VECRST program takes one or more vector segments (DBVS) as input. Each of these is rasterized. Each layer is read in turn, and is rendered into the raster channel. Note that the vector priorities within the RST are only considered within a single vector layer. A low priority item in the second segment in DBVS will be written over a higher priority item i the first segment in DBVS.
The RST is read from a vector segment (DBSL). All vectors in this segment will be ignored, unless they are also selected in DBVS. A single RST is applied to all vector layers.
Either one, or three raster channels (DBOC) should be selected for output. If one is given the vectors will be rendered in greyscale format, otherwise they will be treated as a red, green, and blue channel.
The QUERY parameter can be used to select specific set of vectors within the set of vector layers selected.
The ADDANNO.EAS script is an example of using VECRST to burn text into an image.
Create a rasterise vector with features assigned from an attached RST. Assign the RST attributes to all the vector segments in segment 25 and output the results to an 8 bit channel. EASI>FILE="Irvine.pix | File Name EASI>DBOC=8 | Database Output Channel List EASI>DBVS=25 | Database Vector Segment EASI>DBSL=25 | Database Segment containing RST EASI>QUERY="attribute > 0 | Rasterize all RST vectors