<?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: Handling large Shapefiles in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6228#M157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another performance boost is to ensure your Shapefile has a spatial index. A spatial index is not always guaranteed, especially if the Shapfile was built by another application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can tell if you have an index by simply opening the attribute table and if you see a * in the Shape field header then you know you have a spatial index, goes for attribute indices too.&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, 20 Nov 2013 14:10:06 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2013-11-20T14:10:06Z</dc:date>
    <item>
      <title>Handling large Shapefiles</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6223#M152</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;BR /&gt;&lt;SPAN&gt;We have an App built using ArcObjects that is asked by end users to - on occasion - open large shapefiles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When these large (400k features) shapefiles are opened, we notice a significant lag in the performance of the application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have determined that part of this is due to the Application having to draw all of the features that fall within the full extent. What is the best way to limit the extent of the Map Control prior to drawing anything? Is there a method that we can use to force the extent of the Map control to a small&amp;nbsp; area prior to drawing anything?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 18:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6223#M152</guid>
      <dc:creator>LouisDeSantis</dc:creator>
      <dc:date>2013-11-18T18:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Handling large Shapefiles</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6224#M153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Double click on the feature in the table of contents to open layer properties.&amp;nbsp; The click on the General Tab then select a scale at which to become visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start with 1:24,000 and see how that works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, do this for as many of your features that do not need to be observed at full scale.&amp;nbsp; Labels as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The more features you have to draw the longer it will take.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A good part of it is also hardware.&amp;nbsp; Better graphics cards and better CPU's and RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IF it is something that people need to add on occasion then set your desired scale for the shape file and save it as a layer file.&amp;nbsp; then when someone just needs to add it real quick it will not become visible until the desired scale is reached.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 18:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6224#M153</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-11-18T18:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Handling large Shapefiles</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6225#M154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can we do this programmatically? What methods &amp;amp; properties on which 10.0, 10.1, &amp;amp; 10.2 objects should we be focusing on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 19:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6225#M154</guid>
      <dc:creator>LouisDeSantis</dc:creator>
      <dc:date>2013-11-18T19:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Handling large Shapefiles</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6226#M155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ILayer interface properties: maximumscale minimumscale&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6226#M155</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-11-19T14:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Handling large Shapefiles</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6227#M156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any method (or technique) for preventing the Map Control from drawing any features until:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-The Extent is set (in code), and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-The Layer is fully 'loaded'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the interest of minimizing the amount of time that a user has to wait for a layer to draw?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:09:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6227#M156</guid>
      <dc:creator>LouisDeSantis</dc:creator>
      <dc:date>2013-11-20T12:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Handling large Shapefiles</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6228#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another performance boost is to ensure your Shapefile has a spatial index. A spatial index is not always guaranteed, especially if the Shapfile was built by another application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can tell if you have an index by simply opening the attribute table and if you see a * in the Shape field header then you know you have a spatial index, goes for attribute indices too.&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, 20 Nov 2013 14:10:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/handling-large-shapefiles/m-p/6228#M157</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2013-11-20T14:10:06Z</dc:date>
    </item>
  </channel>
</rss>

