<?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: Get points along a polyline at defined distance in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441788#M11998</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;I would try ICurve.QueryPoint&amp;nbsp; this method should do it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have fun&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mody&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 04:27:17 GMT</pubDate>
    <dc:creator>ModyBuchbinder</dc:creator>
    <dc:date>2014-06-10T04:27:17Z</dc:date>
    <item>
      <title>Get points along a polyline at defined distance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441786#M11996</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;i need to store into my array the points along the polyline each defined distance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Polyline lenght is 50m, i set interval to 5m. I have to store in the array all the points along the polyline each 5meter.(points on 0m-5m-10m-15m....).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using c#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any function to get theese points?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441786#M11996</guid>
      <dc:creator>AndreaMatoffi</dc:creator>
      <dc:date>2014-06-09T15:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get points along a polyline at defined distance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441787#M11997</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;i need to store into my array the points along the polyline each defined distance.&lt;BR /&gt;Example:&lt;BR /&gt;The Polyline lenght is 50m, i set interval to 5m. I have to store in the array all the points along the polyline each 5meter.(points on 0m-5m-10m-15m....).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any function to get theese points?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrea&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you convert your lines to &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//003900000001000000"&gt;Linear Referenced Routes&lt;/A&gt;&lt;SPAN&gt; using the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Create_Routes/003m00000005000000/"&gt;Create Routes&lt;/A&gt;&lt;SPAN&gt; tool you could create an event table with those distances along the line and find the positions of each using the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Make_Route_Event_Layer/003m00000008000000/"&gt;Make Route Event Layer&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; You would need to use the Error Field option to detect when a measure is not on the line.&amp;nbsp; Creating a base event table is easy in a spreadsheet and just needs a RouteID field and a double measure field with enough rows with 5m intervals to cover you longest line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can call all of the tools using the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/d/0001000003s7000000.htm"&gt;.Net geoprocessing&lt;/A&gt;&lt;SPAN&gt; interface to call the tools.&amp;nbsp; Or creeate the routes in Desktop before coding your solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441787#M11997</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2014-06-09T15:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get points along a polyline at defined distance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441788#M11998</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;I would try ICurve.QueryPoint&amp;nbsp; this method should do it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have fun&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mody&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 04:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441788#M11998</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2014-06-10T04:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get points along a polyline at defined distance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441789#M11999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Edit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works, thanks a lot mody.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to store 2 polylines (one selected from arcmap and one created in c#) into one shape file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, how can i do it? Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 06:26:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441789#M11999</guid>
      <dc:creator>AndreaMatoffi</dc:creator>
      <dc:date>2014-06-10T06:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get points along a polyline at defined distance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441790#M12000</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;Polyline is just a collection of geometries (path's for polyline) that can be accessed by IGeometryCollection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create a new polyline and use the IGeometryCollection.AddGeometry to add the path's from both original polylines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The result polyline will be multipart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have fun&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mody&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 04:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-points-along-a-polyline-at-defined-distance/m-p/441790#M12000</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2014-06-11T04:43:23Z</dc:date>
    </item>
  </channel>
</rss>

