<?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: Drawing .shp file is slow with .NET C# API in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/drawing-shp-file-is-slow-with-net-c-api/m-p/1252275#M11629</link>
    <description>&lt;P&gt;I changed the RenderingMode to Dynamic. So now it draws my .shp file much faster.&lt;/P&gt;&lt;P&gt;myFeatureLayer.RenderingMode = FeatureRenderingMode.Dynamic;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2023 11:25:36 GMT</pubDate>
    <dc:creator>MattiasWesterberg</dc:creator>
    <dc:date>2023-01-27T11:25:36Z</dc:date>
    <item>
      <title>Drawing .shp file is slow with .NET C# API</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/drawing-shp-file-is-slow-with-net-c-api/m-p/1251821#M11621</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to draw a large .shp file using the class ShapefileFeatureTable as below(.NET C#).&lt;BR /&gt;The size of the .shp file is quite large: 63,6 MB (66&amp;nbsp;731&amp;nbsp;956 byte).&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Map myMap = MyMapView.Map;
ShapefileFeatureTable myShapefileFeatureTable = await ShapefileFeatureTable.OpenAsync("C:\\myShpFile.shp");
FeatureLayer myFeatureLayer = new FeatureLayer(myShapefileFeatureTable);
MyMapView.Map.OperationalLayers.Add(myFeatureLayer);&lt;/LI-CODE&gt;&lt;P&gt;The problem is that drawing it is very slow. First it takes a long time for the layer to show up at all.&lt;BR /&gt;Then when I zoom or scroll the map, it takes too long time for the layer to be redrawn.&lt;/P&gt;&lt;P&gt;When I open the same file in ArcGiS Pro it is shown much faster. Same for scrolling and zooming.&lt;/P&gt;&lt;P&gt;Is it possible to make drawing of such a large .shp file faster when using ArcGIS .NET C# API?&lt;BR /&gt;I have "licence for developer use only".&lt;/P&gt;&lt;P&gt;Any input would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks, Mattias&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 13:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/drawing-shp-file-is-slow-with-net-c-api/m-p/1251821#M11621</guid>
      <dc:creator>MattiasWesterberg</dc:creator>
      <dc:date>2023-01-26T13:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing .shp file is slow with .NET C# API</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/drawing-shp-file-is-slow-with-net-c-api/m-p/1251919#M11622</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A few questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What geometry type is your shapefile? (point/line/polygon)&lt;/LI&gt;&lt;LI&gt;Do you override the default RenderingMode (dynamic/static) For more info see&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/programming-patterns/performance-considerations/" target="_blank"&gt;Performance considerations | ArcGIS Maps SDK for .NET | ArcGIS Developers&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Do you assign symbols to individual features or a renderer to the feature layer? For more info see&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/styles-and-data-visualization/symbols-renderers-and-styles/" target="_blank"&gt;Symbols, renderers, and styles | ArcGIS Maps SDK for .NET | ArcGIS Developers&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 16:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/drawing-shp-file-is-slow-with-net-c-api/m-p/1251919#M11622</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2023-01-26T16:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing .shp file is slow with .NET C# API</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/drawing-shp-file-is-slow-with-net-c-api/m-p/1252275#M11629</link>
      <description>&lt;P&gt;I changed the RenderingMode to Dynamic. So now it draws my .shp file much faster.&lt;/P&gt;&lt;P&gt;myFeatureLayer.RenderingMode = FeatureRenderingMode.Dynamic;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 11:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/drawing-shp-file-is-slow-with-net-c-api/m-p/1252275#M11629</guid>
      <dc:creator>MattiasWesterberg</dc:creator>
      <dc:date>2023-01-27T11:25:36Z</dc:date>
    </item>
  </channel>
</rss>

