<?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 SDE Shape -&amp;amp;gt; FGDB Shape using ByteArray in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/sde-shape-amp-gt-fgdb-shape-using-bytearray/m-p/628673#M1016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is is possible to use the ByteArray class to populate a SHAPE column using a Byte[] obtained from an SDE SHAPE column using the st_asbinary function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would like to do is fetch a feature from an SDE db (using SQL) and then write that feature into a FGDB, but I'd like to see if I can use the ByteArray class or something similar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find anything in the way of examples or even good documentation on use of the ByteArray so I'd be interested in hearing from peoples' different experiences with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 22:18:20 GMT</pubDate>
    <dc:creator>CharlesTilly</dc:creator>
    <dc:date>2013-07-18T22:18:20Z</dc:date>
    <item>
      <title>SDE Shape -&amp;gt; FGDB Shape using ByteArray</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/sde-shape-amp-gt-fgdb-shape-using-bytearray/m-p/628673#M1016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is is possible to use the ByteArray class to populate a SHAPE column using a Byte[] obtained from an SDE SHAPE column using the st_asbinary function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would like to do is fetch a feature from an SDE db (using SQL) and then write that feature into a FGDB, but I'd like to see if I can use the ByteArray class or something similar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find anything in the way of examples or even good documentation on use of the ByteArray so I'd be interested in hearing from peoples' different experiences with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 22:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/sde-shape-amp-gt-fgdb-shape-using-bytearray/m-p/628673#M1016</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-07-18T22:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Shape -&gt; FGDB Shape using ByteArray</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/sde-shape-amp-gt-fgdb-shape-using-bytearray/m-p/628674#M1017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you want to insert or update a shape column using the FileGDB API, you must use one of the ShapeBuffer helper classes when you call the Row::SetGeometry function.&amp;nbsp; You should not use the ByteArray class.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We ship sample programs which illustrate the use of the several of the ShapeBuffer derived classes.&amp;nbsp; There is also extensive documentation of the shape buffer format included with the API.&amp;nbsp; It is critically important that you understand the shape buffer format.&amp;nbsp; This is essentially the same format as the shape buffers used in shape files, but with some Geodatabase extensions (e.g., curves, multipatches, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The API does not provide a way to directly use or convert other shape buffer formats to that which is required by the API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 16:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/sde-shape-amp-gt-fgdb-shape-using-bytearray/m-p/628674#M1017</guid>
      <dc:creator>DavidSousa</dc:creator>
      <dc:date>2013-07-19T16:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Shape -&gt; FGDB Shape using ByteArray</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/sde-shape-amp-gt-fgdb-shape-using-bytearray/m-p/628675#M1018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks David.&amp;nbsp; I'm using the ShapeBuffer classes already but the ByteArray just seems so appealing because it looks like it would be a nice way to quickly move data from SDE to FGDB without the overhead of deconstructing the geometry and then reconstructing it prior to inserting it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 18:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/sde-shape-amp-gt-fgdb-shape-using-bytearray/m-p/628675#M1018</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-07-19T18:35:48Z</dc:date>
    </item>
  </channel>
</rss>

