Skip to main content
Question

How to reduce vertex count in line feature?

  • November 1, 2022
  • 4 replies
  • 137 views

saravanakumar
Supporter
Forum|alt.badge.img+5

Hi all,

Is there any transformer to reduce the no of vertex in line feature?

I am using autocad data dwg format. there is large no of vertex in a line feature which you can able to see below image. Is it possible to reduce the number of vertex? and I tried with line combiner Its not reducing no of vertex.

image.pngthanks ,

saravanakumar.

4 replies

f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • November 1, 2022

We have a transformer called Generalizer

Generalizer

 

Transforms or measures geometry features based on a specified algorithm.

There are four types of algorithms:

  • Generalizing algorithms: Reduce the density of coordinates by removing vertices.
  • Smoothing algorithms: Determine a new location for each vertex.
  • Measuring algorithms: Calculate the location of points, and return a list of these points (for example, to measure the sinuosity of a feature).
  • Fitting algorithms: Replace the original geometry completely, with a new feature fitted to a specified line (for example, to minimize the orthogonal distance to the original).

read link

https://community.safe.com/s/article/reducing-unnecessary-coordinates

 


Forum|alt.badge.img+2
  • November 1, 2022

@saravanakumar​ As @f.kemminje​ suggest - Generalizer is the place to start. But depending on the data you want to thin, you might also try CurveFitter or SherbendGeneralizer


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • November 2, 2022
markatsafe wrote:

@saravanakumar​ As @f.kemminje​ suggest - Generalizer is the place to start. But depending on the data you want to thin, you might also try CurveFitter or SherbendGeneralizer

Thanks!@Mark Stoakes​ 


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • November 2, 2022

Thank @f.kemminje​  and @Mark Stoakes​  for your valuable suggestions. I will use those and try 😀 .

 

 


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