Skip to main content
Solved

Remove excess vertices on line segments without changing the shape.


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
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • March 21, 2019

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
  • April 23, 2019
ebygomm wrote:

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!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings