Name

Dissolve — A simple polygon dissolve utility

Synopsis

Synopsis

ca.spatial.gis.vector.Dissolve {in} {out} {select} {dissolveItem}
      

Arguments

NameTypeDefault
inname of a coverage or shape fileNone
outname of a polygon shape fileNone
selectCriteria of selecting polygons to be split None
dissolveIteman expression to be used as a dissolve criteriaNone

Description

The Dissolve program will copy the specified coverage or shape file and dissolve those polygons that meet the selection criteria. Any polygons that do not meet the selection criteria will be ignored.

Arguments

in

The name of a polygon coverage or shapefile to be dissolved.

out

The name of the shape file to which the polygons will be written. Do not specify the ".shp" extension

select

An expression to describe the polygons that are to be included in the dissolve process. Polygons that do not match the expression are excluded. This expression may be blank, in which case all polygons will be selected.

dissolveItem

The expression to be used as a dissolve criteria.

Processing Notes

When run from the comand line, selection arguments must be enclosed by quotations (" ").

See Also

Polygon Splitter

Examples

      java -jar patchworks.jar ca.spatial.gis.vector.Dissolve fragments.shp
           gamma.shp "CLUSTER ne 0" "CLUSTER"
    

In this example the fragments.shp file will be dissolved using common values from the field named "CLUSTER". Polygons that do not pass the criteria "CLUSTER ne 0" will be dropped. The output of the dissolve process will be written to the output file named "gamma.shp"