<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alter aliases of ObjectID, Shape, Shape_Length, Shape_Area with arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/alter-aliases-of-objectid-shape-shape-length-shape/m-p/142570#M11100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I alter the aliases of the required fields (ObjectID, Shape, Shape_Length, Shape_Area) in a GDB with Python?&lt;/P&gt;&lt;P&gt;For example I have this code:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#!/usr/bin/python&lt;BR /&gt;# -*- coding: utf-8 -*-&lt;BR /&gt;rf = ur'D:\Δοκιμές\Tester'&lt;BR /&gt;gdb = rf+'\\Ant.gdb'&lt;BR /&gt;p = ['Parcels','Parts']&lt;BR /&gt;for a in range(2):&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;RFields = OrderedDict([(arcpy.Describe(gdb+'\\'+p&lt;A&gt;).OIDFieldName,u'Α/Α'),(u'Shape',u'Γεωμετρία'),(arcpy.Describe(gdb+'\\'+p&lt;/A&gt;&lt;A&gt;).lengthFieldName,u'Περίμετρος'),(arcpy.Describe(gdb+'\\'+p&lt;/A&gt;&lt;A&gt;).AreaFieldName,u'Εμβαδόν')])&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for key in RFields.keys():&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;arcpy.AlterField_management(gdb+'\\'+p&lt;/A&gt;&lt;A&gt;,key,key,RFields[key])&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But it produces an error.&lt;/P&gt;&lt;P&gt;Is it possible to do what I want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 13:31:11 GMT</pubDate>
    <dc:creator>ΠαναγιώτηςΠαπάζογλου</dc:creator>
    <dc:date>2017-03-24T13:31:11Z</dc:date>
    <item>
      <title>Alter aliases of ObjectID, Shape, Shape_Length, Shape_Area with arcpy</title>
      <link>https://community.esri.com/t5/python-questions/alter-aliases-of-objectid-shape-shape-length-shape/m-p/142570#M11100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I alter the aliases of the required fields (ObjectID, Shape, Shape_Length, Shape_Area) in a GDB with Python?&lt;/P&gt;&lt;P&gt;For example I have this code:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#!/usr/bin/python&lt;BR /&gt;# -*- coding: utf-8 -*-&lt;BR /&gt;rf = ur'D:\Δοκιμές\Tester'&lt;BR /&gt;gdb = rf+'\\Ant.gdb'&lt;BR /&gt;p = ['Parcels','Parts']&lt;BR /&gt;for a in range(2):&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;RFields = OrderedDict([(arcpy.Describe(gdb+'\\'+p&lt;A&gt;).OIDFieldName,u'Α/Α'),(u'Shape',u'Γεωμετρία'),(arcpy.Describe(gdb+'\\'+p&lt;/A&gt;&lt;A&gt;).lengthFieldName,u'Περίμετρος'),(arcpy.Describe(gdb+'\\'+p&lt;/A&gt;&lt;A&gt;).AreaFieldName,u'Εμβαδόν')])&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for key in RFields.keys():&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;arcpy.AlterField_management(gdb+'\\'+p&lt;/A&gt;&lt;A&gt;,key,key,RFields[key])&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But it produces an error.&lt;/P&gt;&lt;P&gt;Is it possible to do what I want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 13:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/alter-aliases-of-objectid-shape-shape-length-shape/m-p/142570#M11100</guid>
      <dc:creator>ΠαναγιώτηςΠαπάζογλου</dc:creator>
      <dc:date>2017-03-24T13:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alter aliases of ObjectID, Shape, Shape_Length, Shape_Area with arcpy</title>
      <link>https://community.esri.com/t5/python-questions/alter-aliases-of-objectid-shape-shape-length-shape/m-p/1645966#M74665</link>
      <description>&lt;P class=""&gt;The Shape_Length and Shape_Area fields are &lt;STRONG&gt;system-managed geometry fields&lt;/STRONG&gt; that ArcGIS maintains automatically. These are special because:&lt;/P&gt;&lt;OL class=""&gt;&lt;LI&gt;They're automatically calculated and maintained by the geodatabase&lt;/LI&gt;&lt;LI&gt;They're considered "reserved" system fields&lt;/LI&gt;&lt;LI&gt;Their aliases are typically locked and cannot be modified through AlterField_management&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 27 Aug 2025 07:00:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/alter-aliases-of-objectid-shape-shape-length-shape/m-p/1645966#M74665</guid>
      <dc:creator>MariusBartašius</dc:creator>
      <dc:date>2025-08-27T07:00:18Z</dc:date>
    </item>
  </channel>
</rss>

