input
<input> = EMPTY
Name | Type | Default |
---|---|---|
area | field name containing area info | Required |
block | field name containing block # | Required |
age | field name containing age info | Required |
exclude | expression of records to eliminate | Optional |
The input element states the input values for the block, area and origin. The input element must appear in the correct order of elements allowed in the ForestModel element. The element itself is EMPTY and therefore contains no other elements. All attribute values are expressions that are evaluated against each record being processed.
For example,
<input block="BLOCK" area="area()/10000" age="AGE" exclude="MU ne '754'"/>
These elements contain input: ForestModel.
There are no other elements in input (empty element).
area
An expression that derives the area of the fragment.
block
An expression that derives the block label. All fragments with the same block label will be combined.
age
An expression that derives the age of the fragment in years.
exclude
The exclude
attribute can be used to
eliminate unwanted records in the Patchworks dataset. The
expression must evaluate to a boolean (true or false) value.
When records are read they are tested against this
expression, if they satisfy the expression they are thrown
away and not tested against any other select statements.
<input area="AREA" age="ORIGIN" block="GRIDCODE" />
In the above example the values for area, age and block label are derived from the corresponding columns in the shapefile.
<input area="area()/10000" age="AGE" block="CLUSTER" />
In this example the fragment area is computed from the shape and then divided by 10,000.