<?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: How to load a raster back into a raster dataset without file I/O? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-load-a-raster-back-into-a-raster-dataset/m-p/567632#M15286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was trying to avoid doing any saving.&amp;nbsp; Typically, in a normal server environment, doing a file write causes a lock on the mutex which momentarily halts all services running on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the IRaster2 interface looks like it is just what I was looking for....assuming that RasterDataset isn't null.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 18:59:36 GMT</pubDate>
    <dc:creator>MichaelEber</dc:creator>
    <dc:date>2014-02-03T18:59:36Z</dc:date>
    <item>
      <title>How to load a raster back into a raster dataset without file I/O?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-load-a-raster-back-into-a-raster-dataset/m-p/567630#M15284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this fairly complex routine running as a service.&amp;nbsp; All was well right up until I called one of the methods and instead of returning a RasterDataset as an IGeoDataset it returned an IRaster as the IGeoDataset.&amp;nbsp; I need a consistent way of passing this modified raster throughout the code and I was using a RasterDataset for doing that.&amp;nbsp; But no matter what I do I cannot get that modified raster into the dataset without (apparently) saving it to disk.&amp;nbsp; I want to avoid this since File I/O on a service is evil.&amp;nbsp; And ESRI doesn't have modern software so it does not take a stream as input for loads preventing me from using a memory stream.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So any suggestions on how to load the modified raster back into the RasterDataset without saving to disk?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 13:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-load-a-raster-back-into-a-raster-dataset/m-p/567630#M15284</guid>
      <dc:creator>MichaelEber</dc:creator>
      <dc:date>2014-01-30T13:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a raster back into a raster dataset without file I/O?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-load-a-raster-back-into-a-raster-dataset/m-p/567631#M15285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you looked at the &lt;/SPAN&gt;&lt;STRONG&gt;SaveAsRasterDataset&lt;/STRONG&gt;&lt;SPAN&gt; method off the &lt;/SPAN&gt;&lt;STRONG&gt;ISaveAs2&lt;/STRONG&gt;&lt;SPAN&gt; interface?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, the &lt;/SPAN&gt;&lt;STRONG&gt;IRaster2 &lt;/STRONG&gt;&lt;SPAN&gt;interface has a &lt;/SPAN&gt;&lt;STRONG&gt;RasterDataset &lt;/STRONG&gt;&lt;SPAN&gt;property, which might be what you're looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 18:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-load-a-raster-back-into-a-raster-dataset/m-p/567631#M15285</guid>
      <dc:creator>ErinBrimhall</dc:creator>
      <dc:date>2014-02-03T18:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a raster back into a raster dataset without file I/O?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-load-a-raster-back-into-a-raster-dataset/m-p/567632#M15286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was trying to avoid doing any saving.&amp;nbsp; Typically, in a normal server environment, doing a file write causes a lock on the mutex which momentarily halts all services running on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the IRaster2 interface looks like it is just what I was looking for....assuming that RasterDataset isn't null.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 18:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-load-a-raster-back-into-a-raster-dataset/m-p/567632#M15286</guid>
      <dc:creator>MichaelEber</dc:creator>
      <dc:date>2014-02-03T18:59:36Z</dc:date>
    </item>
  </channel>
</rss>

