<?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 Could the&amp;nbsp; raster field of a feature class accessed by Python? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101974#M7886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class of a personal GDB that has a raster field. The rasters are the photos of all the features and the rasters are managed by the GDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that the rasters are stored in the .idb folder togeter with the .mdb file. They are named like: 1.img, 2.img etc., the number is exactly the OBJECTID of the feature that it belongs to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A table called GDB_RasterColumns in the mdb stores the subfolder info of the .idb folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By python , I can export all the photo form a GDB, name them by some porperties of the feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But my question is, can I import a bunch of photos to a feature class base on its properties?&amp;nbsp; I need to modify the raster field by python, but it looks untouchable when hadling with setValue() of the UpdateCursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 15:22:45 GMT</pubDate>
    <dc:creator>Andygao</dc:creator>
    <dc:date>2012-05-04T15:22:45Z</dc:date>
    <item>
      <title>Could the  raster field of a feature class accessed by Python?</title>
      <link>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101974#M7886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class of a personal GDB that has a raster field. The rasters are the photos of all the features and the rasters are managed by the GDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that the rasters are stored in the .idb folder togeter with the .mdb file. They are named like: 1.img, 2.img etc., the number is exactly the OBJECTID of the feature that it belongs to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A table called GDB_RasterColumns in the mdb stores the subfolder info of the .idb folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By python , I can export all the photo form a GDB, name them by some porperties of the feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But my question is, can I import a bunch of photos to a feature class base on its properties?&amp;nbsp; I need to modify the raster field by python, but it looks untouchable when hadling with setValue() of the UpdateCursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 15:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101974#M7886</guid>
      <dc:creator>Andygao</dc:creator>
      <dc:date>2012-05-04T15:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Could the  raster field of a feature class accessed by Python?</title>
      <link>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101975#M7887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;really!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no one?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2012 23:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101975#M7887</guid>
      <dc:creator>Andygao</dc:creator>
      <dc:date>2012-05-06T23:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Could the  raster field of a feature class accessed by Python?</title>
      <link>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101976#M7888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also very interested in how this can be done!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;btw, thanks Gaoang for posting the question in the first place. Reading your post actually showed me how to mass export raster fields in python and rename them &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hopefully someone will find a solution for mass importing raster fields though...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 14:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101976#M7888</guid>
      <dc:creator>DerekEamer</dc:creator>
      <dc:date>2012-09-26T14:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Could the  raster field of a feature class accessed by Python?</title>
      <link>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101977#M7889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I have a feature class of a personal GDB that has a raster field. The rasters are the photos of all the features and the rasters are managed by the GDB.&lt;BR /&gt;&lt;BR /&gt;I noticed that the rasters are stored in the .idb folder togeter with the .mdb file. They are named like: 1.img, 2.img etc., the number is exactly the OBJECTID of the feature that it belongs to.&lt;BR /&gt;&lt;BR /&gt;A table called GDB_RasterColumns in the mdb stores the subfolder info of the .idb folder.&lt;BR /&gt;&lt;BR /&gt;By python , I can export all the photo form a GDB, name them by some porperties of the feature class.&lt;BR /&gt;&lt;BR /&gt;But my question is, can I import a bunch of photos to a feature class base on its properties?&amp;nbsp; I need to modify the raster field by python, but it looks untouchable when hadling with setValue() of the UpdateCursor.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gaoang, thanks for your post. Any progress with this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am interested in both, the massive export of photos from a raster field in a feature class in SDE as well as bulk import of photos to a raster field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible, can you explain how to export all the photos from GDB, naming them by some property of the feature class with Python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gaston.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 17:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/could-the-nbsp-raster-field-of-a-feature-class/m-p/101977#M7889</guid>
      <dc:creator>GastonIzaguirre</dc:creator>
      <dc:date>2014-06-09T17:08:00Z</dc:date>
    </item>
  </channel>
</rss>

