Aggregate clusters of polygons.  AREAAGGREGATE2 is similar to the ARC AREAAGGREGATE command, but does not aggregate polygons that have different attributes.  It aggregates polygons with like attributes (using the AREAAGGREGATE command), and then appends together the aggregated polygons to create the output polygon coverage.



AREAAGGREGATE2 <in_cover> <out_cover> <cellsize> <distance> {NO_ORTHOGONAL | ORTHOGONAL} {aggregate_item} {hierarchy_table} {dangle_length} {fuzzy_tolerance}




<in_cover> - the input polygon coverage.


<out_cover> - the name for the output polygon coverage.


<cellsize> - the grid cell size used by the AREAAGGREGATE command to aggregate polygons with like attributes.


<distance> - the aggregate distance used by the AREAAGGREGATE command.


{NON_ORTHOGONAL | ORTHOGONAL} - how corners are handled by the AREAAGGREGATE command.


{aggregate_item} - the item in the <in_cover> PAT that determines which polygons can be aggregated.


Polygons with like {aggregate_item} values can be aggregated.  Polygons with different {aggregate_item} values can't be aggregated.


If {aggregate_item} is not specified, then by default any polygons can be aggregated.


{hierarchy_table} - the INFO table that identifies the hierarchy of the {aggregate_item} values.


The {hierarchy_table} is used in the event that there is overlap between the polygons created by aggregation.


This table must contain the {aggregate_item} and a numeric item named RANK.


Where polygons overlap the polygon with the lowest RANK value takes precedence.


If the {hierarchy_table} is not specified, then by default precedence is determined arbitrarily.


{dangle_length} - the minimum length allowed for dangling arcs in the <out_cover>.


Defaults to the dangle length of the <in_cover> if not specified.


{fuzzy_tolerance} - the minimum distance between arc vertices in the <out_cover>.


Defaults to the fuzzy tolerance of the <in_cover> if not specified.





AREAAGGREGATE2 runs from the ARC module of ArcInfo.





Arc: &run areaaggregate2 usage

Usage: AREAAGGREGATE2 <in_cover> <out_cover> <cellsize> <distance> {NON_ORTHOGONAL | ORTHOGONAL} {aggregate_item} {hierarchy_table} {dangle_length} {fuzzy_tolerance}


1)  To aggregate topographic features, such as lava flows, sand dunes, and moraines:


Arc: &run areaaggregate2 topo_poly topo2_poly 3 50 # cff topo_hierarchy