<?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: How to create an elevation heatmap in my WPF application in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586813#M13302</link>
    <description>&lt;P&gt;&lt;STRONG&gt;But I encountered two more problems:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;If the size of my GED or SRTM files is within &lt;STRONG&gt;5 degrees&lt;/STRONG&gt; (up to &lt;STRONG&gt;25 MB&lt;/STRONG&gt;), the raster loads without any issues. However, if I try to load &lt;STRONG&gt;larger data within 30 degrees&lt;/STRONG&gt; (from &lt;STRONG&gt;500 MB&lt;/STRONG&gt;), an error occurs during loading.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I couldn't figure out how to get the &lt;STRONG&gt;minimum and maximum elevation values&lt;/STRONG&gt; from the file.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate it if you could help me with these issues.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 06:11:38 GMT</pubDate>
    <dc:creator>AndreyTsar</dc:creator>
    <dc:date>2025-02-19T06:11:38Z</dc:date>
    <item>
      <title>How to create an elevation heatmap in my WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586303#M13297</link>
      <description>&lt;P&gt;I want to create an elevation heatmap for the current view. Where should I start? Is there an example available?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 13:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586303#M13297</guid>
      <dc:creator>AndreyTsar</dc:creator>
      <dc:date>2025-02-18T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an elevation heatmap in my WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586466#M13299</link>
      <description>&lt;P&gt;If you have your elevation data as a raster image, you could use a Raster layer with a RasterRenderer applied that maps elevation to a color ramp.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 16:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586466#M13299</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-02-18T16:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an elevation heatmap in my WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586811#M13301</link>
      <description>&lt;P&gt;Thank you very much for your response! It turned out something like this:&lt;/P&gt;&lt;P&gt;string rasterPath = @"D:\srtm_44_02.tif";&lt;/P&gt;&lt;P&gt;Raster rasterElevation = new Raster(rasterPath);&lt;BR /&gt;RasterLayer rasterLayerForDisplayInMap = new RasterLayer(rasterElevation);&lt;BR /&gt;rasterLayerForDisplayInMap.Opacity = 0.65;&lt;/P&gt;&lt;P&gt;ColorRamp myColorRamp = ColorRamp.Create(PresetColorRampType.Elevation);&lt;/P&gt;&lt;P&gt;await rasterLayerForDisplayInMap.LoadAsync();&lt;BR /&gt;await rasterElevation.LoadAsync();&lt;/P&gt;&lt;P&gt;StretchRenderer stretchRenderer = new StretchRenderer(new MinMaxStretchParameters(new List&amp;lt;double&amp;gt; { 120 }, new List&amp;lt;double&amp;gt; { 400 }), new List&amp;lt;double&amp;gt;() { 0.75 }, true, myColorRamp);&lt;/P&gt;&lt;P&gt;rasterLayerForDisplayInMap.Renderer = stretchRenderer;&lt;BR /&gt;mapView.Map.OperationalLayers.Clear();&lt;BR /&gt;mapView.Map.OperationalLayers.Add(rasterLayerForDisplayInMap);&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 06:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586811#M13301</guid>
      <dc:creator>AndreyTsar</dc:creator>
      <dc:date>2025-02-19T06:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an elevation heatmap in my WPF application</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586813#M13302</link>
      <description>&lt;P&gt;&lt;STRONG&gt;But I encountered two more problems:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;If the size of my GED or SRTM files is within &lt;STRONG&gt;5 degrees&lt;/STRONG&gt; (up to &lt;STRONG&gt;25 MB&lt;/STRONG&gt;), the raster loads without any issues. However, if I try to load &lt;STRONG&gt;larger data within 30 degrees&lt;/STRONG&gt; (from &lt;STRONG&gt;500 MB&lt;/STRONG&gt;), an error occurs during loading.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I couldn't figure out how to get the &lt;STRONG&gt;minimum and maximum elevation values&lt;/STRONG&gt; from the file.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate it if you could help me with these issues.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 06:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-create-an-elevation-heatmap-in-my-wpf/m-p/1586813#M13302</guid>
      <dc:creator>AndreyTsar</dc:creator>
      <dc:date>2025-02-19T06:11:38Z</dc:date>
    </item>
  </channel>
</rss>

