there are vertex at equal distance (0.100) but these are unnecessary, only one vertex in 1m is enough. How can I remove the vertex in between, I looked for vertex remover, but I think I am doing something wrong, can you help me please?
Additional information: There are always 10 vertexes in 1m.
Best answer by nielsgerrits
The Generalizer is the way to go for this kind of work, but I find it hard to control to keep vertices every 1 meter. As an alternative you could use a Chopper to get lines from 1m, rebuild the lines from the first and last coordinate (CoordinateExtractors, VertexCreators) and rebuild the original lines using a LineCombiner. If the vertices are not exactly every 1m, you can create extra vertices using a Densifier before the Chopper.
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.
The Generalizer is the way to go for this kind of work, but I find it hard to control to keep vertices every 1 meter. As an alternative you could use a Chopper to get lines from 1m, rebuild the lines from the first and last coordinate (CoordinateExtractors, VertexCreators) and rebuild the original lines using a LineCombiner. If the vertices are not exactly every 1m, you can create extra vertices using a Densifier before the Chopper.
The Generalizer is the way to go for this kind of work, but I find it hard to control to keep vertices every 1 meter. As an alternative you could use a Chopper to get lines from 1m, rebuild the lines from the first and last coordinate (CoordinateExtractors, VertexCreators) and rebuild the original lines using a LineCombiner. If the vertices are not exactly every 1m, you can create extra vertices using a Densifier before the Chopper.
nielsgerrits thank you very much I'm about to reach the conclusion one last problem remained in my file I have more than one line and when I build a line in the same layer, it combines the lines that are separate from each other, how can I prevent this?
nielsgerrits thank you very much I'm about to reach the conclusion one last problem remained in my file I have more than one line and when I build a line in the same layer, it combines the lines that are separate from each other, how can I prevent this?
nielsgerrits thank you very much I'm about to reach the conclusion one last problem remained in my file I have more than one line and when I build a line in the same layer, it combines the lines that are separate from each other, how can I prevent this?
Make sure the original lines have unique id's. This can be done using a UUIDGenerator. Then you can do a group by _uuid in the LineCombiner.
Looking at your workspace screenshot, I think it need to be:
nielsgerrits thank you very much I'm about to reach the conclusion one last problem remained in my file I have more than one line and when I build a line in the same layer, it combines the lines that are separate from each other, how can I prevent this?
nielsgerrits
I got a very good result, thank you very much for your suggestions