17

How can I change the field names (not the alias) in ArcGIS 10.2?

I already found this page on ArcGIS support: "Renaming shapefile fields (Defense Mapping)" but there is is not "Defense Mapping" on Customized Mode Categories In my ArcCatalog!

Can you please let me know how I can have access to Defense Mapping or how I can change the field names?

17

In short you cannot change a field name in a shapefile. What you need to do is create a new field of the same type but with your new name then copy the contents of the old field into it, then delete the old field.

  • 5
    .. or start using geodatabase where you can change field name directly in the feature class properties. – Alex Tereshenkov Apr 9 '14 at 14:45
  • 1
    I'm using a geodatabase and I can only change the field alias, not the name. Am I missing something? – Anthony To Dec 9 '15 at 14:39
  • 1
    You cannot rename a field in a personal or file geodatabase. Not sure about SDE. Maybe. Same as with the shapefile, you have to create a new field copy the data over, then delete the old field. Unfortunatelly, the new field will be the last field. in order to change the order of the fiels in a feature class or shapefile you need to create an emty one with the fields in the correct order, then load the features. – Jakub Sisak GeoGraphics Aug 2 '16 at 17:35
  • 1
    I stand corrected. Just read @AlexTereshenkov's post below and apparently you now can rename fields in a geodatabase with the GP tool. – Jakub Sisak GeoGraphics Aug 2 '16 at 17:39
20

You can now rename a field using core ArcGIS Desktop GP tool - Alter Field (Data Management).

This tool provides the ability to rename fields or rename field aliases for any geodatabase table or feature class.

I have not installed 10.2.1 on a virtual machine yet (was released just a day ago), but my guess is that by feature class here Esri means both geodatabase feature classes and shapefiles, but I am not 100% on that.

This tool is available starting with 10.2.1.

  • 5
    At 10.2.1 the Alter Field tool for ArcGIS Desktop is not available except with an ArcGIS Advanced license despite what the documentation says. Just confirmed with ESRI Canada support team that this is the case. – user3147913 Apr 9 '14 at 13:40
  • Thanks for the update. Looking forward to test on 10.2.2 coming soon... – Alex Tereshenkov Apr 9 '14 at 14:42
  • This moves the column to the end... any work around for that? – SoilSciGuy Apr 22 '14 at 19:52
  • @SoilSciGuy there is an around, and it is work, but it works ;-) How to reorder fields (permanently) in a file geodatabase – matt wilkie Dec 5 '14 at 19:53
  • @SoilSciGuy I am not seeing that it moves the column to the end. I'm doing this in ArcCatalog 10.4 (maybe they fixed it) – JMVDA Jul 21 '16 at 13:25
12

If you are willing to use other software to complement ArcGIS, you can use QGIS with the Table Manager Plugin (you can install it via Plugins > Install and Manage Plugins).

In QGIS:

  • Add your shapefile with Layer > Add vector layer...;
  • Select your layer in the "table of contents";
  • Open the plugin via Vector > Table Manager;
  • Select the desired field and press rename and choose the new name;
  • Don't forget to save, and then close.

enter image description here

Note: You can also reorder all your fields. Nice and easy, with no need for data duplication or temporary fields.

6

You can import the shapefile into a file geodatabase, then change the field name. Then export it back out to a shapefile.

EDIT in response to comment by @Anthony To

This is done via the Arc Catalog Window by:

  • R-clicking on the Featureclass
  • Select the "Fields" tab
  • Change the appropriate Field Name

This still leaves the Field Alias as it was before but that is easily changed, as always.

And it leaves the Field in the same relative location when viewing the Attribute table, unlike the Alter Field Tool.

  • 2
    So I've gotten a couple of down-votes for this answer but I hasten to point out that user1106951 (or others who view this question) may not have access to the required licensing level to use Alex Tereshenkov's answer. Also, user1106951 (or others) may only want to use shapefiles and not Feature Classes, so this answer is more complete than Alex Tereshenkov's comment with the first answer. Right? – user23715 Apr 11 '14 at 0:53
  • How can the field name be changed in a file geodatabase? It looks like I can only change the alias name – Anthony To Dec 9 '15 at 14:47
  • @AnthonyTo - updated answer in response to your comment. Sorry that my initial answer was a bit terse :) – user23715 Dec 9 '15 at 20:18
0

I was having the same problem as Anthony To where I can only edit Alias in ArcCatalog, but when I closed the ArcMap where the same feature class is being used, I was now able to edit the Field in ArcCatalog.

In short, make sure the feature class is not being used in any open ArcMap.

0

You can import the Shape file to PERSONAL GDB, then open it with MS Access. open the relevant table and change whatever you want. after the change being made, you can either open the personal gdb directly in Arc, or you can export it back to shape.

0

I used Arc Toolbox -> Data Management Tool -> Fields -> Add Field since I am using ArcGIS 10.1. This process can let you add a field where you can provide the Field Name you want with max of 10 characters. You can also delete a field using Delete Field if you want to remove one. I have not seen any option to edit or rename the Field Name in this version.

  • I used Arc Toolbox -> Data Management Tool -> Fields -> Add Field since I am using ArcGIS 10.1. This process can let you add a field where you can provide the Field Name you want with max of 10 characters. You can also delete a field using Delete Field if you want to remove one. I have not seen any option to edit or rename the in this version. – Guest Dec 13 '17 at 15:24
-1

I just used Alter Field in Arc Toolbox//Data Management Tool// Fields. Works perfectly you can change alias or field name

  • 1
    What version of ArcGIS are you using? How does this answer differ from the answer by Alex? – nmtoken Sep 8 '17 at 12:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.