Skip to main content
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
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
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
Hi Jonathan,

 

 

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

 

 

Itay

 


Reply