Skip to main content
Solved

PolygonToCoercer very slow

  • October 19, 2024
  • 2 replies
  • 98 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

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.

 

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

carlm
Contributor
Forum|alt.badge.img+17
  • 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+23
  • 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.