The Select Fields tool
selects a subset of fields to retain. This tool is
useful when incoming data has extraneous or irrelevant fields. It can also be configured to remove geometry from features.
Example
以下是该工具的使用示例:
As a logistics manager, in analysis of point-based observational data, you used the Calculate Motion Statistics tool to calculate a variety of attributes about features in motion. You can then use the Select Fields tool to retain only the calculated attributes relevant to your requirements.
Usage notes
使用该工具时,请谨记以下信息:
- This tool does not require geometry. Geometry can be deleted using the Remove Geometry parameter. By default, geometry is retained.
- You can remove fields when configuring a source or feed instead of using the Select Fields tool. Fields can also be deleted using the Map Fields tool.
Parameters
以下是该工具的参数:
| Parameter | Description | Data type |
|---|---|---|
| Input layer | The point, line, or polygon features to choose a subset of the fields to retain. | Features or tabular data |
| Fields to retain | One or more fields to be retained for the next step in the analytic model. Options include Select all, Select inverse, and Select none. | Field |
| Remove Geometry | Removes a geometry from the schema while preserving attributes and time data. The default is No. | 布尔 |
Consideration and limitation
使用该工具时,请考虑以下内容:
All fields and geometry can be deleted, but the output must have one field or geometry at a minimum.