ian_broad

ArcGIS Toolbox – Create Points on Polylines with ArcPy

Blog Post created by ian_broad on Apr 13, 2015

Updated – 4/10/2015
Added the capability to create the points starting at either the beginning, or end of the line

 

Previous Updates
Fixed compatibility with Python 3 for ArcGIS Pro

 

Download the Create Points on Lines Toolbox – works with ArcGIS 10.1+

 

The Create Points on Lines tool creates points on lines at a specified distance, interval, or percentage value. The value can be fixed or field based. There is also an option to add the starting point, end point, or both to the output Point feature class.

 

You can now choose the Starting Location. So, if you want a point created 10 feet from the end of the line, change the Starting Location parameter to END.

 

If DISTANCE is chosen, a single point will be created at the specified distance.
If INTERVAL is chosen, points will be created along the line at the specified interval.
If PERCENTAGE is chosen, a single point will be created at the specified percentage.

 

The value used to create the points can be entered as a parameter, or a field can be selected.  The output Point feature class contains a field called LineOID, which is the OID of the line the point was created from. This allows data to be joined back to the point. There is also a field called Value, which contains the value that was used to create the point.

 

Be sure to view the Tool Help within the tool dialog box for detailed instructions. Also, check the Geoprocessing Results for any error messages.

 

Here’s a screenshot of the parameters:

CreatePointsLinesParameters.png

 

I hope someone finds this tool useful. Please leave a comment if you have any questions or problems, and be sure to check out the other tools I've created!

Outcomes