<?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: Help with interpreting parts and points for polygon geometry in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295752#M485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Go into the File Geodatabase API help system and read the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shapefile Technical Description&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extended Shapefile Format&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't really point you to specific parts of these documents - you need to read and understand them in their entirety.&amp;nbsp; Once you have done that, refer back to the ShapeBuffer accessor functions and I think they will make a lot more sense to you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2011 17:17:00 GMT</pubDate>
    <dc:creator>DavidSousa</dc:creator>
    <dc:date>2011-08-29T17:17:00Z</dc:date>
    <item>
      <title>Help with interpreting parts and points for polygon geometry</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295748#M481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not very familiar with how the GDB serializes geometries, so please excuse my noobie question. I am trying to insert a polygon feature into a GDB following the examples provided, but I'm having trouble understanding how things work for a polygon. I am specifically converting from KML, so my polygons have an outer and 0 or more inner rings, each of which is a simple point array. Can someone help me with the code I need to create these features?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code so far (C#):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Point[] oR= GetOuterRingFromKml();
List&amp;lt;Point[]&amp;gt; iRs= GetInnerRingsFromKml();
MultiPartShapeBuffer() geom = new MultiPartShapeBuffer();
geom.Setup(ShapeType.Polygon, 1 + iRs.Count(), oR.Count() + iRs.Sum(ring =&amp;gt; ring.Count()));
//geom.Points = ??
//geom.Parts = ??&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 17:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295748#M481</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-08-17T17:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with interpreting parts and points for polygon geometry</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295749#M482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I figured it out, that parts is an index to the points array marking the first point of each ring/segment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 14:40:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295749#M482</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-08-18T14:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with interpreting parts and points for polygon geometry</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295750#M483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I highly recommend that you read the document describing the shape buffer, which is included in the API help system.&amp;nbsp; This is essential reading.&amp;nbsp; If you do not understand the details, the likelihood of errors is very high.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 16:33:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295750#M483</guid>
      <dc:creator>DavidSousa</dc:creator>
      <dc:date>2011-08-23T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with interpreting parts and points for polygon geometry</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295751#M484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you direct me to the most pertinent section?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 18:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295751#M484</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-08-23T18:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with interpreting parts and points for polygon geometry</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295752#M485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Go into the File Geodatabase API help system and read the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shapefile Technical Description&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extended Shapefile Format&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't really point you to specific parts of these documents - you need to read and understand them in their entirety.&amp;nbsp; Once you have done that, refer back to the ShapeBuffer accessor functions and I think they will make a lot more sense to you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 17:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295752#M485</guid>
      <dc:creator>DavidSousa</dc:creator>
      <dc:date>2011-08-29T17:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with interpreting parts and points for polygon geometry</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295753#M486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks David!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 13:09:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/help-with-interpreting-parts-and-points-for/m-p/295753#M486</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-08-31T13:09:20Z</dc:date>
    </item>
  </channel>
</rss>

