Select to view content in your preferred language

Points along a multipart polyline feature based on a field value

637
3
12-15-2019 06:57 PM
UmaMahesh1
New Contributor

I have to generate points along a line based on a field [PrkngSpacs] value. I need to do this for around 10k lines in a multipart polyline feature. I checked few tools available that generates points based on distance and intervals. They are working fine with single line, but i do not know how to make them loop through each of my attribute values in [PrkngSpacs] field and create same number of points.  Any help in how to accomplish this is much appreciated.

0 Kudos
3 Replies
DanPatterson_Retired
MVP Emeritus

You could experiment with a small sample and convert the multipart to singlepart, do the densification, then Dissolve back to multipart after the densification.

JoshuaBixby
MVP Esteemed Contributor

It would be helpful if you could elaborate on:

I checked few tools available that generates points based on distance and intervals.

If there are geoprocessing tools that only work on single-part geometries and not multi-part geometries, there may be defects involved.

UmaMahesh1
New Contributor

Thank you Dan and Joshua for responding to my query. I could accomplish my task by using "Create points on Polylines with Arcpy" toolbox developed by Ian.