<?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: Is it the case that colormap raster functions can only render pixel values in the range of 0-255? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1390105#M83836</link>
    <description>&lt;P&gt;&lt;BR /&gt;Okay, thank you very much &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;. The solution I provided to my end-users also involves using renderer. However, I am puzzled why raster functions cannot be applied to rasters with pixel values above 255. Maybe it's designed this way, but I couldn't find any documentation explaining it.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 01:55:04 GMT</pubDate>
    <dc:creator>Lerman</dc:creator>
    <dc:date>2024-03-04T01:55:04Z</dc:date>
    <item>
      <title>Is it the case that colormap raster functions can only render pixel values in the range of 0-255?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1385235#M83705</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Is it the case that colormap raster functions can only render pixel values in the range of 0-255 for raster data? My test results suggest so, as there is no change even when modifying the outputPixelType parameter. I have created a demo to illustrate this, please see: &lt;A href="https://codepen.io/xiej/pen/qBvGmMQ?editors=1000" target="_blank"&gt;https://codepen.io/xiej/pen/qBvGmMQ?editors=1000&lt;/A&gt; . In this demo, raster values greater than 255 are not displayed. You can click the mouse on the map to view the pixel values at different locations.&lt;/P&gt;&lt;P&gt;This test outcome is beyond my expectations, and I believe colormap raster functions should not be limited to the 0-255 value range.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 02:49:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1385235#M83705</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2024-02-22T02:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it the case that colormap raster functions can only render pixel values in the range of 0-255?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1386270#M83731</link>
      <description>&lt;P&gt;Try setting an appropriate stretch before applying a colomap:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://codepen.io/john-grayson/pen/WNmqZbq" target="_self"&gt;https://codepen.io/john-grayson/pen/WNmqZbq&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 20:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1386270#M83731</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2024-02-23T20:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it the case that colormap raster functions can only render pixel values in the range of 0-255?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1386583#M83744</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;, the data can be displayed now, but the problem after applying the stretch is that the legend makes no sense.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 01:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1386583#M83744</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2024-02-26T01:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it the case that colormap raster functions can only render pixel values in the range of 0-255?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1389620#M83818</link>
      <description>&lt;P&gt;If the stretch raster function is not going to be used&amp;nbsp; conjunction with other raster functions to provide additional context to the processing of the pixels, then you might instead just use a stretch renderer if all you need is visualization. I've updated the CodePen to show this simpler alternative.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 18:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1389620#M83818</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2024-03-01T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it the case that colormap raster functions can only render pixel values in the range of 0-255?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1390105#M83836</link>
      <description>&lt;P&gt;&lt;BR /&gt;Okay, thank you very much &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;. The solution I provided to my end-users also involves using renderer. However, I am puzzled why raster functions cannot be applied to rasters with pixel values above 255. Maybe it's designed this way, but I couldn't find any documentation explaining it.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 01:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1390105#M83836</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2024-03-04T01:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it the case that colormap raster functions can only render pixel values in the range of 0-255?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1392993#M83909</link>
      <description>&lt;P&gt;HI, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;. The ESRI Support Analyst told me that this is the expected behavior, that is, the colormap only maps pixel values from 0-255. Please see: &lt;A href="https://support.esri.com/en-us/bug/the-colormap-to-rgb-raster-function-produces-raster-wit-bug-000116963" target="_blank"&gt;https://support.esri.com/en-us/bug/the-colormap-to-rgb-raster-function-produces-raster-wit-bug-000116963&lt;/A&gt; . Thank you very much for the solution you provided!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 02:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-the-case-that-colormap-raster-functions-can/m-p/1392993#M83909</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2024-03-08T02:07:15Z</dc:date>
    </item>
  </channel>
</rss>

