Skip to main content

Hello,

After using the CenterLineReplacer transformer on a ploygon I get the following result. 

Is it possible to extend the line that was created before so that it reaches the edge of the polygon? 

 

Thanks for your help

How I do this:

  • Generate ID for polygon.
  • Generate centerline from polygon.
  • Extend centerline using LineExtractor, using a large number.
  • Clip the centerline by the original polygon, grouped by ID, keeping only inside.

How I do this:

  • Generate ID for polygon.
  • Generate centerline from polygon.
  • Extend centerline using LineExtractor, using a large number.
  • Clip the centerline by the original polygon, grouped by ID, keeping only inside.

thank you for your message. i will try like this 


Reply