<?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: Rest API function for applying colorramp on image service in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-function-for-applying-colorramp-on-image/m-p/469091#M2223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In this example &lt;A href="https://developers.arcgis.com/javascript/jssamples/image_shadedreliefslope.html" title="https://developers.arcgis.com/javascript/jssamples/image_shadedreliefslope.html"&gt;Shaded relief and slope | ArcGIS API for JavaScript&lt;/A&gt; , they have used color ramp for image service. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Hope you would find this useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 14:38:24 GMT</pubDate>
    <dc:creator>JaiSiva1</dc:creator>
    <dc:date>2015-05-06T14:38:24Z</dc:date>
    <item>
      <title>Rest API function for applying colorramp on image service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-function-for-applying-colorramp-on-image/m-p/469090#M2222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;How to apply a colorramp rendering rule on image service &lt;A href="https://community.esri.com/space/2105"&gt;ArcGIS Image Server&lt;/A&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;​@&lt;/SPAN&gt;. It is not documented properly in REST API raster function section.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I tried below syntax but it neither applied it on ExportImage call nor gave any error. Any clue will be very useful.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;{"rasterFunction":"ColorRamp", "rasterFunctionArguments":{&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; "type": "algorithmic",&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; "fromColor": [115,76,0,255],&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; "toColor": [255,25,86,255],&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; "algorithm": "esriHSVAlgorithm"&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;}}}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 12:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-function-for-applying-colorramp-on-image/m-p/469090#M2222</guid>
      <dc:creator>nageshnangi1</dc:creator>
      <dc:date>2015-05-06T12:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API function for applying colorramp on image service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-function-for-applying-colorramp-on-image/m-p/469091#M2223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In this example &lt;A href="https://developers.arcgis.com/javascript/jssamples/image_shadedreliefslope.html" title="https://developers.arcgis.com/javascript/jssamples/image_shadedreliefslope.html"&gt;Shaded relief and slope | ArcGIS API for JavaScript&lt;/A&gt; , they have used color ramp for image service. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Hope you would find this useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 14:38:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-function-for-applying-colorramp-on-image/m-p/469091#M2223</guid>
      <dc:creator>JaiSiva1</dc:creator>
      <dc:date>2015-05-06T14:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API function for applying colorramp on image service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-function-for-applying-colorramp-on-image/m-p/469092#M2224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'book antiqua', palatino;"&gt;Thanks Jai,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'book antiqua', palatino;"&gt;This, I have already seen but I am unsure whether its correct approach.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'book antiqua', palatino;"&gt;As mentioned in this help section &lt;A href="http://desktop.arcgis.com/en/desktop/latest/manage-data/raster-and-images/colormap-function.htm" title="http://desktop.arcgis.com/en/desktop/latest/manage-data/raster-and-images/colormap-function.htm"&gt;Colormap function—Help | ArcGIS for Desktop&lt;/A&gt; , I was looking for some example with type 'ColorRamp'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'book antiqua', palatino;"&gt;Infact at the end of section, it says that '&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Since there is no specific color tied to each value, this will render your data as if you are using the stretched renderer'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'book antiqua', palatino; background-color: #fefefe;"&gt; But in Shaded relief example, its a creating a pixel value assigned colormap range values. I am unsure whether to proceed with this approach.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'book antiqua', palatino; background-color: #fefefe;"&gt;Thanks anyway&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-function-for-applying-colorramp-on-image/m-p/469092#M2224</guid>
      <dc:creator>nageshnangi1</dc:creator>
      <dc:date>2015-05-07T14:28:11Z</dc:date>
    </item>
  </channel>
</rss>

