<?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: Efficiently create Polyline in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/efficiently-create-polyline/m-p/447758#M12153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your advice on IGeometryBridge2, I dind't use the method you suggested: I found more efficient IGeometryBridge2.SetWKSPoints: the performance boost was awesome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 08:32:16 GMT</pubDate>
    <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
    <dc:date>2010-07-22T08:32:16Z</dc:date>
    <item>
      <title>Efficiently create Polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/efficiently-create-polyline/m-p/447756#M12151</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;SPAN&gt;I have a huge SQL Server table with 210 millions of rows (yes... millions, 10 GB of disk space): recorded GPS positions with lat/lon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;every row as a foreign key that refers to a field track (425.000 tracks), so every track has thousands of GPS points that defines its geometry (a polyline).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to import all this data in a geodatabase file with a procedure in ArcGIS Desktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the real problem that is very time consuming is the Polyline creation starting from a List of double pair (lat and lon). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found only a way: create a PolylineClass, cast it to IPointCollection, then, for every lat/lon pair, create a PointClass and adding it to the IPointCollection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;computation time in this way is literally dramatic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to efficiently create a Polyline starting from a huge number of double pairs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 15:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/efficiently-create-polyline/m-p/447756#M12151</guid>
      <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
      <dc:date>2010-07-21T15:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Efficiently create Polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/efficiently-create-polyline/m-p/447757#M12152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe try IGeometryBridge2.InsertPoints (or AddWKSPoints).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 15:29:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/efficiently-create-polyline/m-p/447757#M12152</guid>
      <dc:creator>KirkKuykendall</dc:creator>
      <dc:date>2010-07-21T15:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Efficiently create Polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/efficiently-create-polyline/m-p/447758#M12153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your advice on IGeometryBridge2, I dind't use the method you suggested: I found more efficient IGeometryBridge2.SetWKSPoints: the performance boost was awesome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 08:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/efficiently-create-polyline/m-p/447758#M12153</guid>
      <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
      <dc:date>2010-07-22T08:32:16Z</dc:date>
    </item>
  </channel>
</rss>

