Skip to main content
Solved

Extract polygon from raster file


danilo_fme
Evangelist
Forum|alt.badge.img+45

Hello all,

I want to extract a polygon features from a raster file. I know that has the transformer RastertoPolygonCoercer makes this job. The problem is that my raster file has _num_rows = 8701 and _num_columns = 5889, and this process is not work because the memory crash.

My raster file has a pixel Blank pixel RGB = 254, and i dont need this pixel value. My question is: has a way to remove this blank pixel RGB = 254 before to use the transformer RastertoPolygonCoercer?

Best answer by ebygomm

You can use the RasterBandNodataSetter and then set the extract nodata values parameter to No in the RasterToPolygonCoercer

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

2 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • May 24, 2016

You can use the RasterBandNodataSetter and then set the extract nodata values parameter to No in the RasterToPolygonCoercer


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • May 24, 2016

Thanks @egomm It works with the transformer RasterBandNoDataSetter :)


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