<?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 Repath Raster layers from Oracle to Sql Server in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/repath-raster-layers-from-oracle-to-sql-server/m-p/411241#M13929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to "repath" a few raster layers that are currently in an Oracle instance to our new Sql Server SDE instance.&amp;nbsp; I am doing this as part of an automation python script.&amp;nbsp; The line in question is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
.
.
.
sourchPath = lyr.datasetName
mxd.findAndReplaceWorkspacePaths(sourcePath, r"Database Connections\Prod_Rasta_GISUSER.sde")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is working just fine (the script gets to the point of repathing the raster layers, but no repathing takes place).&amp;nbsp; And, yes, the database connection exists and works just fine.&amp;nbsp; Am I using the wrong method?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Oct 2010 18:54:58 GMT</pubDate>
    <dc:creator>MichaelBishopp</dc:creator>
    <dc:date>2010-10-29T18:54:58Z</dc:date>
    <item>
      <title>Repath Raster layers from Oracle to Sql Server</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/repath-raster-layers-from-oracle-to-sql-server/m-p/411241#M13929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to "repath" a few raster layers that are currently in an Oracle instance to our new Sql Server SDE instance.&amp;nbsp; I am doing this as part of an automation python script.&amp;nbsp; The line in question is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
.
.
.
sourchPath = lyr.datasetName
mxd.findAndReplaceWorkspacePaths(sourcePath, r"Database Connections\Prod_Rasta_GISUSER.sde")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is working just fine (the script gets to the point of repathing the raster layers, but no repathing takes place).&amp;nbsp; And, yes, the database connection exists and works just fine.&amp;nbsp; Am I using the wrong method?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 18:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/repath-raster-layers-from-oracle-to-sql-server/m-p/411241#M13929</guid>
      <dc:creator>MichaelBishopp</dc:creator>
      <dc:date>2010-10-29T18:54:58Z</dc:date>
    </item>
  </channel>
</rss>

