Skip to main content
Solved

Remove excess vertices on line segments without changing the shape.

  • Mar 21, 2019 2:09 PM UTC
  • 2 replies
  • 652 views

cshir065
Forum|alt.badge.img

I have a large dataset of line segments, which are both curved and straight. The problem is, some of the lines have hundreds (possibly thousands) of vertices. I would like to remove enough vertices without affecting the shape of the line. What is the best way to do this?

Best answer by ebygomm

The Generalizer will remove colinear points from lines - you'll probably want one of the generalizing algorithms if the aim is just to reduce the density of points

View original
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.

2 replies

ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • Best Answer
  • Mar 21, 2019 2:16 PM UTC

The Generalizer will remove colinear points from lines - you'll probably want one of the generalizing algorithms if the aim is just to reduce the density of points


cshir065
Forum|alt.badge.img
  • Author
  • Apr 23, 2019 11:32 PM UTC

The Generalizer will remove colinear points from lines - you'll probably want one of the generalizing algorithms if the aim is just to reduce the density of points

Thanks, I tried this and it worked really well. The 'Thin No Point' algorithm did not change the shape of line with a low generalizing tolerance!