<?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 along line varying distances in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747858#M32743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering, you had any luck in figuring that out? I also need to create thousands of points along the line at varying (known) distances but unable to find any way of doing that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2020 20:55:21 GMT</pubDate>
    <dc:creator>HumaTariq</dc:creator>
    <dc:date>2020-10-12T20:55:21Z</dc:date>
    <item>
      <title>create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747854#M32739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to make a python script that will do the equivalent to that of selecting a point feature editing this and creating "Points along line" with "Varying Distances".&lt;/P&gt;&lt;P&gt;This will give a menu like this one:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="393" src="https://community.esri.com/legacyfs/online/460396_pastedImage_1.png" width="212" /&gt;&lt;/P&gt;&lt;P&gt;Where you will have to plot the distances manually. The next row will indicate the distance relative to the previous point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a lot of points I'd like to plot in and therefore I want the stuff to go automatically.&lt;/P&gt;&lt;P&gt;So far I've had a look into using something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.GeneratePointsAlongLines_management(line2choose,"pntsAlongLine","DISTANCE",&lt;EM&gt;[10,20,10]&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;The list i've made at the end obviously won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also had a look to the possibility of importing an excel file with the ID and Distance columns and creating points from this. If arcpy has a function to add a single point along a line with a specific distance from start I could do a loop and generate all the points from the imported table. So far I haven't found such a function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Haakon Haugerud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 12:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747854#M32739</guid>
      <dc:creator>HaakonJørlo_Haugerud</dc:creator>
      <dc:date>2019-09-25T12:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747855#M32740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be a neat enhancement for the Create Points Along Lines and the Offset editing tools (both found on the Edit ribbon &amp;gt; Modify features pane) to be able to import distance values from a file&amp;nbsp; - currently not possible. However, have you tried the Linear Referencing toolbox (Analysis tab &amp;gt; Tools &amp;gt; look for Linear Referencing Tools). I think the only two geoprocessing tools you would need are &lt;STRONG&gt;Create Routes&lt;/STRONG&gt; and &lt;STRONG&gt;Make Route Event Layer&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/linear-referencing/an-overview-of-the-linear-referencing-toolbox.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/linear-referencing/an-overview-of-the-linear-referencing-toolbox.htm"&gt;An overview of the Linear Referencing toolbox—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These two tutorials are written for ArcMap, but show how to use the above geoprocessing tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/linear-referencing/exercise-2-creating-and-calibrating-route-data.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/linear-referencing/exercise-2-creating-and-calibrating-route-data.htm"&gt;Exercise 2: Creating and calibrating route data—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/linear-referencing/exercise-4-displaying-and-querying-route-events.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/linear-referencing/exercise-4-displaying-and-querying-route-events.htm"&gt;Exercise 4: Displaying and querying route events—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 15:50:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747855#M32740</guid>
      <dc:creator>Scott_Harris</dc:creator>
      <dc:date>2019-09-25T15:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747856#M32741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Scott.&lt;/P&gt;&lt;P&gt;I am trying to use the Linear Referencing tools now, but have a question.&lt;/P&gt;&lt;P&gt;Right now I am trying to make a Route Event Layer with my Route and an input event table. But I got the error that "ERROR 000840 The value is not a Route Measure Event properties". Trying to find a way to choose that the Field is a route event field, but I am having problems.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="427" src="https://community.esri.com/legacyfs/online/460511_pastedImage_1.png" width="596" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 08:23:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747856#M32741</guid>
      <dc:creator>HaakonJørlo_Haugerud</dc:creator>
      <dc:date>2019-09-26T08:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747857#M32742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about why that could be, but a quick search on Geonet reveals someone who found a solution for their specific case:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/101652#comment-658022" title="https://community.esri.com/thread/101652#comment-658022"&gt;https://community.esri.com/thread/101652#comment-658022&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work, maybe a quick call to Esri Technical Support will help? -&amp;nbsp;&lt;A class="link-titled" href="https://support.esri.com/en/contact-tech-support" title="https://support.esri.com/en/contact-tech-support"&gt;Esri Support Contact Support&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:19:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747857#M32742</guid>
      <dc:creator>Scott_Harris</dc:creator>
      <dc:date>2019-09-26T16:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747858#M32743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering, you had any luck in figuring that out? I also need to create thousands of points along the line at varying (known) distances but unable to find any way of doing that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2020 20:55:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/747858#M32743</guid>
      <dc:creator>HumaTariq</dc:creator>
      <dc:date>2020-10-12T20:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1049879#M40013</link>
      <description>&lt;P&gt;Hi all:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in the same position as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to make a point feature class along a line with varying and known distances but unable to find a way to do that. I have also tried using similar approach mentioned a the beginning of this thread and did not make any progress.&lt;/P&gt;&lt;P&gt;Any suggestions please?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 23:04:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1049879#M40013</guid>
      <dc:creator>tari</dc:creator>
      <dc:date>2021-04-21T23:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1192803#M57328</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you got a solution?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 05:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1192803#M57328</guid>
      <dc:creator>fresi09</dc:creator>
      <dc:date>2022-07-18T05:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1228996#M61938</link>
      <description>&lt;P&gt;Looks like your Route Identifier Field was pointed at a Distance value in attributes of the original polyline used to create the route.&amp;nbsp; It needs to point to a unique route ID that is common to the entire polyline *and* the table of distances you'll use when you display route events. So if you add routeID as an attribute of the polyline before you turn it into a route, and then use that same routeID as an attribute of your table of distances, the two will work together nicely.&lt;/P&gt;&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;&lt;P&gt;If you have a table with the distances down the line in it, you don't need to enter them manually using Create Points Along Line tool.&lt;/P&gt;&lt;P&gt;Create a route from your polyline - &lt;A href="https://pro.arcgis.com/en/pro-app/2.9/tool-reference/linear-referencing/create-routes.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/2.9/tool-reference/linear-referencing/create-routes.htm&lt;/A&gt; (you'll need to add an attribute for route identifier)&lt;/P&gt;&lt;P&gt;Then add events to your route using that table of distances down the line - &lt;A href="https://pro.arcgis.com/en/pro-app/2.9/help/data/linear-referencing/display-route-events.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/2.9/help/data/linear-referencing/display-route-events.htm&amp;nbsp;&lt;/A&gt;(you'll need to include the same attribute value for route identifier that your used on the polyline that you turned into a route in the previous step)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can take the resulting events layer and export them as points along the polyline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know this is a really late response, but I searched for a long time trying to find out how to do this in a way other than entering each point distance one at a time...&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2022 23:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1228996#M61938</guid>
      <dc:creator>JohnFenton</dc:creator>
      <dc:date>2022-11-05T23:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1401532#M81033</link>
      <description>&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Set up environment settings&lt;BR /&gt;arcpy.env.workspace = r"C:\Your\Workspace" # Set your workspace path here&lt;BR /&gt;arcpy.env.overwriteOutput = True&lt;/P&gt;&lt;P&gt;# Input polyline feature class&lt;BR /&gt;input_polyline = "your_polyline.shp" # Change to your input polyline shapefile&lt;/P&gt;&lt;P&gt;# Output point feature class&lt;BR /&gt;output_points = "points_along_polyline.shp" # Change to your desired output point shapefile&lt;/P&gt;&lt;P&gt;# Table containing distances along the line&lt;BR /&gt;distance_table = "distance_table.dbf" # Change to the path of your distance table&lt;/P&gt;&lt;P&gt;# Field in the distance table containing the distances&lt;BR /&gt;distance_field = "Distance" # Change to the name of your distance field&lt;/P&gt;&lt;P&gt;# Create an empty list to hold point geometries&lt;BR /&gt;point_geometries = []&lt;/P&gt;&lt;P&gt;# Iterate through the table and create points at the specified distances&lt;BR /&gt;with arcpy.da.SearchCursor(distance_table, [distance_field]) as cursor:&lt;BR /&gt;for row in cursor:&lt;BR /&gt;distance = row[0]&lt;BR /&gt;with arcpy.da.SearchCursor(input_polyline, ["SHAPE@"]) as polyline_cursor:&lt;BR /&gt;for polyline_row in polyline_cursor:&lt;BR /&gt;polyline = polyline_row[0]&lt;BR /&gt;if distance &amp;lt;= polyline.length:&lt;BR /&gt;point = polyline.positionAlongLine(distance)&lt;BR /&gt;point_geometries.append(point)&lt;/P&gt;&lt;P&gt;# Create a new point feature class and add point geometries&lt;BR /&gt;arcpy.CopyFeatures_management(point_geometries, output_points)&lt;/P&gt;&lt;P&gt;print("Points created along the polyline using distances from the table.")&lt;/P&gt;&lt;P&gt;This should work if you want to add points along a polyline by referencing an existing table with all of your distance values. If not, you can copy and paste your values in the following:&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Set up environment settings&lt;BR /&gt;arcpy.env.workspace = r"C:\Your\Workspace" # Set your workspace path here&lt;BR /&gt;arcpy.env.overwriteOutput = True&lt;/P&gt;&lt;P&gt;# Input polyline feature class&lt;BR /&gt;input_polyline = "your_polyline.shp" # Change to your input polyline shapefile&lt;/P&gt;&lt;P&gt;# Output point feature class&lt;BR /&gt;output_points = "points_along_polyline.shp" # Change to your desired output point shapefile&lt;/P&gt;&lt;P&gt;# List of distances along the line where you want to place points&lt;BR /&gt;distances = [50, 100, 200, 300, 500] # Modify as needed&lt;/P&gt;&lt;P&gt;# Create an empty list to hold point geometries&lt;BR /&gt;point_geometries = []&lt;/P&gt;&lt;P&gt;# Iterate through the vertices of the polyline and create points at the specified distances&lt;BR /&gt;with arcpy.da.SearchCursor(input_polyline, ["SHAPE@"]) as cursor:&lt;BR /&gt;for row in cursor:&lt;BR /&gt;polyline = row[0]&lt;BR /&gt;for distance in distances:&lt;BR /&gt;if distance &amp;lt;= polyline.length:&lt;BR /&gt;point = polyline.positionAlongLine(distance)&lt;BR /&gt;point_geometries.append(point)&lt;/P&gt;&lt;P&gt;# Create a new point feature class and add point geometries&lt;BR /&gt;arcpy.CopyFeatures_management(point_geometries, output_points)&lt;/P&gt;&lt;P&gt;print("Points created along the polyline at varying distances.")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 16:05:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1401532#M81033</guid>
      <dc:creator>drami139</dc:creator>
      <dc:date>2024-03-27T16:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: create points along line varying distances</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1620640#M96311</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realize this is a late response, but I had a similar issue recently in ArcGIS Pro 3.4 and 3.3.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I realized that once I added the 'Measure Field' parameter in, the warning about the Route Identifier Field was removed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the tool would run and fail with the error "000211: Cannot create route event source."&amp;nbsp;&lt;BR /&gt;I was able to resolve the error after I realized the input for the 'Measure Field' parameter I was using was a text field and the tool requires the parameter use a numeric field as indicated here -&amp;gt;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/linear-referencing/make-route-event-layer.htm#:~:text=From%2DMeasure%20Field%E2%80%94A%20field%20containing%20measure%20values.%20This%20field%20must%20be%20numeric%20and%20is%20required%20when%20the%20event%20type%20is%20Point%20or%20Line" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/linear-referencing/make-route-event-layer.htm#:~:text=From%2DMeasure%20Field%E2%80%94A%20field%20containing%20measure%20values.%20This%20field%20must%20be%20numeric%20and%20is%20required%20when%20the%20event%20type%20is%20Point%20or%20Line&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;After creating a new numeric field and populating with the information from the original text field, the tool ran successfully and created the points along my route.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 23:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-points-along-line-varying-distances/m-p/1620640#M96311</guid>
      <dc:creator>MelanieM</dc:creator>
      <dc:date>2025-06-03T23:05:17Z</dc:date>
    </item>
  </channel>
</rss>

