Group Shapes
Groups the shapes in a shapefile.
ArcGIS Reference
Parameters
- input shapefile
- The input shapefile that contains the shapes to group.
- group by column
- The column in the data table contains the value on which to combine shapes.
- group type
- The new shape type to create.
- value type
- The method for selecting the value to use for each variable in the new data table.
- ouput shapefile
- The ouput shapefile that will contain grouped shapes.
- sort by column
- The column from the data table that contains the values on which to sort the shapes.
- decimal places for averages
- The number of decimal places to which to round numbers.
Code Reference
- uiGroup.group(inName, groupBy, groupType, valueType, outName, sortBy, decimalPlaces)
Groups shapes in a shapefile using the specified parameters.
Arguments : - inName
The input shapefile name.
- groupBy
The data column to group on.
- groupType
The type of grouping to create.
- valueType
The type of value to place in the final ouput.
- outName
The output shapefile name.
- sortBy (optional)
A column to sort the data by before grouping.