Go to ET GeoWizards 12.x User Guide
Sort Shapes
Go to ToolBox
Implementation
Sorts the features of a feature layer according to user specified fields and order
methods.
Inputs:
- A feature layer
- Fields to be used for sorting
- Sort order for each field
Outputs:
- New feature class sorted according the selected fields
How to use:
- Select layer to be sorted and location for the new feature class
- A list of all the fields in the layer is presented in a list box. Using the arrow
buttons move the fields to be used for sorting to the sort fields list box
- Use the Up and Down buttons to arrange the fields in the order they will be used in the
sorting process. Click the Next button
- For each field select sort order (Ascending or Descending). Clicking on the cell with
the sort order toggles the method
- Click the Finish button
Notes:
- The fields are used for sorting in the order they have in the selected fields list box
- The function might be very useful:
- if there are small polygons hidden beneath larger ones. In this case sorting descending
by the area will show all the polygons
- if point data has to be displayed using Pie charts. If the points are close to each
other some of the pies might be hidden by the adjacent ones with larger values in
classification field. If the shapes are sorted in descending order using the
classification field the small pies will be visible on top of the big ones
ToolBox
implementation
(Go to TOP)
Command line syntax
ET_GPSortShapes <input_dataset> <out_feature class> <Field
{Sort Method};Field {Sort Method}...>
Parameters
Expression |
Explanation |
<input_dataset> |
A feature class or feature layer |
<out_feature class> |
A String
- the full name of the output feature class (A feature class with the same full
name should not exist) |
<Field
{Sort Method};Field {Sort Method}...> |
A
list of the fields to be transferred and the sort method for each
field. Note: If the Sort Method string is not
"Ascending" or "Descending" (case sensitive) a
descending method will be used. |
Scripting syntax
ET_GPSortShapes (input_dataset, out_feature class,
sort fields)
See the explanations above:
<> - required parameter
{} - optional parameter
Copyright © Ianko Tchoukanski |