<?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: Adding ColorMap based on altitude in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/adding-colormap-based-on-altitude/m-p/1348472#M12299</link>
    <description>&lt;P&gt;in their example, they used &lt;STRONG&gt;"ShastaBW.tif"&lt;/STRONG&gt;(which you can you load and see the original image)&amp;nbsp;which is black and white image, with each point on the screen scaling from 0(black) to 255(white)&lt;BR /&gt;and in their example code, they said, every point with value under 150, will be colored red and everything above it(150-255) is yellow.&lt;BR /&gt;&lt;BR /&gt;In your code you need to think and adjust,&amp;nbsp; you .tif file , to your own color map&lt;BR /&gt;for example&lt;BR /&gt;0-75 will be blue&lt;BR /&gt;75-150 will be yellow&lt;BR /&gt;150 and above will be&amp;nbsp;&lt;SPAN&gt;black&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Nov 2023 05:49:04 GMT</pubDate>
    <dc:creator>ofirrosner</dc:creator>
    <dc:date>2023-11-12T05:49:04Z</dc:date>
    <item>
      <title>Adding ColorMap based on altitude</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/adding-colormap-based-on-altitude/m-p/1347988#M12295</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing a app that needs to show a colormap based on a known elevation value. For example I have a tiff with elevation data. I want the area that is within 125ft of a my known point to be a solid blue color, the area 125-330ft a yellow color and everything else black. The elevation data/tif is using SRTM data for now so I know I will need to convert the feet to meters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked at the &lt;A href="https://developers.arcgis.com/net/wpf/sample-code/colormap-renderer/" target="_self"&gt;ColorRamp example&lt;/A&gt;&amp;nbsp;and I am unclear what these values represent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this example the right starting point for something like this? Thanks.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Create a color map where values 0-149 are red and 150-249 are yellow.
            IEnumerable&amp;lt;Color&amp;gt; colors = new int[250]
               .Select((c, i) =&amp;gt; i &amp;lt; 150 ? Color.Red : Color.Yellow);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 21:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/adding-colormap-based-on-altitude/m-p/1347988#M12295</guid>
      <dc:creator>ZachRuiz</dc:creator>
      <dc:date>2023-11-09T21:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding ColorMap based on altitude</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/adding-colormap-based-on-altitude/m-p/1348472#M12299</link>
      <description>&lt;P&gt;in their example, they used &lt;STRONG&gt;"ShastaBW.tif"&lt;/STRONG&gt;(which you can you load and see the original image)&amp;nbsp;which is black and white image, with each point on the screen scaling from 0(black) to 255(white)&lt;BR /&gt;and in their example code, they said, every point with value under 150, will be colored red and everything above it(150-255) is yellow.&lt;BR /&gt;&lt;BR /&gt;In your code you need to think and adjust,&amp;nbsp; you .tif file , to your own color map&lt;BR /&gt;for example&lt;BR /&gt;0-75 will be blue&lt;BR /&gt;75-150 will be yellow&lt;BR /&gt;150 and above will be&amp;nbsp;&lt;SPAN&gt;black&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 05:49:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/adding-colormap-based-on-altitude/m-p/1348472#M12299</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2023-11-12T05:49:04Z</dc:date>
    </item>
  </channel>
</rss>

