Skip to main content
Question

Set NoData value for pixels outside a region in a GeoTIFF

  • September 11, 2025
  • 3 replies
  • 40 views

gbcfgeo2025
Contributor
Forum|alt.badge.img+3

Hi community,
how can I set a NoData value for the pixels that are located outside my geographic area of interest?
Attached you can find a GeoTIFF file:
https://we.tl/t-XjrxojSLZh

Thanks! 🙏

3 replies

takashi
Celebrity
  • September 11, 2025

Hi ​@gbcfgeo2025 ,

I checked the GeoTIFF raster you shared with FME, and found that Nodata is defined already, as shown in the screenshot below. Isn't this Nodata definition what you required?

Value of pixels in the transparent part is the Nodata value. 

 


gbcfgeo2025
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • September 11, 2025

Yes, how can I assign a value of 0 or, for example, -10 to the NoData pixels? Can I set a non-existent (empty) value?


takashi
Celebrity
  • September 11, 2025

You can use RasterBandNodataSetter (Replace Cell Values: Yes) to assign a new Nodata value to the current Nodata pixels. However, the new Nodata value should be 0 or greater, since the band interpretation is GRAY16 (unsigned 16 bit integer). i.e. -10 is not available.