<?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 for loop for PointCollection in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/for-loop-for-pointcollection/m-p/272991#M3207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to make a point collection from an Xyz file, in order to do that, I need to aggregate the points to the point collection, but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.Geometry.PointCollection VMM40Points = new Esri.ArcGISRuntime.Geometry.PointCollection(Spatialreference);&lt;BR /&gt; &lt;BR /&gt; for (int i = 1; i == xyz.Count / 3; i += 3)&lt;BR /&gt; {&lt;BR /&gt; VMM40Points.Add(xyz[i - 1], xyz&lt;I&gt;, xyz[i + 1]);&lt;BR /&gt; }&lt;/I&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 May 2020 00:04:46 GMT</pubDate>
    <dc:creator>Erick_CamiloMorris_Duarte</dc:creator>
    <dc:date>2020-05-24T00:04:46Z</dc:date>
    <item>
      <title>for loop for PointCollection</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/for-loop-for-pointcollection/m-p/272991#M3207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to make a point collection from an Xyz file, in order to do that, I need to aggregate the points to the point collection, but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.Geometry.PointCollection VMM40Points = new Esri.ArcGISRuntime.Geometry.PointCollection(Spatialreference);&lt;BR /&gt; &lt;BR /&gt; for (int i = 1; i == xyz.Count / 3; i += 3)&lt;BR /&gt; {&lt;BR /&gt; VMM40Points.Add(xyz[i - 1], xyz&lt;I&gt;, xyz[i + 1]);&lt;BR /&gt; }&lt;/I&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2020 00:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/for-loop-for-pointcollection/m-p/272991#M3207</guid>
      <dc:creator>Erick_CamiloMorris_Duarte</dc:creator>
      <dc:date>2020-05-24T00:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: for loop for PointCollection</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/for-loop-for-pointcollection/m-p/272992#M3208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you created an array the goes x,y,z,x,y,z,...&amp;nbsp; What is the original file look like, this seems an odd way to load the&amp;nbsp;data from the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 13:47:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/for-loop-for-pointcollection/m-p/272992#M3208</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-05-26T13:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: for loop for PointCollection</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/for-loop-for-pointcollection/m-p/272993#M3209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;it doesn't seem to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is it that doesn't seem to work? Are you getting a crash, no points added, invalid results or?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you're creating new geometries, I'd recommend looking at the&amp;nbsp;GeometryBuilders, like PolygonBuilder and PolylineBuilder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 18:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/for-loop-for-pointcollection/m-p/272993#M3209</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-05-26T18:57:38Z</dc:date>
    </item>
  </channel>
</rss>

