Name

input — states input file fields for area and origin

Synopsis

Content Model


	    <input> = EMPTY

	    

Attributes

NameTypeDefault
areafield name containing area info Required
blockfield name containing block # Required
agefield name containing age info Required
excludeexpression of records to eliminateOptional

Description

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'"/>
	  

Parents

These elements contain input: ForestModel.

Children

There are no other elements in input (empty element).

Attributes

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.

See Also

Examples

  <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.