LCC XML Document Comments - USEPA/ATtILA2 GitHub Wiki

Comments (optional)

XML documents can contain commented characters for notes and brief descriptions of sections. Comments are delimited by <!-- and end with the first occurrence of -->.

The Supplied Land Cover Classification schemas that come with ATtILA come with a standardized set of comments (see below). They provide information to the user regarding the contents of the following elements: <coefficients>, <values>, and <classes>. These standardized comments are also inserted when LCC XML documents are created with the Land Cover Classification Editor. Although comments are supplied by the program, they are unnecessary for the functioning of the XML document, and can be deleted. Any LCC XML document created by the user outside of the Land Cover Classification Editor can omit comments.

<\!--
	* The coefficients node contains coefficients to be assigned to values.

	* REQUIRED ATTRIBUTES
	* Id - text, unique identifier
	* Name - text, word or phrase describing coefficient
	* fieldName - text, name of field to be created for output
	*	- must conform to the field naming conventions dictated by the output database system
	* apMethod - text, "P" or "A", designates "P"ercentage or per unit "A"rea calculation routine
--\>

<\!-- 
	* The values node defines the full set of values that can exist in a land cover raster.
	* REQUIRED ATTRIBUTES
	* Id - integer, raster code
	* 
	* OPTIONAL ATTRIBUTES
	* Name - text, word or phrase describing value
	* excluded - boolean, "true" or "false" or "1" or "0"
	*	- used to exclude values from effective area calculations
	*	- excluded=false is the default
	
	* A value element can optionally contain one or more coefficient elements
	
	* REQUIRED COEFFICIENT ATTRIBUTES
	* Id - text, must match an Id attribute from a coefficients node element
	* value - decimal, weighting/calculation factor
--\>

<\!--
	* The classes node contains values from a land cover raster grouped into one or more classes.
	
	* REQUIRED ATTRIBUTES
	* Id - text, unique identifier, also used for automated generation of output field name
	*	- must conform to the field naming conventions dictated by the output database system
	
	* OPTIONAL ATTRIBUTES
	* Name - text, word or phrase describing class
	* filter - text, a string of one or more tool name abbreviations separated by a ";"
	*	- possible abbreviations are: caem, flcp, flcv, lcosp, lcp, np, plcv, pm, rlcp, and splcp
	*	- used to exclude the class from the selectable classes in the tool's GUI
	* xxxxField - text, overrides ATtILA-generated field name for output
	*	- where xxxx equals a tool name abbreviation
	*	- possible abbreviations are: caem, flcp, flcv, lcosp, lcp, rlcp, and splcp
	*	- a separate xxxxField attribute can exist for each tool
	*	- must conform to the field naming conventions dictated by the output database system
	
	* A class can contain either values or classes but not both types.
	* Value elements contain only an Id attribute which refers to a value in a raster.
	* Values tagged as excluded="true" in the values node should not be included in any class. 
--\>

arrow_up Top of the page     |     arrow_left Classes Element     |     arrow_right XML Validation


⚠️ **GitHub.com Fallback** ⚠️