Skip to main content

I am hoping to produce a group of points along polylines of various lengths. I’ve been trying to mimic the GeneratePointsAlongLines() method from arcpy and ArcGIS Pro which will simply build out points from the start of a polyline at a designated interval (regardless of line segment vertices). I’ve investigated Densifier, but this transformer incorporates vertices and produces points that do not conform to the designated interval. I’ve contemplated utilizing Snipper, but this seems challenging given that many of the line segments I expect to incorporate may vary in lengths for different inputs.

I’d appreciate any insight that can be offered.

Would it work for you to use Densifier in combination with VertexExtractor (from FME Hub) and a SpatialFilter on identical point geometries?

 


You can handle different line lengths going into the snipper with a process along these lines

 


@ebygomm I did end up building out a workflow where I cloned the appropriate number of copies of a segment, calculated the start and end distances at which these would be snipped (taking into account any “leftover” distance from a prior segment, if applicable), then created coordinates/vertices from there. I incorporated Python Callers to assist with this, and I can try to post a snapshot of the workflow if anyone else is interested in seeing the process.


Reply