Skip to main content
Solved

PolygonToCoercer very slow

  • October 19, 2024
  • 2 replies
  • 74 views

mr_fme
Enthusiast
Forum|alt.badge.img+8

Hi,

I have a workspace that uses some RasterToPolygonCoercer, but the performance is very low.

I need to improve the performance. I'm trying to convert some clouds detected in my raster image into polygons.

How can I improve that?

 

Thank´s

 

 

 

Best answer by todd_davis

Converting to the polygons can be quite slow as you detail. But you could also go out to points and rasterise the points based on the cell spacing of the input raster cells.

 

I did it slightly different with this example, utilsing a pointcloud approach and extracting white (255,255,255). Sorry, you get a picture of me from almost 10 years ago, but you will get what I am trying to do.

 

View original
Did this help you find an answer to your question?

2 replies

carlm
Contributor
Forum|alt.badge.img+8
  • Contributor
  • October 20, 2024

You could split your image into tiles and do some parallel processing by creating a custom transformer.


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • Best Answer
  • October 21, 2024

Converting to the polygons can be quite slow as you detail. But you could also go out to points and rasterise the points based on the cell spacing of the input raster cells.

 

I did it slightly different with this example, utilsing a pointcloud approach and extracting white (255,255,255). Sorry, you get a picture of me from almost 10 years ago, but you will get what I am trying to do.

 


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