<?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: Create RasterDataset in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780220#M1113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank&amp;nbsp;&lt;A _jive_internal="true" data-userid="267057" data-username="gkmieliauskas_cellexp" href="https://community.esri.com/people/gkmieliauskas_cellexp" style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #8ca9cd; fill: #8ca9cd; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 20.46px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 20.48px; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; transition-delay: 0s; transition-duration: 0.1s; transition-property: color; transition-timing-function: cubic-bezier(0, 0, 1, 1); vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #8ca9cd;" target="_blank"&gt;Gintautas&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your comments help me a lot,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seem Geoprocessing object is quite useful for that sdk to reuse the prebaked tool.&lt;/P&gt;&lt;P&gt;As per my previous comment, have concern with these and didn't dive into it. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; ExportTifFile &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FileName &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;".tif"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; parameters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;MakeValueArray&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
                         &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InputModel&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DestinationPath&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Output path&lt;/SPAN&gt;
                        ExportTifFile&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Raster name : make it as tif file&lt;/SPAN&gt;
                         rasterInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CellSize&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ToString&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Cellsize&lt;/SPAN&gt;
                         &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InputModel&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;PixelType&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// pixel type&lt;/SPAN&gt;
                         &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;_lastSelectedSR&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Spatial reference,&lt;/SPAN&gt;
                         &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Bands count&lt;/SPAN&gt;

                    &lt;SPAN class="comment token"&gt;//IReadOnlyList&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt; environments = Geoprocessing.MakeEnvironmentArray(extent: pEnvelope);&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; gpResult &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ExecuteToolAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"CreateRasterDataset_management"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; parameters&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                                        CancelableProgressor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GPExecuteToolFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GPThread&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    gpResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Wait&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    IGPResult ProcessingResult &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;  gpResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Result&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsFailed&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                       &lt;SPAN class="keyword token"&gt;foreach&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;IGPMessage message &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Messages&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                        &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                            ConversionToolModule&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Current&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ModuleLogManager&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;LogError&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Error on create raster dataset tool calling"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                            ConversionToolModule&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Current&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ModuleLogManager&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;LogError&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$&lt;SPAN class="string token"&gt;"{{Error Code: {message.ErrorCode}, Text :  {message.Text} }}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                        Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ShowMessageBox&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Messages&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Raster creation error"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GPMessageBoxStyle&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Error&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:48:34 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-12T08:48:34Z</dc:date>
    <item>
      <title>Create RasterDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780214#M1107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across some sample of updating raster data with ArcGIS pro sdk.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Raster#open-raster-dataset-in-a-folder" title="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Raster#open-raster-dataset-in-a-folder"&gt;ProSnippets Raster · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't manage to find the sample or guidance of creation of raster file from scratch such as with folder connection or file geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;So Would like to know how to create raster dataset with folder connection or file geodatabase creation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Will be appreciated if it is possible with ArcGIS runtime sdk .net. And I am not fun of calling the python geoprocessing task from the pro sdk .net as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 01:09:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780214#M1107</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-11-28T01:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create RasterDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780215#M1108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than,&lt;/P&gt;&lt;P&gt;You can do it in ArcGIS Pro SDK .Net using geoprocessing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; gpResult = Geoprocessing.ExecuteToolAsync(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"CreateRasterDataset_management"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, ..., &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;...&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;...&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;...&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, ...);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;If you want to get help with ArcGIS Runtime sdk you are in the wrong forum. You can get more feedback in ArcGIS Runtime&amp;nbsp;sdk forums.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 07:29:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780215#M1108</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2019-11-28T07:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create RasterDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780216#M1109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Gintautas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any .net sample of those Geoprocessing tool?&lt;/P&gt;&lt;P&gt;Is that idea to continue calling geoprocessing tool from sdk or extension code? and no roadmap to have managed code?&lt;/P&gt;&lt;P&gt;I believed in ArcObject we have that features in the framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ArcGIS runtime sdk for .net , if there is no build in support with ArcGIS pro sdk, I am thinking of creating Raster dataset and reload it from ArcGIS pro extension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 01:10:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780216#M1109</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-11-29T01:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create RasterDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780217#M1110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than,&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;IReadOnlyList&amp;lt;string&amp;gt; parameters = Geoprocessing.MakeValueArray("D:\Temp\Test", // Output path&lt;BR /&gt;&amp;nbsp;"Result", // Raster name&lt;BR /&gt;&amp;nbsp;50, // Cellsize&lt;BR /&gt;&amp;nbsp;"8_BIT_UNSIGNED", // pixel type&lt;BR /&gt;&amp;nbsp;spatRef, // Spatial reference,&lt;BR /&gt;&amp;nbsp;1); // Bands count&lt;/DIV&gt;&lt;DIV&gt;IReadOnlyList&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt; environments = Geoprocessing.MakeEnvironmentArray(extent: pEnvelope);&lt;BR /&gt;var gpResult = Geoprocessing.ExecuteToolAsync("CreateRasterDataset_management", parameters, environments,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CancelableProgressor.None, GPExecuteToolFlags.GPThread);&lt;BR /&gt;gpResult.Wait();&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;More info about parameters and environment here:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-raster-dataset.htm"&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-raster-dataset.htm&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;And forget about ArcObjects when you are working with ArcGIS Pro.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 06:47:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780217#M1110</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2019-11-29T06:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create RasterDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780218#M1111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for your sample code with Geoprocessing call,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that the practice to call Geoprocessing tool in ArcGIS pro sdk when it is not natively supported?&lt;/P&gt;&lt;P&gt;And I believed it is running under different thread and how shall we troubleshoot when thing went wrong?&lt;/P&gt;&lt;P&gt;Like file locked by Geoprocessing thread?&lt;/P&gt;&lt;P&gt;Is that try cach enough?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By looking at outcome, yes it is working with these code.&lt;/P&gt;&lt;P&gt;Will there be implication if ArcGIS pro is upgraded to another version with few enhancement to these tool?&lt;/P&gt;&lt;P&gt;With SDK we will know these straight upon compilation but those Geoprocessing tool call coding how shall&amp;nbsp; we trace the update?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or am I overly thinking and those tools will never be changed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 06:23:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780218#M1111</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-12-03T06:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create RasterDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780219#M1112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Pro database structure editing, raster creation and analysis and much more functionality are realized using geoprocessing. For small task it is enough, but for big applications it takes a lot time to start geoprocessing. To troubleshoot geoprocessing check geoprocessing messages after executing tool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// gp_result is the returned result object from a call to ExecuteToolAsync&lt;BR /&gt;// displays error messages if the tool fails, otherwise shows the default messages&lt;BR /&gt;Geoprocessing.ShowMessageBox(gp_result.Messages, "GP Messages", &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp_result.IsFailed ? GPMessageBoxStyle.Error : GPMessageBoxStyle.Default);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other questions could be answered by Esri stuff only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 06:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780219#M1112</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2019-12-03T06:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create RasterDataset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780220#M1113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank&amp;nbsp;&lt;A _jive_internal="true" data-userid="267057" data-username="gkmieliauskas_cellexp" href="https://community.esri.com/people/gkmieliauskas_cellexp" style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #8ca9cd; fill: #8ca9cd; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 20.46px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 20.48px; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; transition-delay: 0s; transition-duration: 0.1s; transition-property: color; transition-timing-function: cubic-bezier(0, 0, 1, 1); vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #8ca9cd;" target="_blank"&gt;Gintautas&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your comments help me a lot,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seem Geoprocessing object is quite useful for that sdk to reuse the prebaked tool.&lt;/P&gt;&lt;P&gt;As per my previous comment, have concern with these and didn't dive into it. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; ExportTifFile &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FileName &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;".tif"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; parameters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;MakeValueArray&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
                         &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InputModel&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DestinationPath&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Output path&lt;/SPAN&gt;
                        ExportTifFile&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Raster name : make it as tif file&lt;/SPAN&gt;
                         rasterInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CellSize&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ToString&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Cellsize&lt;/SPAN&gt;
                         &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InputModel&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;PixelType&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// pixel type&lt;/SPAN&gt;
                         &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;_lastSelectedSR&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Spatial reference,&lt;/SPAN&gt;
                         &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Bands count&lt;/SPAN&gt;

                    &lt;SPAN class="comment token"&gt;//IReadOnlyList&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt; environments = Geoprocessing.MakeEnvironmentArray(extent: pEnvelope);&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; gpResult &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ExecuteToolAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"CreateRasterDataset_management"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; parameters&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                                        CancelableProgressor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GPExecuteToolFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GPThread&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    gpResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Wait&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    IGPResult ProcessingResult &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;  gpResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Result&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsFailed&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                       &lt;SPAN class="keyword token"&gt;foreach&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;IGPMessage message &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Messages&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                        &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                            ConversionToolModule&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Current&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ModuleLogManager&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;LogError&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Error on create raster dataset tool calling"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                            ConversionToolModule&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Current&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ModuleLogManager&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;LogError&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$&lt;SPAN class="string token"&gt;"{{Error Code: {message.ErrorCode}, Text :  {message.Text} }}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                        Geoprocessing&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ShowMessageBox&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ProcessingResult&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Messages&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Raster creation error"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GPMessageBoxStyle&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Error&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-rasterdataset/m-p/780220#M1113</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T08:48:34Z</dc:date>
    </item>
  </channel>
</rss>

