操作方法:在 ArcGIS pro 中更改现有字段的数据类型 |
您所在的位置:网站首页 › 数据有效性灰色怎么改 › 操作方法:在 ArcGIS pro 中更改现有字段的数据类型 |
摘要
In ArcGIS Pro, when creating a feature class and table, a data type is selected for each field. Data types include number types, text types, date types, binary large objects (BLOBs), or globally unique identifiers (GUIDs). In some cases, it is desirable to change the data type of certain fields, after the table or feature class is created, to manage data storage, facilitate analysis, and for data management. 过程 There are two options available to change the data type of an existing field in ArcGIS Pro. The first option is to create a new field with a desired data type, and to transfer attribute data from the existing field to the new field using the Calculate Field tool. The second option is to use the Feature Class To Feature Class tool to output a new feature class, including its respective attribute table and fields, with the desired data type. Use the Calculate Field toolCreate a new field and populate it with the attribute data from an existing field using the Calculate Field tool. Use the workflow below to change the data type from Double to Float. In the Contents pane, right-click the feature layer, and click Attribute Table.In the attribute table, click Add![]() ![]() The attribute data from the field with Double data type is transferred to the new field with the Float data type. ![]() Create a new feature class and attribute table with a new data type using the Feature Class to Feature Class tool. Use the workflow below to change the data type from Long Integer to Short Integer. Open the Feature Class to Feature Class tool.In the Parameters section, specify the desired feature class for Input Features. In this example, the feature class is Roads.Specify a desired geodatabase for the Output Location.Specify a name for the Output Feature Class. In this example, the name is FIPS26_Short_to_Long.![]() ![]() The data type of the FIPS26 field is changed from Short Integer to Long Integer in the new feature class. ![]() 文章 ID:000023089 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |