<?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: Geoprocessor : Gp service with result map service : getResultImageLayer : questio in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-gp-service-with-result-map-service/m-p/601296#M56239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;for anyone who runs into similar issues with gp service with result map service: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make sure you read carefully through the step-by-step instructions on the webhelp.esri.com, especially the sections : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/002v/002v00000006000000.htm"&gt;Preparing map documents containing tool layers&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Our analyst forgot to run the tool so the tool layer haven't been created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus the map service hasn't been returning anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2011 14:30:20 GMT</pubDate>
    <dc:creator>MichalGasparovic</dc:creator>
    <dc:date>2011-10-10T14:30:20Z</dc:date>
    <item>
      <title>Geoprocessor : Gp service with result map service : getResultImageLayer : question</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-gp-service-with-result-map-service/m-p/601294#M56237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is other of the issues with the geoprocessing and the js api geoprocessor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first issue I'm having is described &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/41128-Geoprocessor-Job-xyz-does-not-exist-or-is-inaccessible-with-UpdateDelay-lt-10s"&gt;here &lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is about the 'layer' being returned from the getResultImageLayer method of the geoprocessor object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The background: I have a gp service running at the server (v10.0.2.3200), this is asynchronous service, and has a result map service assigned, so I'm expecting the server to draw the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the gp job is completed, I ask the server for the result layer via getResultImageLayer. In a callback function handling the result, I'm trying to at the 'layer' into the map, but I can't see anything. It's just empty. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are my questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the resulting 'layer' is of declaredClass esri.layers._GPResultImageLayer, is that ok?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the 'layer' has no layerInfo information, it's empty array, I reckon that's not ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the 'layer' has a URL similar to following, and I just don't think that one is correct, shouldn't it be MapServer somewhere??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://someserver/ArcGIS/rest/services/GPbuffer/GPServer/Buffer" rel="nofollow" target="_blank"&gt;http://someserver/ArcGIS/rest/services/GPbuffer/GPServer/Buffer&lt;/A&gt;&lt;SPAN&gt; GP/jobs/j928b1975df17450e9c83783507015561/results/Vysledok_GP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've noticed, that adding a layer returned from the getResultImageLayer into the map sends out the request like this one - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[HTML]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://someserver/ArcGIS/rest/services/GPbuffer/GPServer/Buffer%20GP/jobs/j928b1975df17450e9c83783507015561/results/Vysledok_GP?dpi=96&amp;amp;transparent=true&amp;amp;format=png8&amp;amp;imageSR=102067&amp;amp;f=image&amp;amp;bbox=%7B%22xmin%22%3A-632441.7182510166%2C%22ymin%22%3A-1265352.5714890272%2C%22xmax%22%3A-124440.70224898527%2C%22ymax%22%3A-1149994.007438566%2C%22spatialReference%22%3A%7B%22wkid%22%3A102067%7D%7D&amp;amp;bboxSR=102067&amp;amp;size=1920%2C436[/HTML]" rel="nofollow" target="_blank"&gt;http://someserver/ArcGIS/rest/services/GPbuffer/GPServer/Buffer%20GP/jobs/j928b1975df17450e9c83783507015561/results/Vysledok_GP?dpi=96&amp;amp;transparent=true&amp;amp;format=png8&amp;amp;imageSR=102067&amp;amp;f=image&amp;amp;bbox=%7B%22xmin%22%3A-632441.7182510166%2C%22ymin%22%3A-1265352.5714890272%2C%22xmax%22%3A-124440.70224898527%2C%22ymax%22%3A-1149994.007438566%2C%22spatialReference%22%3A%7B%22wkid%22%3A102067%7D%7D&amp;amp;bboxSR=102067&amp;amp;size=1920%2C436[/HTML]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which ends up in 500 Internal Server error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;could someone pls shed some more light into this for me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've written the code by following the samples, especially the one handling the results for the gp service with result map service. it's just not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks heaps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 09:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-gp-service-with-result-map-service/m-p/601294#M56237</guid>
      <dc:creator>MichalGasparovic</dc:creator>
      <dc:date>2011-10-07T09:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessor : Gp service with result map service : getResultImageLayer : questio</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-gp-service-with-result-map-service/m-p/601295#M56238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here I have written in my blog about result map service:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://nicogis.blogspot.com/2011/09/non-ti-scordar-mai-del-result-map.html"&gt;http://nicogis.blogspot.com/2011/09/non-ti-scordar-mai-del-result-map.html&lt;/A&gt;&lt;SPAN&gt; (open with firefox and use translate this page)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 13:04:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-gp-service-with-result-map-service/m-p/601295#M56238</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2011-10-07T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessor : Gp service with result map service : getResultImageLayer : questio</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-gp-service-with-result-map-service/m-p/601296#M56239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;for anyone who runs into similar issues with gp service with result map service: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make sure you read carefully through the step-by-step instructions on the webhelp.esri.com, especially the sections : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/002v/002v00000006000000.htm"&gt;Preparing map documents containing tool layers&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Our analyst forgot to run the tool so the tool layer haven't been created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus the map service hasn't been returning anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 14:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessor-gp-service-with-result-map-service/m-p/601296#M56239</guid>
      <dc:creator>MichalGasparovic</dc:creator>
      <dc:date>2011-10-10T14:30:20Z</dc:date>
    </item>
  </channel>
</rss>

