<?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: COG ImageryTileLayer renderers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235789#M79469</link>
    <description>&lt;P&gt;Thanks for the reply. My raster does have only 1 band. I have changed the UVR field property to "Value" and removed the bandIds property from the layer... Same result. Anything else that could be the issue?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 08:47:30 GMT</pubDate>
    <dc:creator>TumasGuogis</dc:creator>
    <dc:date>2022-11-29T08:47:30Z</dc:date>
    <item>
      <title>COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235325#M79453</link>
      <description>&lt;P&gt;Hello, I have COGs with integer values, and I'd like to be able to assign colors to value ranges, e.g.: 0-200 - blue, 200-400 - green, etc., but the only renderer that seems to work is the automatically assigned stretch-renderer. I've tried uniqueValueRenderer, which the API reference suggests is my only option without statistics files, but the entire raster shows up as black. Could I possibly get a working example or something? Thanks.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;The way I tried it (supposed to make entire raster cyan, but it shows up as black):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;LI-SPOILER&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;uvr&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;UniqueValueRenderer&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;field&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"Raster.ServicePixelValue"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;uniqueValueInfos&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; []&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;let&lt;/SPAN&gt; &lt;SPAN&gt;i&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;SPAN&gt;i&lt;/SPAN&gt; &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN&gt;max&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;SPAN&gt;i&lt;/SPAN&gt;&lt;SPAN&gt;++){&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;uniqueValue&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;UniqueValueInfo&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;i&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;symbol&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"simple-fill"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;color&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"#00ffff"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; })&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;uvr&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;uniqueValueInfos&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;push&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;uniqueValue&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;layer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;ImageryTileLayer&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;A href="http://localhost:6061/raster.tif" target="_blank"&gt;http://localhost:6061/raster.tif&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;bandIds&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;interpolation&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"nearest"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;renderer&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;uvr&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI-SPOILER&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Nov 2022 11:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235325#M79453</guid>
      <dc:creator>TumasGuogis</dc:creator>
      <dc:date>2022-11-28T11:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235572#M79462</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It looks like your COG file has more than one band (based on your code snippet). The UniqueValueRenderer cannot be applied to a service or COG that has more than one band.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To assign UniqueValueRenderer to an ImageryTileLayer with COG the following two conditions must be met:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;The COG file must have only one band.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Set the UVR.field to "Value&lt;EM&gt;"&lt;/EM&gt;. The Raster&lt;SPAN&gt;.ServicePixelValue field is only used for popupTemplate. You can find the more info about it from here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#rasterFields/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#rasterFields.&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 19:21:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235572#M79462</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2022-11-28T19:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235789#M79469</link>
      <description>&lt;P&gt;Thanks for the reply. My raster does have only 1 band. I have changed the UVR field property to "Value" and removed the bandIds property from the layer... Same result. Anything else that could be the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 08:47:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235789#M79469</guid>
      <dc:creator>TumasGuogis</dc:creator>
      <dc:date>2022-11-29T08:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235969#M79474</link>
      <description>&lt;P&gt;Assuming you have a categorical data. Not sure why it is still black. I cant think of anything else without looking at the image itself. Can you share your COG?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 16:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1235969#M79474</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2022-11-29T16:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236096#M79478</link>
      <description>&lt;P&gt;Here it is. I had to ZIP it since .tif isn't allowed&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 19:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236096#M79478</guid>
      <dc:creator>TumasGuogis</dc:creator>
      <dc:date>2022-11-29T19:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236550#M79501</link>
      <description>&lt;P&gt;Thank you so much for providing me with the cog file. So several things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The imagery is black for two reasons. First,&amp;nbsp;the pixel values for your COG file ranges between -55 to -227 and it has 153 unique values. However, you are looping through where i=0 to max number and applying the i value to uniqueValueInfo.value which does not exist in your image. Even if you fix this your image will be still black. See the following for why.&lt;/P&gt;&lt;P&gt;Second and the more important reason is that your cog tif file has pixel type of Int32 which translates to ImageryTileLayer.rasterInfo.pixelType of "S32". &amp;nbsp;So&amp;nbsp;I must amend my previous statement about assigning UniqueValueRenderer to an ImageryTileLayer...&lt;SPAN&gt;&amp;nbsp;the following conditions must be met:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The image must have only one band.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Image must either&lt;BR /&gt;-- have a raster attribute table: you can use any numeric or string field from the table in UV.&lt;BR /&gt;--or u8 / s8 pixel type: you can only use "Value" field.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;To apply UniqueValueRenderer to your COG you need to add attribute table to your image or change the pixel type to either u8 or s8. I have tested the image by changing the image pixel type and verified that it works. The u8 pixel values must range between&amp;nbsp;&lt;SPAN&gt;0 - 255, and s8 pixel values must range between&amp;nbsp;-128 - 127. See&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-RasterInfo.html#pixelType" target="_self"&gt;pixelType&lt;/A&gt;&amp;nbsp;doc for more info on pixel value ranges.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To convert your COG to have pixelType of u8 or s8, it is probably easiest to use ArcGIS&amp;nbsp;&lt;/SPAN&gt;PRO. First use, &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/raster-functions/plus-function.htm" target="_self"&gt;Plus function geoprocessing tool&lt;/A&gt; with a constant number (256 for example) + your tif. You know your data better so please adjust accordingly. Then use the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy-raster.htm" target="_self"&gt;Copy Raster Geoprocessing&lt;/A&gt; tool to convert the tif file to COG. For example, I did use the following params.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-11-30 at 10.23.11 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57258i3142EC973E6B79F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-11-30 at 10.23.11 AM.png" alt="Screen Shot 2022-11-30 at 10.23.11 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I use able to add and assign UVR to your COG successfully. I used only 10 color combos for the following image...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-11-30 at 10.31.57 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57264i953D4995F2B710A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-11-30 at 10.31.57 AM.png" alt="Screen Shot 2022-11-30 at 10.31.57 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 19:49:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236550#M79501</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2022-11-30T19:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236632#M79508</link>
      <description>&lt;P&gt;Thanks for all your help.&lt;/P&gt;&lt;P&gt;Sadly my data will not fit into 8 bits (nor am I keen to build attribute tables for each raster I generate). I did try building attribute tables via arcgis pro just to test though and my raster is still black.&lt;/P&gt;&lt;P&gt;Ideally I'd just set ranges with classBreaksRenderer but it seems there's no way to get this to work either?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 22:05:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236632#M79508</guid>
      <dc:creator>TumasGuogis</dc:creator>
      <dc:date>2022-11-30T22:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236869#M79523</link>
      <description>&lt;P&gt;ClassbreaksRenderer should work! Please feel free to share your code with me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use RasterStretchRenderer for your cog. The following an example that works your cog. Please refer to this doc to learn more about stretching:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/histogram-stretching.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/histogram-stretching.htm&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const layer = new ImageryTileLayer({
   renderer: new RasterStretchRenderer({
   stretchType: "min-max",
   statistics: [[-227, 50, -172, 19]],
   useGamma: false,
   computeGamma: false,
   dra: false,
   gamma: [1],
   colorRamp: {
     type: "multipart",
     colorRamps: [
       new AlgorithmicColorRamp({
          algorithm: "hsv",
          fromColor: [255, 45, 8, 255],
          toColor: [255, 57, 251, 255]
       }),
       new AlgorithmicColorRamp({
         algorithm: "hsv",
         fromColor: [255, 57, 251,255],
         toColor: [26,35,253,255]
       }),
       new AlgorithmicColorRamp({
         algorithm: "hsv",
         fromColor: [ 26, 35, 253, 255],
         toColor: [ 0, 181, 255, 255 ]
       }),
       new AlgorithmicColorRamp({
        algorithm: "hsv",
        fromColor: [ 0, 181, 255, 255 ],
        toColor: [ 0, 253, 255, 255 ]
       }),
       new AlgorithmicColorRamp({
         algorithm: "hsv",
         fromColor: [ 0, 253, 255, 255 ],
         toColor: [ 0, 251, 50, 255 ]
       }),
       new AlgorithmicColorRamp({
         algorithm: "hsv",
         fromColor: [ 0, 251, 50, 255 ],
         toColor: [ 255, 254, 52, 255 ]
       }),
       new AlgorithmicColorRamp({
         algorithm: "hsv",
         fromColor: [ 255, 254, 52, 255 ],
         toColor: [ 255, 181, 61, 255 ]
       }),
       new AlgorithmicColorRamp({
         algorithm: "hsv",
         fromColor: [ 255, 181, 61, 255 ],
         toColor: [ 255, 45, 8, 255 ]
       }),
       new AlgorithmicColorRamp({
         algorithm: "hsv",
         fromColor: [ 255, 45, 8, 255 ],
         toColor: [ 190, 190, 190, 255 ]
       })
     ]
    }
   }),
   url: "data/cog/raster.tif",
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236869#M79523</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2022-12-01T16:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: COG ImageryTileLayer renderers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236996#M79525</link>
      <description>&lt;P&gt;ClassBreaksRenderer worked!&amp;nbsp;I must've been doing something wrong when I was trying it before..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your time.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    const renderer = new ClassBreaksRenderer({
      field: "Value"
    })
    
    renderer.addClassBreakInfo({
      minValue: -250,
      maxValue: 0,
      symbol:{
        type:"simple-fill",
        color:"#00FFFF"
      }
    })

    const layer = new ImageryTileLayer({
      url: "http://localhost:6061/raster.tif",
      interpolation: "nearest",
      renderer: renderer
    })&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TumasGuogis_0-1669927692134.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57398iE1278A7CB25F89E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TumasGuogis_0-1669927692134.png" alt="TumasGuogis_0-1669927692134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 20:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cog-imagerytilelayer-renderers/m-p/1236996#M79525</guid>
      <dc:creator>TumasGuogis</dc:creator>
      <dc:date>2022-12-01T20:48:23Z</dc:date>
    </item>
  </channel>
</rss>

