Skip to main content

I'm trying to clip out 'curves' from a polyline. I have a 2 layers, a polyline layer and a point layer. The point layer has a "point type" attribute that states if the point is "Tangent-to-Curve", i.e. the beginning of the curve, or "Curve-to-Tangent", i.e. the end of the curve. There is a one-to-one relationship between "Tangent-to-Curve" and "Curve-to-Tangent" points.

 

The issue is that the "Tangent-to-curve" and "curve-to-tangent" points don't have a shared id to link them.

 

My polyline layer does have measure values, which might be of use.

Hi @Matthew Boyter​ ,

Is the relationship between a polyline and pair(s) of "Tangent-to-Curve" (TC) and "Curve-to-Tangent" (CT) 1:N?

If it was 1:N, could the resulting clipped curves from the same polyline be overlap?

Is the direction of a polyline and the direction from TC to CT on the line the same? Or could it be opposite?


1 polyline can have many TC:CT pairs, but the pairs won't overlap. A TC:CT pair will always occur before the next pair. I have measure values on the polyline, and measure values for each TC or CT point. I'm not sure if that is helpful, but it might be. The direction of the TC:CT can be the same or opposite of the polyline.


Thank you for clarification. It's helpful to understand conditions and requirements.

I found a solution but the workflow is a bit complex to explain with words, so have attached a workspace example describing the solution. Please see the attachment.


Thank you for clarification. It's helpful to understand conditions and requirements.

I found a solution but the workflow is a bit complex to explain with words, so have attached a workspace example describing the solution. Please see the attachment.

Hi, I did not have time to test this today, but hope to do it soon. Thank you so much for your help. I will reply back once I have an opportunity to test this.


Reply