Skip to main content
Solved

Extract polygon from raster file

  • May 24, 2016
  • 2 replies
  • 35 views

danilo_fme
Celebrity
Forum|alt.badge.img+52

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

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

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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
Celebrity
Forum|alt.badge.img+52
  • Author
  • Celebrity
  • May 24, 2016

Thanks @egomm It works with the transformer RasterBandNoDataSetter :)