# Create Points Along Lines

1351
4
10-27-2021 11:33 AM
by
New Contributor

Hi,

I am trying to use the "create points along line" feature in ArcPro to add points to a section of pipe (the points are varying distances). The report I get measures the distance from the beginning of the pipe segment to each of the points. The problem is that when I add the distances in to the table it seems that ArcPro is counting the distance from point to point instead of, from the start of the line segment to each individual point. Is there a way to configure the feature to account for this?

The first point is 52.4 feet from the start of the pipe, the second point is 106.2 feet from the start of the pipe, and so forth.

The remaining length counter is at -613.968 because I think the feature is reading this as, 106.2 feet from the first point there should be a second point.

1 Solution

Accepted Solutions
Esri Contributor

@JRine You can use the Offset tool for your workflow: https://pro.arcgis.com/en/pro-app/latest/help/editing/create-features-along-a-line-at-an-offset.htm

Make sure to use 0 ft as your offset.

I hope this helps.

4 Replies
MVP Esteemed Contributor

Calculate Field Python examples—ArcGIS Pro | Documentation

see Calculate the accumulative value of a numeric field.

if you need to accumulate values from the start, aka a cumulative sum if the distances represent a segment length

... sort of retired...
Esri Notable Contributor

I believe you are correct, the values for the 2nd, 3rd, 4th and so on from the 1st point, then the 2nd point and so on thus the -613.968.  I did some quick math and got the distances between the points to equal out to a final line length of 331.932 and was then able to create the points along the line.  I agree there should be a check box to have the distance values be from the start of the line always to create the points in your workflow...

Esri Contributor

@JRine You can use the Offset tool for your workflow: https://pro.arcgis.com/en/pro-app/latest/help/editing/create-features-along-a-line-at-an-offset.htm

Make sure to use 0 ft as your offset.

I hope this helps.

New Contributor

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.

Create a route from your polyline - https://pro.arcgis.com/en/pro-app/2.9/tool-reference/linear-referencing/create-routes.htm (you'll need to add an attribute for route identifier)

Then add events to your route using that table of distances down the line - https://pro.arcgis.com/en/pro-app/2.9/help/data/linear-referencing/display-route-events.htm (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)

You can take the resulting events layer and export them as points along the polyline.

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...

Tags (1)