<?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: Multiple RPF Datasets and App Performance in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607685#M13491</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;I have been playing around with MosaicDatasetRaster and I am able to create the .sql database with the RPF tiles.&amp;nbsp; Unfortunately, the MosaicDatasetRaster will not display on my map.&amp;nbsp; Here is my code:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        private async void DisplayRPFDataSetMosaic(string directory)
        {
            string localStorage = @"C:\temp\test.geodatabase";
            MosaicDatasetRaster rasterMosaic = MosaicDatasetRaster.Create(localStorage, "RPF", SpatialReferences.Wgs84);

            rasterMosaic.LoadStatusChanged += async (s, e) =&amp;gt;
            {
                if (e.Status == Esri.ArcGISRuntime.LoadStatus.Loaded)
                {
                    AddRastersParameters parameters = new AddRastersParameters
                    {
                        InputDirectory = directory,
                    };                   
                    await rasterMosaic.AddRastersAsync(parameters);
                }
            };
            await rasterMosaic.LoadAsync();
            RasterLayer? rasterLayer = new RasterLayer(rasterMosaic);
            MyMap?.OperationalLayers.Add(rasterLayer);
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Any ideas on what the issue could be?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 15:41:41 GMT</pubDate>
    <dc:creator>Jeffrey_McNeal</dc:creator>
    <dc:date>2025-04-21T15:41:41Z</dc:date>
    <item>
      <title>Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1606852#M13477</link>
      <description>&lt;P&gt;My team is working on an application that ingests multiple RPF datasets of different granularity/detail.&amp;nbsp; When all these datasets are loaded all at once, the app slows way down when zooming in or out.&amp;nbsp; Any suggestions on how to alleviate this behavior?&lt;/P&gt;&lt;P&gt;My RPF ingest follows the pattern:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;foreach file in dataset 
{
    Raster newRasterFile = new file;
    rasterLayer = new RasterLayer(newRasterFile);
    GeoMap?.OperationalLayers.Add(rasterLayer);
    await rasterLayer.LoadAsync();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 15:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1606852#M13477</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-24T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607046#M13480</link>
      <description>&lt;P&gt;Have you tried using a Mosaic Dataset instead?&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Rasters.MosaicDatasetRaster.html" target="_blank"&gt;https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Rasters.MosaicDatasetRaster.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 18:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607046#M13480</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-04-17T18:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607685#M13491</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;I have been playing around with MosaicDatasetRaster and I am able to create the .sql database with the RPF tiles.&amp;nbsp; Unfortunately, the MosaicDatasetRaster will not display on my map.&amp;nbsp; Here is my code:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        private async void DisplayRPFDataSetMosaic(string directory)
        {
            string localStorage = @"C:\temp\test.geodatabase";
            MosaicDatasetRaster rasterMosaic = MosaicDatasetRaster.Create(localStorage, "RPF", SpatialReferences.Wgs84);

            rasterMosaic.LoadStatusChanged += async (s, e) =&amp;gt;
            {
                if (e.Status == Esri.ArcGISRuntime.LoadStatus.Loaded)
                {
                    AddRastersParameters parameters = new AddRastersParameters
                    {
                        InputDirectory = directory,
                    };                   
                    await rasterMosaic.AddRastersAsync(parameters);
                }
            };
            await rasterMosaic.LoadAsync();
            RasterLayer? rasterLayer = new RasterLayer(rasterMosaic);
            MyMap?.OperationalLayers.Add(rasterLayer);
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Any ideas on what the issue could be?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 15:41:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607685#M13491</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-21T15:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607718#M13492</link>
      <description>&lt;P&gt;Hard to say. What is happening (or not happening)?&lt;BR /&gt;Is there a reason you use the loadstatuschanged event, rather than just adding the rasters after the loadasync call? Are all your raster files in wgs84? Are you able to add the rasters before the load?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 16:30:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607718#M13492</guid>
      <dc:creator>SomeGISGuy</dc:creator>
      <dc:date>2025-04-21T16:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607976#M13495</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/464411"&gt;@SomeGISGuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to answer your questions as best I can:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;What is happening (or not happening)?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;RPF map packages won't appear on the base map using MosaicDatasetRaster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;EM&gt;Is there a reason you use the loadstatuschanged event?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;No reason.&amp;nbsp; That was the from the example I found on &lt;STRONG&gt;developers.argis.com&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Are all your raster files in WGS84?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I am assuming yes.&amp;nbsp; These raster packages are being sourced by NGA.&amp;nbsp; My definition of raster package is a bunch of RPF files that define a specific region in the world.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;EM&gt;Are you able to add the rasters before the load?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I just tried that, and it hangs up my basemap where you can't zoom in and out anymore.&amp;nbsp; ( I am not sure if I am implementing the MosaicDatasetRaster correctly - I am piecing together different examples trying to get something to work)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 14:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1607976#M13495</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-23T14:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608164#M13496</link>
      <description>&lt;P&gt;Another thing to note is to make sure your map itself is using the same spatial reference as your raster mosaic. You can set that explicitly in the Map constructor.&lt;BR /&gt;It's also worth checking both the layer.LoadStatus as well as MapView.DrawStatus events for any indication why a layer might not render (generally this should also be written to the output window while debugging).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It's also worth ensuring your source dataset is actually wgs84/epsg4326 - it's fairly rare rasters aren't in a projected coordinate system&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 16:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608164#M13496</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-04-22T16:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608469#M13501</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;My basemap is WGS84 and the RPF map packages are also WGS84.&amp;nbsp; Let me throw this out there: my basemap is a Mobile Map Package.&amp;nbsp; Does that have any bearing on what I am trying to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;layer.LoadStatus/MapView.DrawStatus&lt;/P&gt;&lt;P&gt;Verified that layer.LoadStatus is "loaded".&amp;nbsp;&lt;/P&gt;&lt;P&gt;MapView.DrawStatus.&amp;nbsp; This is where I might be doing things wrong.&amp;nbsp; I am adding the new layer to Map.OperationalLayers.&amp;nbsp; Is this not correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 14:03:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608469#M13501</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-23T14:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608752#M13504</link>
      <description>&lt;P&gt;No that's fine but perhaps try without a basemap, just to exclude the chance you're hitting reprojection issues. However that's why I'm asking about the DrawStatus event - this one will tell you if there are issues with rendering any of the layers.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 23:05:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608752#M13504</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-04-23T23:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608899#M13506</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with this line of code I can see that DrawStatus = Completed:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ConnectedView?.Dispatcher.Invoke(() =&amp;gt; ConnectedMapView?.Map?.OperationalLayers.Add(newLayer));&lt;/LI-CODE&gt;&lt;P&gt;But....&amp;nbsp; The map does not render and then the Basemap becomes unresponsive (you can no longer zoom in/out).&amp;nbsp; No exceptions thrown and no warnings.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 13:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608899#M13506</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-24T13:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608952#M13507</link>
      <description>&lt;P&gt;I'm sorry. I brainfarted and said DrawStatus event, but I really mean LayerViewStateChanged:&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/netwin/wpf/Esri.ArcGISRuntime.UI.Controls.GeoView.LayerViewStateChanged.html" target="_blank"&gt;https://developers.arcgis.com/net/api-reference/api/netwin/wpf/Esri.ArcGISRuntime.UI.Controls.GeoView.LayerViewStateChanged.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also monitor your debuggers' output window for any indication of layer rendering issues.&lt;BR /&gt;&lt;BR /&gt;Btw. I'd rewrite the layer load code (the code in the doc isn't ideal and I've asked to get it fixed). Instead of doing it in the event, just wait for loadasync and then add your rasters. It simplifies the flow and should give you better error propagation as well:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;MosaicDatasetRaster rasterMosaic = MosaicDatasetRaster.Create(@"C:\Data\mosaic.sqlite", "Shasta", SpatialReferences.WebMercator);
await rasterMosaic.LoadAsync();
AddRastersParameters parameters = new AddRastersParameters
{
    InputDirectory = @"..\incoming\data\rasters"
};
await rasterMosaic.AddRastersAsync(parameters);&lt;/LI-CODE&gt;&lt;P&gt;It would be a good idea to just step through the code to see if the hang is occurring anywhere in your code and what line that might be causing it, or whether it happens somewhere else.&lt;BR /&gt;&lt;BR /&gt;Lastly, as mentioned please try without specifying a basemap.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 15:56:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608952#M13507</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-04-24T15:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608968#M13510</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;I tried the new code snippet, but I am getting the same results.&amp;nbsp; I'll start playing around with disabling the base map.&lt;/P&gt;&lt;P&gt;One item of interest: When I am loading each map tile into its own RasterLayer as in my original code segment, I get an expected an Envelope:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;{Envelope[XMin=-80.51573604060913, YMin=32.51048592608696, XMax=-80.497461928934, YMax=32.52429666777494, Wkid=4326]}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;When I put all the map tiles into the mosaic and then create a RasterLayer from the mosaic, I see an Envelope like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{Envelope[XMin=-80.51573604099997, YMin=-767.5, XMax=767.5000000000002, YMax=32.99386188500006, Wkid=4326]}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The Ymin and XMax appear to be really whacked out.&amp;nbsp; I wonder if this confusing the map engine somehow?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1608968#M13510</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-25T12:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1609193#M13514</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going to come at this problem a little bit different.&amp;nbsp; I am going describe the RPF dataset that my users are receiving from NGA that they want to ingest in my application.&amp;nbsp; These datasets follow the structure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Charleston&lt;UL&gt;&lt;LI&gt;CIB01CDS_5517_0&lt;UL&gt;&lt;LI&gt;rpf&lt;UL&gt;&lt;LI&gt;A.TOC (file)&lt;/LI&gt;&lt;LI&gt;ni176h1&lt;UL&gt;&lt;LI&gt;*.i42 (bunch of files)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;ni176i1&lt;UL&gt;&lt;LI&gt;*.i42 (bunch of files)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My application needs to ingest the map tiles that are located in the /ni76h1 and /ni176i1 directories to build a complete map.&amp;nbsp; I am able to do this with recursively loading all file names with a .i42 extension into their own Raster, creating a new RasterLayer from each Raster, and then adding them to the OperationalLayer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the MosaicDatasetRaster the correct vehicle to do the above or is there a better way?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:21:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1609193#M13514</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-25T12:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1610037#M13522</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/464411"&gt;@SomeGISGuy&lt;/a&gt;&amp;nbsp;Circling back: Do you guys have any further suggestions or any other resources I could explore for getting the MosaicDatasetRaster to display?&amp;nbsp;&lt;/P&gt;&lt;P&gt;FWIW: I am able to pull the geodatabase created by the MosaicDatasetRaster into ArcGIS Pro, but it only displays colored tiles within the boundaries of the dataset.&amp;nbsp; Still can't see map content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 16:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1610037#M13522</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-04-29T16:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1612026#M13535</link>
      <description>&lt;P&gt;I am going to try this with a GroupLayer.&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 16:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1612026#M13535</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-05-06T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple RPF Datasets and App Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1641285#M13628</link>
      <description>&lt;P&gt;Hello, I was able to get the below code working.&amp;nbsp; &amp;nbsp;Unfortunately, when I load multiple maps with multiple map tiles my app's performance drop significantly to the point where I cannot zoom in and out (well, very slowly, anyway).&amp;nbsp; As I am looking at memory consumption, my app is upwards of 6.2 gigs with 2 RPF datasets loaded.&amp;nbsp; Any recommendations on fixing performance slowdown?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;GroupLayer groupLayer = new();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;groupLayer.Name = folderName;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;int totalTilesProcessed = 0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Busy = true;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;foreach (string file in fileList)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Raster newRasterFile = new(file);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RasterLayer rasterLayer = new RasterLayer(newRasterFile);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;groupLayer.Layers.Add(rasterLayer);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;totalTilesProcessed++;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;await Task.Delay(1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;//Hacky&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Application.Current.Dispatcher.Invoke(() =&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;TakRoverMap?.OperationalLayers.Add(groupLayer);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;GroupLayerCollection.Add(groupLayer.Name);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;});&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// Wait for all of the layers in the group layer to load.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;await Task.WhenAll(groupLayer.Layers.ToList().Select(m =&amp;gt; m.LoadAsync()).ToList());&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if (groupLayer.FullExtent != null &amp;amp;&amp;amp; !HasZoomedIn)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Controller?.ZoomToExtent(groupLayer.FullExtent!);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 12 Aug 2025 16:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multiple-rpf-datasets-and-app-performance/m-p/1641285#M13628</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-08-12T16:37:45Z</dc:date>
    </item>
  </channel>
</rss>

