<?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: ESRI Graphics Layer Rendering Performance in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332073#M8522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please share code for rendering if possible&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to render a few hundred lines&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 08:47:03 GMT</pubDate>
    <dc:creator>SantoshV</dc:creator>
    <dc:date>2011-02-03T08:47:03Z</dc:date>
    <item>
      <title>ESRI Graphics Layer Rendering Performance</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332070#M8519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[ I just found this &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/2599-GraphicsLayer-in-Silverlight?highlight=performance"&gt;http://http://forums.arcgis.com/threads/2599-GraphicsLayer-in-Silverlight?highlight=performance&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; as I was about to post the following ... I will check it out further]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using the ESRI Silverlight API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All works OK ... until I try to scale the number of icons to display/render.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We need to be able to scale to 1000's of icons on a map at the same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example ... there are 9300 trees for this project .... and lots of buildings, electrical lines, power lines, high pressure lines, manhole covers, etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Often many displayed at same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I built a simple spike to compare the rendering of ESRI Graphics Layer vs basic Silverlight Canvas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the ESRI Graphics Layer spike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rem7.info/rgia/GraphicsLayerSpike/ESRIClearGraphicsLayerTestPage.html"&gt;http://rem7.info/rgia/GraphicsLayerSpike/ESRIClearGraphicsLayerTestPage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two buttons,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;POINT PictureMarkerSymbol&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;POINT Image&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both randomly render TreeIcons (Points) to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The resources are defined as,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Grid.Resources&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:PictureMarkerSymbol x:Name="TreeSymbol" Source="xxxxx" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Image x:Name="TreeIcon" Source="xxxxx" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Grid.Resources&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The button labeled "POINT PictureMarkerSymbol" directly calls the "TreeSymbol" resource above for each tree icon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The button labeled "POINT Image" calls "TreeSymbol" once ... gets its source ... and uses the source to build new PictureMarkerSymbol instances ... one for each new tree icon to be displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They should do about the same thing ... and that appears to be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The TextBox is where you can enter the number of trees to randomly display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try 10 ... 100 .... 1000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is 1000 that really "hangs" ... sometimes 20+ seconds to render.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The VS2010 solution is zipped here,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rem7.info/rgia/code/ESRIClearGraphicsLayerSLN.zip"&gt;http://rem7.info/rgia/code/ESRIClearGraphicsLayerSLN.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For COMPARISON ... here is link to similar test ... but where the tree icons are written to a Silverlight Canvas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rem7.info/rgia/SlvPerfSpike/SilverlightPerformanceSpikeTestPage.html"&gt;http://rem7.info/rgia/SlvPerfSpike/SilverlightPerformanceSpikeTestPage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can enter 10000 enter the TextBox and hit the "Web Images" button ... and it renders fast.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SOOOOOOOOOOOOO .... are we doing something wrong in how we are coding the display of tree icons in the above very simple project???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this just an ESRI performance issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only thing we can think of now is to group 1000 into ten groups of 100 ... and display one group at a time ... certainly not something that we planned to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any info would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-richard boyd-&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rgia.org/"&gt;http://rgia.org/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 00:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332070#M8519</guid>
      <dc:creator>richardboyd</dc:creator>
      <dc:date>2010-07-09T00:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Graphics Layer Rendering Performance</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332071#M8520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Richard-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Take a look at the following KB article: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=37033"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=37033&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&amp;nbsp; It discusses a technique for enhancing graphic display when symbolizing points with images.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Rex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 06:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332071#M8520</guid>
      <dc:creator>RexHansen</dc:creator>
      <dc:date>2010-07-09T06:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Graphics Layer Rendering Performance</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332072#M8521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;REX&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx for solution ... it worked great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI ... 3 options posted online.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 - Straight Silverlight&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rem7.info/rgia/SlvPerfSpike/SilverlightPerformanceSpikeTestPage.html"&gt;http://rem7.info/rgia/SlvPerfSpike/SilverlightPerformanceSpikeTestPage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 - ESRI + Silverlight&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rem7.info/rgia/GraphicsLayerSpike/ESRIClearGraphicsLayerTestPage.html"&gt;http://rem7.info/rgia/GraphicsLayerSpike/ESRIClearGraphicsLayerTestPage.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: The button "POINT ImageBrush" is your suggested fix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 - BING + Silverlight&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://rem7.info/rgia/bing/PushpinSampleTestPage.html"&gt;http://rem7.info/rgia/bing/PushpinSampleTestPage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-richard-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 02:35:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332072#M8521</guid>
      <dc:creator>richardboyd</dc:creator>
      <dc:date>2010-07-12T02:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Graphics Layer Rendering Performance</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332073#M8522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please share code for rendering if possible&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to render a few hundred lines&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 08:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-graphics-layer-rendering-performance/m-p/332073#M8522</guid>
      <dc:creator>SantoshV</dc:creator>
      <dc:date>2011-02-03T08:47:03Z</dc:date>
    </item>
  </channel>
</rss>

