<?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: Load MXD performance in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580303#M15688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Harsha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What format is your underlying data stored as? If you've got MM then that should be stuck in a File Geodatabase and compressed. If any of your data is Shapefile make sure you have built spatial indices for them. If your data is multi-part explode it into single part and make sure you have a scale threshold set for layers. If you are opening the MXD at the level of the UK you only want to be displaying the coastline and probably key cities, motorways then the other datasets become visible at their appropriate scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Dec 2010 12:41:53 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2010-12-15T12:41:53Z</dc:date>
    <item>
      <title>Load MXD performance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580302#M15687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have developed an ArcEngine 9.3.1 application. It typically loads a map document by calling LoadMxFile and then zooms to a location on the map. The mxd file can have multiple mastermap layers and rasters. The document is saved zoomed at the relevant area of interest ??? in this case the whole of the UK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The LoadMxFile call can take a long time to complete resulting in poor performance. Can you suggest a way of improving application performance, especially in situations where we know that we intend to zoom in on a different location? Is it possible to call the loadMx method asynchronously and then cancel the drawing of the layers and zoom to a location? We want to be able to do this programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Harsha&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 09:50:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580302#M15687</guid>
      <dc:creator>HarshaPerera</dc:creator>
      <dc:date>2010-12-15T09:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Load MXD performance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580303#M15688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Harsha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What format is your underlying data stored as? If you've got MM then that should be stuck in a File Geodatabase and compressed. If any of your data is Shapefile make sure you have built spatial indices for them. If your data is multi-part explode it into single part and make sure you have a scale threshold set for layers. If you are opening the MXD at the level of the UK you only want to be displaying the coastline and probably key cities, motorways then the other datasets become visible at their appropriate scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 12:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580303#M15688</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2010-12-15T12:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load MXD performance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580304#M15689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a ReadMxMaps method that allows you to load up the mxd in memory but not into the mapcontrol.&amp;nbsp; You might want to do that, set the extent of the map or pause the drawing and then load the map to the control by setting the mapcontrol's map property.&amp;nbsp; It also give you a chance to pick the appropriate map if there are multiple dataframes in your mxd.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 14:42:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580304#M15689</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2010-12-15T14:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load MXD performance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580305#M15690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;We have developed an ArcEngine 9.3.1 application. It typically loads a map document by calling LoadMxFile and then zooms to a location on the map. The mxd file can have multiple mastermap layers and rasters. The document is saved zoomed at the relevant area of interest �?? in this case the whole of the UK.&lt;BR /&gt;The LoadMxFile call can take a long time to complete resulting in poor performance. Can you suggest a way of improving application performance, especially in situations where we know that we intend to zoom in on a different location? Is it possible to call the loadMx method asynchronously and then cancel the drawing of the layers and zoom to a location? We want to be able to do this programmatically.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Harsha&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can scaling data ...you can increase your map performance...!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 09:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/load-mxd-performance/m-p/580305#M15690</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2010-12-17T09:31:34Z</dc:date>
    </item>
  </channel>
</rss>

