I've a cloud of point with ID and a type (Start/end) along a linear.
I would like to make a dynamic segmentation for keep cut lines between two points with same ID and different types.
The aim is to extract linear concerns by two points and exclude other linears.
You can see an explication of my problem with a draw in attachment.
Thank you very much for your help.
Best answer by takashi
Thank you for your help @takashi that seem's to work with my example but if I try in production in see the transformer snipper doesn't work.
The transformer keep the lines from my transformer Listexploder without another action
I extract a simple example if you want to see : snipper.zip
The line features in the dataset don't have measure dimension. That's the reason why the Snipper (Mode: Measure) won't work.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Hi @lalandexavier, a possible approach is to create copies of the line for each pair of Start/End points and snip off the copied line by measures of the Start/End points. The idea is simple but the implementation could be a long story.
Hi @lalandexavier, a possible approach is to create copies of the line for each pair of Start/End points and snip off the copied line by measures of the Start/End points. The idea is simple but the implementation could be a long story.
Gray: Original Line, Blue: Step 1 (moved to +Y direction), Red: Step 2
Dear @takashi, this is a perfect answer, thank you very much !
I saw, since this post, I identify few particular cases, for example same vertex for different points or linear not in the same direction explication-probleme-copie-copie.png.
In this case, I've a proble with the NeighborFinder because point doesn't match. If I use the Unmatchedcandidate, the MeasureExtractor doesn't work. finally if I work without the point unmatched, I don't have all my linears.