<?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: Joining geodetically correct polyline segments in VB.NET in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/joining-geodetically-correct-polyline-segments-in/m-p/598741#M16080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shawn,&lt;/P&gt;&lt;P&gt;To summarize your situation, you want to join a polyline created from calling&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ConstructGeodeticLineFromPoints (polyline_1) with an existing polyline, say polyline_2, right?&amp;nbsp; If that's the case, you can&amp;nbsp;use I&lt;SPAN&gt;SegmentCollection&lt;/SPAN&gt;&amp;nbsp;like&amp;nbsp;this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim pSegColl_2 As ISegmentCollection&lt;/P&gt;&lt;P&gt;Set pSegColl_2 = polyline_2&lt;/P&gt;&lt;P&gt;Dim pSegColl_1 As ISegmentCollection&lt;/P&gt;&lt;P&gt;Set pSegColl_1 = polyline_1&lt;/P&gt;&lt;P&gt;pSegColl_2.AddSegmentCollection pSegColl_1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 00:13:46 GMT</pubDate>
    <dc:creator>WeifengHe</dc:creator>
    <dc:date>2020-10-29T00:13:46Z</dc:date>
    <item>
      <title>Joining geodetically correct polyline segments in VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/joining-geodetically-correct-polyline-segments-in/m-p/598740#M16079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some VB.NET code which is constructing a line piece by piece from a set of coordinates in a table.&amp;nbsp; I was creating the separate iLine and then adding those to a Path object.&amp;nbsp; Once the series of point composing the line is finished then I add that Geometry into a Polyline.&amp;nbsp; And that works.&amp;nbsp; It has recently transpired that creating that I want to create the line as geodesics or loxodromes, depending upon the line.&amp;nbsp; I found the ConstructGeodeticLineFromPoints member of the IConstructGeodetic interface.&amp;nbsp; But this creates Polylines so the previous code I had with Paths is no longer working.&amp;nbsp; I am trying to Union my spearate geodetically accurate polyline segments with a TopologicalOperator but that is taking a whole lot longer and runs into problems after a while.&amp;nbsp; I was trying to look into SegmentCollections and GeometryCollections to mimic what I had been doing previously with iLines and Paths, but it doesn't seem to be working.&amp;nbsp; Does anybody have any experience with easily joining together polyline elements programatically together?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 20:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/joining-geodetically-correct-polyline-segments-in/m-p/598740#M16079</guid>
      <dc:creator>shawnstanley</dc:creator>
      <dc:date>2020-10-15T20:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Joining geodetically correct polyline segments in VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/joining-geodetically-correct-polyline-segments-in/m-p/598741#M16080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shawn,&lt;/P&gt;&lt;P&gt;To summarize your situation, you want to join a polyline created from calling&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ConstructGeodeticLineFromPoints (polyline_1) with an existing polyline, say polyline_2, right?&amp;nbsp; If that's the case, you can&amp;nbsp;use I&lt;SPAN&gt;SegmentCollection&lt;/SPAN&gt;&amp;nbsp;like&amp;nbsp;this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim pSegColl_2 As ISegmentCollection&lt;/P&gt;&lt;P&gt;Set pSegColl_2 = polyline_2&lt;/P&gt;&lt;P&gt;Dim pSegColl_1 As ISegmentCollection&lt;/P&gt;&lt;P&gt;Set pSegColl_1 = polyline_1&lt;/P&gt;&lt;P&gt;pSegColl_2.AddSegmentCollection pSegColl_1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 00:13:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/joining-geodetically-correct-polyline-segments-in/m-p/598741#M16080</guid>
      <dc:creator>WeifengHe</dc:creator>
      <dc:date>2020-10-29T00:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Joining geodetically correct polyline segments in VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/joining-geodetically-correct-polyline-segments-in/m-p/598742#M16081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey Weifang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much, that worked.&amp;nbsp; I didn't think to try doing it that way at all.&amp;nbsp; That's so simple, and so elegant - exactly what I was hoping for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 16:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/joining-geodetically-correct-polyline-segments-in/m-p/598742#M16081</guid>
      <dc:creator>shawnstanley</dc:creator>
      <dc:date>2020-10-29T16:21:52Z</dc:date>
    </item>
  </channel>
</rss>

