<?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: Create points on a line upon insert or update in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/create-points-on-a-line-upon-insert-or-update/m-p/1322895#M1078</link>
    <description>&lt;P&gt;Take a look at this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.md" target="_blank"&gt;https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.js" target="_blank"&gt;https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.js&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 08:41:46 GMT</pubDate>
    <dc:creator>MikeMillerGIS</dc:creator>
    <dc:date>2023-08-28T08:41:46Z</dc:date>
    <item>
      <title>Create points on a line upon insert or update</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/create-points-on-a-line-upon-insert-or-update/m-p/1322861#M1077</link>
      <description>&lt;P&gt;Hello Attribute Rules community,&lt;/P&gt;&lt;P&gt;I am just wondering if we can achieve to create points on a line feature with pre-specified interval (e.g. 100m) by immediate calculation using Arcade. For example, upon the insert a new line or update an existing line feature, points will be created dynamically on the line feature with pre-specified intervals.&amp;nbsp;&lt;BR /&gt;I was searching any posts relevant to this topic in Attribute Rules community, yet there has not been any by the look.&lt;/P&gt;&lt;P&gt;So far, what I know is only how to create start and end points on the line as per below. Much appreciated if anyone knows and tell me how to achieve this.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var start_point = Geometry($feature).paths[0][0]
var end_point = Geometry($feature).paths[-1][-1]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 05:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/create-points-on-a-line-upon-insert-or-update/m-p/1322861#M1077</guid>
      <dc:creator>Aнастасия88</dc:creator>
      <dc:date>2023-08-28T05:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create points on a line upon insert or update</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/create-points-on-a-line-upon-insert-or-update/m-p/1322895#M1078</link>
      <description>&lt;P&gt;Take a look at this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.md" target="_blank"&gt;https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.js" target="_blank"&gt;https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.js&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 08:41:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/create-points-on-a-line-upon-insert-or-update/m-p/1322895#M1078</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-08-28T08:41:46Z</dc:date>
    </item>
  </channel>
</rss>

