Sunday, 19 May 2019

arcgis desktop - Renaming field via ModelBuilder?


I joined some fields to my tables and now I need a tool or something to change that field's name.


How can I do this in ModelBuilder?


I didn't find any tool to do that.



Answer



You cannot rename fields in an attribute table. However, you can add a new field and copy the values from the old field to the new one. Finally, delete the old field if you wish. In sum:



  1. Add Field

  2. Calculate Field


  3. Delete Field (optional)


enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...