Solved

Extract polygon from raster file


Userlevel 4
Badge +30

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?

icon

Best answer by ebygomm 24 May 2016, 17:11

View original

2 replies

Userlevel 1
Badge +10

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

Userlevel 4
Badge +30

Thanks @egomm It works with the transformer RasterBandNoDataSetter :)

Reply