<?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 Raster Function not working in custom Export Web Map Task in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/raster-function-not-working-in-custom-export-web/m-p/671370#M22319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I published a custom Print Tool, Export Web Map Tool, to the Arc Server(10.6) so I could point the print tool to our custom template folder. I followed the instructions here&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/10.6/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm" title="https://enterprise.arcgis.com/en/server/10.6/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm"&gt;Publish an additional print service with custom layouts from ArcMap—Documentation (10.5) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;and everything went as expected. It works normally except for one thing. In my webmap json input I included an Image Service layer and a renderingRule (Raster Function) for server side processing on it. When the print image comes back the layer isn't there. If I remove the renderingRule from the webmap json, the custom print tool will show the Image Service layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange part is the same exact webmap json when input into the default utilities/PrintingTools/Export Web Map Task, the image returns the result as expected with the raster functions applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried just making another plain copy of the default print tool. I made it point to all the default templates and everything. I still get the same errors all around. It seems the server won't apply the raster functions for any custom print tool I publish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Arc Manager logs for the custom print tool, when I include the renderingRule in the webmap json, it says "bad syntax in request (status code&amp;nbsp;400)". The server log states: "code=103800 methodName='Map.Draw' "&lt;/P&gt;&lt;P&gt;According to this page&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/10.6/administer/windows/map-service-log-codes.htm#GUID-9A9F7CC1-5DF9-4F01-B938-1DC3573D01D4" title="https://enterprise.arcgis.com/en/server/10.6/administer/windows/map-service-log-codes.htm#GUID-9A9F7CC1-5DF9-4F01-B938-1DC3573D01D4"&gt;Map service log codes—ArcGIS Server Administration (Windows) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp; its a LayerDrawingError. What does this mean to me? How do I fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2019 19:03:36 GMT</pubDate>
    <dc:creator>TrevorSkelton</dc:creator>
    <dc:date>2019-10-23T19:03:36Z</dc:date>
    <item>
      <title>Raster Function not working in custom Export Web Map Task</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raster-function-not-working-in-custom-export-web/m-p/671370#M22319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I published a custom Print Tool, Export Web Map Tool, to the Arc Server(10.6) so I could point the print tool to our custom template folder. I followed the instructions here&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/10.6/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm" title="https://enterprise.arcgis.com/en/server/10.6/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm"&gt;Publish an additional print service with custom layouts from ArcMap—Documentation (10.5) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;and everything went as expected. It works normally except for one thing. In my webmap json input I included an Image Service layer and a renderingRule (Raster Function) for server side processing on it. When the print image comes back the layer isn't there. If I remove the renderingRule from the webmap json, the custom print tool will show the Image Service layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange part is the same exact webmap json when input into the default utilities/PrintingTools/Export Web Map Task, the image returns the result as expected with the raster functions applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried just making another plain copy of the default print tool. I made it point to all the default templates and everything. I still get the same errors all around. It seems the server won't apply the raster functions for any custom print tool I publish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Arc Manager logs for the custom print tool, when I include the renderingRule in the webmap json, it says "bad syntax in request (status code&amp;nbsp;400)". The server log states: "code=103800 methodName='Map.Draw' "&lt;/P&gt;&lt;P&gt;According to this page&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/10.6/administer/windows/map-service-log-codes.htm#GUID-9A9F7CC1-5DF9-4F01-B938-1DC3573D01D4" title="https://enterprise.arcgis.com/en/server/10.6/administer/windows/map-service-log-codes.htm#GUID-9A9F7CC1-5DF9-4F01-B938-1DC3573D01D4"&gt;Map service log codes—ArcGIS Server Administration (Windows) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp; its a LayerDrawingError. What does this mean to me? How do I fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 19:03:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raster-function-not-working-in-custom-export-web/m-p/671370#M22319</guid>
      <dc:creator>TrevorSkelton</dc:creator>
      <dc:date>2019-10-23T19:03:36Z</dc:date>
    </item>
  </channel>
</rss>

