<?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 Export Raster Data Type Attributes in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/export-raster-data-type-attributes/m-p/151964#M8552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;rying to convert all the photos and sketches we have stored in a raster data type field in several feature classes to the new ArcGIS attachments method. Hoping for a built-in tool in ArcMap for this but may have to resort to Python (pretty newbie to Python). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;All our data is stored in a SQL Server Enterprise Db. We do have ArcServer installed as well and using AGO so hope using attachments will make the photos viewable on AGO and ArcGIS Explorer and Collector apps. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried &lt;A href="http://jiveon.jivesoftware.com/wf/click?upn=AWECJaFuW0IgwBA6YY-2BwyO3J11uY-2Bs63qFgjnEqCi3iEPAyjxv67DK8F6vhp2MUpxBtRidRQq7yezXPCE44jjt5aJhjIYe1N-2F08eUYTE10f4biDrYpYEnecUFM4oWkk0JUoHx1ZSquKHjcruGGOUdrFv-2FQJXT8D5Lu98TzEZpjfUEDgd898UylMDA7oqf56zG5xtnBUDadf4RjKBzS7GGDjBnvpao-2BTMNQo2DPKmsOo-3D_48NroNLzdgXDgu5thuRsH-2F6e8nh17jKd2Wj4aS4aB1M-2BWmivicvRegbBseq3mBKw-2Bq5kQ3VNr-2BxTuxDfC-2FbSIHi6npKx6nSt4zv1Us57bL0twtusmYQiWItwgeMpg9BR0GTWbVmc6M0SFzjPtICYpwjotQT-2B8NCZH-2BOOKxMovcevrBk2ZG5ZEI1g-2FrS62L3bWcTkEPVuC6RHGDLlF3pr2cs4BQlyeeHeWOYMeW1ye-2BZ2Hs2ExJHalwmLkMUFc1G2EfmlW-2F69hefraBRmWoKJXgXTyA-2BXWgditlfSyeNhwUKDyMOori51CkF7Rz81CQ9s"&gt;this&lt;/A&gt; which seems to be exactly what I have in mind, but keep getting an error and the arcpy.da.SearchCursor help says raster fields are not supported.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="https://esriaustraliatechblog.files.wordpress.com/2014/01/045.jpg" class="jive-image" src="https://esriaustraliatechblog.files.wordpress.com/2014/01/045.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here's the error I'm getting:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Runtime error &lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 10, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;RuntimeError: cannot open '\plwc_gis.LANE.WastewaterDataset\plwc_gis.LANE.wwCustomerConnection'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 15:34:57 GMT</pubDate>
    <dc:creator>LaneHowerton</dc:creator>
    <dc:date>2015-03-09T15:34:57Z</dc:date>
    <item>
      <title>Export Raster Data Type Attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/export-raster-data-type-attributes/m-p/151964#M8552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;rying to convert all the photos and sketches we have stored in a raster data type field in several feature classes to the new ArcGIS attachments method. Hoping for a built-in tool in ArcMap for this but may have to resort to Python (pretty newbie to Python). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;All our data is stored in a SQL Server Enterprise Db. We do have ArcServer installed as well and using AGO so hope using attachments will make the photos viewable on AGO and ArcGIS Explorer and Collector apps. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried &lt;A href="http://jiveon.jivesoftware.com/wf/click?upn=AWECJaFuW0IgwBA6YY-2BwyO3J11uY-2Bs63qFgjnEqCi3iEPAyjxv67DK8F6vhp2MUpxBtRidRQq7yezXPCE44jjt5aJhjIYe1N-2F08eUYTE10f4biDrYpYEnecUFM4oWkk0JUoHx1ZSquKHjcruGGOUdrFv-2FQJXT8D5Lu98TzEZpjfUEDgd898UylMDA7oqf56zG5xtnBUDadf4RjKBzS7GGDjBnvpao-2BTMNQo2DPKmsOo-3D_48NroNLzdgXDgu5thuRsH-2F6e8nh17jKd2Wj4aS4aB1M-2BWmivicvRegbBseq3mBKw-2Bq5kQ3VNr-2BxTuxDfC-2FbSIHi6npKx6nSt4zv1Us57bL0twtusmYQiWItwgeMpg9BR0GTWbVmc6M0SFzjPtICYpwjotQT-2B8NCZH-2BOOKxMovcevrBk2ZG5ZEI1g-2FrS62L3bWcTkEPVuC6RHGDLlF3pr2cs4BQlyeeHeWOYMeW1ye-2BZ2Hs2ExJHalwmLkMUFc1G2EfmlW-2F69hefraBRmWoKJXgXTyA-2BXWgditlfSyeNhwUKDyMOori51CkF7Rz81CQ9s"&gt;this&lt;/A&gt; which seems to be exactly what I have in mind, but keep getting an error and the arcpy.da.SearchCursor help says raster fields are not supported.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="https://esriaustraliatechblog.files.wordpress.com/2014/01/045.jpg" class="jive-image" src="https://esriaustraliatechblog.files.wordpress.com/2014/01/045.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here's the error I'm getting:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Runtime error &lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 10, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;RuntimeError: cannot open '\plwc_gis.LANE.WastewaterDataset\plwc_gis.LANE.wwCustomerConnection'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:34:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/export-raster-data-type-attributes/m-p/151964#M8552</guid>
      <dc:creator>LaneHowerton</dc:creator>
      <dc:date>2015-03-09T15:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster Data Type Attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/export-raster-data-type-attributes/m-p/151965#M8553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the error, it appears it's failing when trying to save the TIFF file.&amp;nbsp; Try setting the arcpy.env.workspace to a directory.&amp;nbsp; Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
output_path = r"C:\temp\attachments"
arcpy.env.workspace = output_path&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/export-raster-data-type-attributes/m-p/151965#M8553</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T08:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster Data Type Attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/export-raster-data-type-attributes/m-p/151966#M8554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it! Thanks Jake!&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 17:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/export-raster-data-type-attributes/m-p/151966#M8554</guid>
      <dc:creator>LaneHowerton</dc:creator>
      <dc:date>2015-03-11T17:47:09Z</dc:date>
    </item>
  </channel>
</rss>

