ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Creating a configuration file for renaming shapefile fields

Shapefile data fields can be renamed using a configuration file, which is a comma-separated text file that contains the current name of the column and its new name. This allows you to replace truncated field names that are greater than 10 characters with meaningful names.

注:

You cannot rename ID, shape, geometry, or other uneditable field names.

Example of a configuration file

The text file must be formatted as follows so it will work with the Rename Shapefile Fields Command:

  • Field name length must be greater than zero characters.
  • Field names must contain no more than 10 characters.
  • The first character in the field name cannot be numeric.
  1. 启动 ArcCatalog。
  2. Choose a shapefile in the Catalog tree and click the Preview tab.
  3. Click the Preview drop-down arrow and choose Table.

    The table with all the fields for the shapefile appears.

  4. Open a new text document in a text editing program.
  5. Type the name of each field for the shapefile whose fields you want to rename, followed by its new name.

    The format for this will be [current field name],[new field name].

  6. Repeat as needed for each field in the shapefile.
  7. Save the document as a text file (.txt).

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明