Questions tagged [nodata]

"NoData" is a term for null values in raster datasets.

Filter by
Sorted by
Tagged with
8
votes
7answers
22k views

Redefining nodata value into zero in QGIS?

I have an image which i cliped with an AOI polygon. The contour area was set to pixel value = 0 and I have a nodata value of -32768. I want to redefine the nodata value into zero. I used to do this ...
25
votes
3answers
4k views

Major bug in ArcGIS Zonal statistics?

Update: The bug has been fixed in the ArcGIS 10.4 release I am using ArcGIS 10.2.2 to determine zonal statistics for a number of zones. If there is any NoData in the value raster, I want the zone ...
13
votes
3answers
8k views

How to change null values raster values to 0 in QGIS?

I need help... I'm having problems with QGIS. I have some rasters that appear to have null values, even though I reclassified them to obtain a boolean raster :( How can I change the NULL values to 0?
10
votes
4answers
4k views

Setting NoData for a multiband raster?

I have an RGB orthoimage that has black area instead of NoData, as pictured here: When I use the SetNull tool, it does remove the black area, however it then turns it into a grayscale orthoimage, ...
1
vote
2answers
7k views

Adjusting extent of raster using ArcGIS Desktop?

The coloured file contains landuse information and it needs to have the same number of columns and rows as the DEM in the background for further processing. I can't get it to work - "clip" and "...
7
votes
1answer
3k views

Change NODATA pixel value in raster to arbitrary value

I want to change the value in all pixels that are currently 0 to 800 in QGIS 2.6.1. 0 is listed as the no-data value in Properties > Transparency. I have unchecked the No Data Value box there. Then I ...
2
votes
2answers
4k views

QGIS Raster Calculator: Need values to be set to 0 instead of no data

I have a landcover map with different values for the landuse options e.g. 190 for commercially used areas. Now I want to extract only these areas using the Raster Calculator with the expression "...
5
votes
1answer
9k views

how to allow null values in a feature-layer

I'm using ArcDesktop 10.2. I have 30 x,y locations that have 20 fields of numeric data, stored in an Excel spreadsheet. Some cells have no data, and I want those cells to be represented as null values ...
5
votes
3answers
997 views

Reprojecting raster with FME?

I have multiple .tiff + .tfw files in EPSG:3067, which I need to reproject to EPSG:3878. I tried to do it with FME, and succeeded, kind of. The geotiffs are placed well, but some weird white area ...
6
votes
2answers
4k views

How to display NoData of a raster in QGIS

How can I show raster pixels with NoData value in QGIS? In ArcMap there is a button to choose the color for the NoData value. Is there something like this in QGIS?
2
votes
1answer
369 views

How can I retrieve private tag GDAL_NODATA from a TIFF using libtiff?

In an earlier post I reported about my attempts to read TIFF with data stored in tiles using python and libtiff. First I tried to use libtiff's function TIFFReadEncodedTile but finally I tried ...
2
votes
2answers
1k views

How to create a TIFF file using GDAL from a numpy array and specifying NoData value

I have some tiff files I obtained from splitting a bigger tiff file using gdal translate. The border tiff files have some nodata values, which I can see in numpy as number 15. I want to manipulate ...
1
vote
1answer
296 views

How to reclassify a raster based on quantile and without no data in QGIS?

I want to reclassify quantile a raster layer without negative values (nodata values) so I used Reclassify a raster file with quantiles and How to filter no data value with GDAL? in below code: import ...
4
votes
1answer
1k views

How to filter no data value with GDAL?

I have a Tiff file that has no data value = -3.40282347e+38. I want to filter no data and get raw values with gdal. I tried with below code: import numpy as np from osgeo import gdal, gdal_array ...
4
votes
1answer
1k views

Changing raster cells values inside of a polygon to the closest cells just outside the polygon!

I have been wrestling with this for a while and couldn't find out how I can do this. I want each cell of a raster inside of a polygon boundary to have the value of the closest cell just outside of the ...
4
votes
2answers
626 views

Interpolate smoothly nodata values in QGIS

I have a DEM raster where all the buildings have been extruded and now contain "nodata" values. I'd like fill the holes and get a nice and continuous surface (which would approximately correspond to ...
4
votes
2answers
604 views

GDAL grid produces NoData

I have a series of text files that represent X,Y,Z elevation data. I'm trying to use the GDAL grid command line tool to convert these text files to raster GeoTIFs. My files are space delimited and so ...
3
votes
2answers
871 views

Raster to Numpy Array - No data values

I have several single band, 32 bit float raster datasets (fgdbr) that i want to use to build a raster stack (depth) in numpy by doing something like this dv = np.dstack((d_array, v_array)) With ...
3
votes
1answer
439 views

QGIS raster calculator: difference gives NaN for Landsat 8 scene

I'm strugling with the QGIS Raster Calculator, trying to get a NDVI image from a Landsat 8 scene (path 222, row 84, date 2015-11-15). The problem is, I'm consistently getting NaN values for all the ...
1
vote
1answer
1k views

GEE: How to transform masked values (NODATA) to -9999?

How can I transform NoData (masked) values to a value? When the image is mapped, there are a lot of values that are masked and I would like to get a value (-9999) on that masked pixels. var region = ...
0
votes
0answers
235 views

GDAL conversion to Terragen outputs file full of zeros?

I recently learned some gdal command line syntax in my attempt to convert some geotiff files to the Terragen format. During my first attempt I noticed a message about nodata values: gdalwarp -of ...