<?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 pass a raster to a GP service as a GPRasterDataLayer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-a-raster-to-a-gp-service-as-a/m-p/1328951#M82227</link>
    <description>&lt;P&gt;I am struggling with the same issue,&amp;nbsp; The GPTask keeps returning the error:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;I&gt;esriJobMessageTypeError&lt;/I&gt;: Invalid value for parameter Input Multidimensional Raster (Image Service url) - Details : Unable to parse JSON value of the parameter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe it needs to be in JSON format&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;{ &lt;SPAN class=""&gt;"url"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;"&lt;A href="https://myserver/arcgis/rest/services/crf_rcp85_all_data/ImageServer" target="_blank" rel="noopener"&gt;https://myserver/arcgis/rest/services/crf_rcp85_all_data/ImageServer&lt;/A&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/gp-data-types.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/gp-data-types.htm&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 01:34:09 GMT</pubDate>
    <dc:creator>FredericPoliart_EsriAU</dc:creator>
    <dc:date>2023-09-15T01:34:09Z</dc:date>
    <item>
      <title>How to pass a raster to a GP service as a GPRasterDataLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-a-raster-to-a-gp-service-as-a/m-p/344009#M31759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am new to ArcGIS Server and the Javascript API. I have published a GP service whose main input is a raster, which the service has translated to the data type GPRasterDataLayer. How do I create this layer in javascript? There is no corresponding class for it in the API reference. I have tried passing the service an ImageServiceLayer but that is obviously not the solution, as I get an "invalid parameters" error message in the console. There is an entry in the API reference for a RasterData class, but no examples that show how to use it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help or insight is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 17:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-a-raster-to-a-gp-service-as-a/m-p/344009#M31759</guid>
      <dc:creator>SarahBalabanov1</dc:creator>
      <dc:date>2014-05-12T17:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a raster to a GP service as a GPRasterDataLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-a-raster-to-a-gp-service-as-a/m-p/1328951#M82227</link>
      <description>&lt;P&gt;I am struggling with the same issue,&amp;nbsp; The GPTask keeps returning the error:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;I&gt;esriJobMessageTypeError&lt;/I&gt;: Invalid value for parameter Input Multidimensional Raster (Image Service url) - Details : Unable to parse JSON value of the parameter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe it needs to be in JSON format&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;{ &lt;SPAN class=""&gt;"url"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;"&lt;A href="https://myserver/arcgis/rest/services/crf_rcp85_all_data/ImageServer" target="_blank" rel="noopener"&gt;https://myserver/arcgis/rest/services/crf_rcp85_all_data/ImageServer&lt;/A&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/gp-data-types.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/gp-data-types.htm&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 01:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-pass-a-raster-to-a-gp-service-as-a/m-p/1328951#M82227</guid>
      <dc:creator>FredericPoliart_EsriAU</dc:creator>
      <dc:date>2023-09-15T01:34:09Z</dc:date>
    </item>
  </channel>
</rss>

