Question

How do I set noData on a raster output?

  • 14 January 2014
  • 3 replies
  • 5 views

Userlevel 4
Badge +13
I have a 3 band GeoTIFF. All i want to do is convert it to JP2 and ECW formats. This works fine, except that the noData isn't set. I want a value of "255" to be noData.

 

 

I've tried using the RasterBandNoDataSetter, and then I tried putting a RasterBandNodataRemover in front of it, and then I tried putting a RasterSelector in front of that, but all to no effect.

 

 

I don't want to change the data in any way, just flag that 255 is noData.

 

This seems like it should be simple; what am I doing wrong?

 

 

Thanks,

 

Jonathan

3 replies

Userlevel 4
Badge +13
Hi Jonathan,

 

 

Nothing these formats dont support nodata see:

 

 

http://docs.safe.com/fme/html/FME_ReadersWriters/Default.htm#jpeg2000/JPEG_2000_Quick_Facts.htm

 

 

 

http://docs.safe.com/fme/html/FME_ReadersWriters/Default.htm#ecw/ECW_Quick_Facts.htm

 

 

Itay
Userlevel 4
Badge +13
Hi Itay,

 

Thanks. Is this an FME specific thing or a format thing?

 

 

I can use ArcGIS to create a JP2 file that has noData. Unfortunately it can't export ECW so I can't test that.

 

Cheers,

 

Jonathan
Userlevel 4
Badge +13
Hi Jonathan,

 

 

A format thing, could be that the 'nodata' in ESRi is an internal thing too.

 

 

Itay

 

Reply