<?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 Re: 'Text' vs 'String' keyword for field attribute creation and description in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/text-vs-string-keyword-for-field-attribute/m-p/443128#M34682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consistency would be great, but this is covered/addressed in the &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/field.htm"&gt;Field—Help | ArcGIS Desktop&lt;/A&gt; :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="font-size: 14px; line-height: 1.71429em; margin-top: 0em; margin-bottom: 0px; -webkit-font-smoothing: antialiased; color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;The field type.&lt;/P&gt;&lt;UL class="" style="font-size: 0.875em; line-height: 1.71429em; margin-bottom: 1.5em; list-style-position: inside; margin-top: 1.71429em; padding: 0px; list-style-type: none; color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Blob —Blob&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Date —Date&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Double —Double&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Geometry —Geometry&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;GlobalID —Global ID&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Guid —Guid&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Integer —Integer (Long Integer)&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;OID —Object ID&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Raster —Raster&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Single —Single (Float)&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;SmallInteger —Small Integer (Short Integer)&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;String —String (Text)&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Similar/same data types aren't always called the same thing in different systems, and ArcGIS has to balance data type names between ArcObjects, Python, DBMSs, etc....&amp;nbsp; I think "string" is more common in programming languanges but "text" is more user friendly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 14:47:08 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2017-08-23T14:47:08Z</dc:date>
    <item>
      <title>'Text' vs 'String' keyword for field attribute creation and description</title>
      <link>https://community.esri.com/t5/python-questions/text-vs-string-keyword-for-field-attribute/m-p/443127#M34681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea why the input requirements for adding a string/text field is different than the 'type' attribute for a string/text field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;myfc &amp;nbsp;= &amp;nbsp;r'C:\Foo\bar.gdb\somefc'&lt;/P&gt;&lt;P&gt;arcpy.AddField_management(myfc, 'MyStringField', 'TEXT',5)&lt;/P&gt;&lt;P&gt;myfc_pyobject = arcpy.ListFields(myfc,'MyStringField')[0]&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myfc_pyobject.type would print out 'String'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like they should be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:36:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/text-vs-string-keyword-for-field-attribute/m-p/443127#M34681</guid>
      <dc:creator>GeorgeNewbury</dc:creator>
      <dc:date>2017-08-23T13:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'Text' vs 'String' keyword for field attribute creation and description</title>
      <link>https://community.esri.com/t5/python-questions/text-vs-string-keyword-for-field-attribute/m-p/443128#M34682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consistency would be great, but this is covered/addressed in the &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/field.htm"&gt;Field—Help | ArcGIS Desktop&lt;/A&gt; :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="font-size: 14px; line-height: 1.71429em; margin-top: 0em; margin-bottom: 0px; -webkit-font-smoothing: antialiased; color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;The field type.&lt;/P&gt;&lt;UL class="" style="font-size: 0.875em; line-height: 1.71429em; margin-bottom: 1.5em; list-style-position: inside; margin-top: 1.71429em; padding: 0px; list-style-type: none; color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Blob —Blob&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Date —Date&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Double —Double&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Geometry —Geometry&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;GlobalID —Global ID&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Guid —Guid&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Integer —Integer (Long Integer)&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;OID —Object ID&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Raster —Raster&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;Single —Single (Float)&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;SmallInteger —Small Integer (Short Integer)&lt;/LI&gt;&lt;LI style="-webkit-font-smoothing: antialiased; font-size: 0.875rem; position: relative; padding-left: 1em;"&gt;String —String (Text)&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Similar/same data types aren't always called the same thing in different systems, and ArcGIS has to balance data type names between ArcObjects, Python, DBMSs, etc....&amp;nbsp; I think "string" is more common in programming languanges but "text" is more user friendly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 14:47:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/text-vs-string-keyword-for-field-attribute/m-p/443128#M34682</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-08-23T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: 'Text' vs 'String' keyword for field attribute creation and description</title>
      <link>https://community.esri.com/t5/python-questions/text-vs-string-keyword-for-field-attribute/m-p/443129#M34683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I've probably seen that part of the help 100s of times but never actually digested the 'String to TEXT' part in the note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 17:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/text-vs-string-keyword-for-field-attribute/m-p/443129#M34683</guid>
      <dc:creator>GeorgeNewbury</dc:creator>
      <dc:date>2017-08-23T17:15:12Z</dc:date>
    </item>
  </channel>
</rss>

