ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

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.

Note:

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. Start 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 for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal