<?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 Geometry field name? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/geometry-field-name/m-p/357797#M20493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the field that stores the "esriFieldTypeGeometry" required to be named "SHAPE"? What are the implications of changing it to something else? I know I can do it, see image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From what I've tested it seems that the IFEATURE.SHAPE won't have the attributes of the shape unless I specifically cast it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still able to create objects with a geometry field with a name other than "SHAPE". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; IFeature myFeat = obj as IFeature;
&amp;nbsp; myFeat.Shape = myFeat.get_Value(myFeat.Fields.FindField("MY_SHAPE_FIELD_NAME")) as IPolygon;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the other potential issues with not defining the GEOMETRY field name as "SHAPE"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:43:23 GMT</pubDate>
    <dc:creator>GregRieck</dc:creator>
    <dc:date>2021-12-11T16:43:23Z</dc:date>
    <item>
      <title>Geometry field name?</title>
      <link>https://community.esri.com/t5/data-management-questions/geometry-field-name/m-p/357797#M20493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the field that stores the "esriFieldTypeGeometry" required to be named "SHAPE"? What are the implications of changing it to something else? I know I can do it, see image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From what I've tested it seems that the IFEATURE.SHAPE won't have the attributes of the shape unless I specifically cast it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still able to create objects with a geometry field with a name other than "SHAPE". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; IFeature myFeat = obj as IFeature;
&amp;nbsp; myFeat.Shape = myFeat.get_Value(myFeat.Fields.FindField("MY_SHAPE_FIELD_NAME")) as IPolygon;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the other potential issues with not defining the GEOMETRY field name as "SHAPE"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/geometry-field-name/m-p/357797#M20493</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2021-12-11T16:43:23Z</dc:date>
    </item>
  </channel>
</rss>

