Questions tagged [nodata]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
30 views

Combining 2 rasters using Con and IsNull in Python

I am trying to write a Python script that converts most NoData pixels to 0 in a raster (Raster1 below), except for pixels that overlap with a pixel value of 1 within another raster (Raster2, which has ...
1
vote
1answer
28 views

How to access the no data value of a raster with GDAL? [duplicate]

Is there a similar way as in ArcPy import arcpy desc=arcpy.Describe('rasterName') print desc.noDataValue to access the no data value using GDAL?
1
vote
1answer
25 views

Arcpy Clip Raster not setting clipped out area to NoData

I have an 8 bit raster that I'm clipping using arcpy 10.7 arcpy.Clip_management("inrasPATH","","outrasPATH","PolygonPATH","256","ClippingGeometry","MAINTAIN_EXTENT") However whenever I clip the ...
2
votes
1answer
50 views

R.Series in QGIS 3.14.3 GRASS 7.6.1 returning no data value outputs only [closed]

I'm using QGIS 3.14.3 with GRASS 7.6.1 and trying to add together the values for 3 raster layers using r.series as I'm told this handles no data values better than raster calculator. Please see log ...
1
vote
1answer
40 views

Replace value in raster by another raster by ifelse (con) statement in QGIS

Previously I spent a lot of time to see answer on similar question but neither work with my problem. I have QGIS 3.4 and a DEM where I've to substitute more accurate height in cells that are ...
1
vote
1answer
45 views

Merging raster without add nodata value

I was trying to merge 2 DEM raster using QGIS raster - merge. Is there any way to not add nodata to the merged raster?
4
votes
1answer
108 views

Changing nodata pixels of -3.40282347e+38 to a different number in QGIS

I have a raster file with two different nodata values: -32768 and -3.40282347e+38. This happened because I am using -32768 as my nodata value, and the georeferencer in QGIS adds nodata pixels as -3....
0
votes
0answers
31 views

Error when attempting to publish after adding store (cannot create mosaic)

Environment: GeoServer: 2.16.0 Tomcat: 8.5 Java: Private Build: 1.8.0_222 (OpenJDK 64-Bit Server VM) When adding a store through the GeoServer web interface, I then click the 'Publish' link. I then ...
2
votes
1answer
49 views

How to reclass zero values for an aspect raster layer

reclass in QGIS 3.4.11 to reclassify a raster file of aspect values. All cells reclass apart from zero values which now show as 'no data'. Text file is as follows: 0 thru 23 = 2 23 thru 68 = 2 68 ...
1
vote
1answer
48 views

gdalwarp ignoring multiple srcnodata values?

I'm trying to resample an in image in the MODIS sinusoidal projection. There are several fill/ NoData values that I want to exclude in the resampling. The data are unsigned 16-bit integer values. A ...
2
votes
1answer
50 views

How to check for the nodata cells in a raster image

Please let me know how to check for the locations of nodata cells in raster images in ArcMap. The raster images has no attribute table.
0
votes
0answers
22 views

Inconsistent pixel range clipped 16-bit imagery to 8-bit

I'm attempting to convert 16 clipped/georeferenced imagery to 8-bit using the CopyRaster function in ArcPy but I'm having trouble assigning NODATA values. I have 16-bit imagery that has 3/4 bands (...
0
votes
0answers
15 views

No Data Value through Pixel Inspector in ArcMap

I have a raster that represents temperature on a global scale derived from satellite data. Initially it had pixels in the ocean assigned -9999. After I used SetNull tool to eliminate them they show up ...
2
votes
0answers
25 views

Clip Raster in ArcGIS Desktop 10.3.1 writes NoData border

I'm trying to clip a DEM raster using a rectangular polygon shapefile as the extent. The Clip Raster tool will add/write a NoData border surrounding the output raster. The NoData pixels are ...
0
votes
0answers
50 views

Maxent “NO DATA_value” Error

I am trying to run Maxent and I have processed all layers and converted them into .asc files (all layers have the same resolution and extent), there are no 'No Data' areas within the projection extent ...
0
votes
0answers
92 views

Determining if Raster and Polygon intersect using ArcPy?

I have a folder of rasters (.tif) and I want to determine which rasters intersect a polygon. The rasters are single band with a value of "1" while the rest of the extent has a no data value (coloured ...
1
vote
0answers
64 views

Mapserver NODATA affects valid raster data pixels (zero)

I have NOAA nightlight rasters cropped to country boundaries that I am trying to display using Mapserver. As such, I am trying to have NODATA pixels i.e. those outside the country boundaries be ...
4
votes
2answers
227 views

QGIS-3 does not recognize “-3.40282e+38” float raster values as NoData

I have DEMs with "-3.40282e+38" values that are supposed to be the NoData values. However, if the rasters are loaded into QGIS (3.4.11), the value can not get assigned with "add additional no data ...
0
votes
0answers
18 views

Black border around JPEG with world file at diferent zoom levels QGIS

I have noticed in the QGIS view port my georeferenced JPEG with a world file has black edges only above a certain zoom level. I have already specified 0 as the no data value. If I zoom in close to the ...
0
votes
1answer
34 views

SetNull function problem

I am trying to calculate a sum for a set of raster but before I need to disregard No Data values (that are equal to -9999 for my rasters) by using SetNull function. It gives an error. What could be ...
1
vote
0answers
21 views

Hiding NoData values of a raster in MapServer

In a MapServer NoData value pixels can be hide by using the following code inlcusion in a mapfile: `PROCESSING 'BANDS=3,2,1'` Now I have raster with multiple combinations of NoData Values other than ...
3
votes
1answer
56 views

Nodata value making holes in merged GeoTIFFs in QGIS?

I am trying to remove black borders around the edge of a GeoTIFF. The Black border around the GeoTIFF has an RGB value of (0,0,0). I have tried assigning 0 as a "No Data" value to the tiff, but QGIS ...
2
votes
1answer
107 views

Additional No Data Value Raster Pyqgis 3

I would like to improve way to adjust histogram of Sentinel 2 images in Qgis 3. I am using pyqgis to do the first task to it (create histogram rightly). So I have images that 0 is a no data value. To ...
1
vote
1answer
28 views

Finding“NoData” area/percentage using ArcGIS Desktop?

I have a RGB raster that has been processed to remove cloud/shadow coverage and then put in a mosaic with other RGB rasters to fill in the missing gaps. Unfortunately all the gaps have not been ...
1
vote
0answers
22 views

NoData values in soil wetness index

I would like to know why I am getting no data pixels in my soil wetness raster, since none of the source rasters used to calculate the SWI have no data values. method I used: soil data from HWSD FAO ...
1
vote
0answers
101 views

Raster nodata = -3.4028234663852886e+38 [closed]

I'm very new to raster manipulation, and I'm getting a nodata value of -3.4028234663852886e+38 when importing USGS NED 1/3 arc-second n41w074 1 x 1 degree IMG using rasterio on Python. What is it ...
4
votes
0answers
151 views

“Clip Raster by Mask Layer” produces zero values (and not Nodata) outside mask boundaries

This is my first question here. I have a big raster of the world's nighttime lights and want to clip it down to the Adm0 of a country: In order to do so, in QGIS 2.18 what I do is using the Clipper ...
1
vote
0answers
21 views

NoData cells appeared in segemented raster

I am trying to classify an aerial image of a dike into grass and weeds. I used an aerial RGB image of 10 cm resolution being a TIF file. This aerial image is cleaned and contains no gaps. Only outside ...
2
votes
1answer
69 views

Reducing file size by not storing no-data points

I have to compute sea wave forecast for large period of time. Land information is of no use here. Is there any file format that allows to not store no-data/fill values for land area to reduce file ...
0
votes
0answers
43 views

Limiting sharp drop off of coastal DEM raster where there is no data using QGIS?

I'm stitching numerous tiled DEM's using Build Virtual Raster and then 'Align raster' function within QGIS 3.6 Original DEM has no data for sea area as expected: I get sharp drop off on coastal/...
1
vote
0answers
72 views

Importing 16-bit data into Google Earth Engine

I am trying to import 16-bit data into Google Earth Engine. I get this error. No data value 65536.0 cannot be applied to band #0 of type Integer<0, 65535>. No Data is 65536 I tell it that ...
3
votes
2answers
924 views

Inserting nodata value using GDAL?

I'd like to edit the nodata values in several raster files, but big number of these file doesn't have any nodata value defined, there is nothing to edit. I'v tried the gdal_translate -a_nodata ...
1
vote
0answers
28 views

gdal_merge novalue

I managed to run gdal_merge for multiple geotiles (jpeg). I am using the following options: command = "gdal_merge.py -init 0 -a_nodata 0 -co COMPRESS=LZW -co BIGTIFF=YES -o "+out_bez+" -of gtiff " +...
0
votes
1answer
167 views

QGIS 3.4 Stream delineation problem, lines running too far into ocean

I am using QGIS 3.4.4 Madeira version trying to delineate the stream and catchment areas of a small Bay in Honduras based on the technique of Hanz van der kwast tutorial "Stream and Catchment ...
0
votes
0answers
42 views

Filling NoData around bridges in DEM

Is it possible to fill no data around bridges without pixels blurriness (see picture). I use Elevation Void fill function, also tried in qgis No data filling and Grassgis r.fillnulls. I know, that I ...
3
votes
0answers
70 views

Problems with DEM exporting after Elevation Void Fill function use

I filled nodata values in DEM by Elevation Void Fill function, everything was ok, but when I exported it, the raster looks different (see picture above), how can I solve this problem? I also tried r....
1
vote
0answers
74 views

Raster values shows no data when using identify features tool

I used vector to raster function in QGIS, to convert some points with different values to raster. I tried to use the "Identify Features" to check values for each raster box. The values shows no data ...
1
vote
1answer
315 views

Google Earth Engine - how to set masked pixels to 'noData'

Lets say I have a region of mangrove forests (from a classified Landsat image) and I mask out all non mangrove pixels. I view this as a layer on the map and it shows the mangrove forests on the map ...
3
votes
0answers
179 views

How do I fill Landsat 7 SLC gaps using QGIS?

I am currently using the QGIS 3.4.0 Raster -> Analysis -> Fill nodata (a tool for Landsat 7 data). I am using the directly downloaded USGS tiff band files with corresponding gap mask band tiffs ...
1
vote
0answers
89 views

How can I stop single pixel nodata values propagating through a tile pyramid when using gdal2tiles?

I am using gdal2tiles_parallel.py to generate a tile pyramid from a single geotiff with nodata value set. I have noticed that if I have a small hole in the original geotiff (say single pixel), then I ...
1
vote
0answers
61 views

rasterio - nodata per band [closed]

I am looking at a way to specify a different nodata value for each band in rasterio. I tried to: use the nodata key in the profile with a tuple or list of nodata values, set the nodatavals attribute,...
4
votes
2answers
935 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 ...
0
votes
0answers
39 views

Polygon interpolation neighbour average?

I am trying to estimate empty values based on a polygon layer we received from another study. Is there a way to calculate an average value for polygon A based on neighbours B,C, etc that border it? I ...
0
votes
0answers
78 views

How to preserve NoData areas when changing data type in GeoTiff with QGIS or gdal_translate?

I have a float geotiff raster with values 0, 1 and 2, along with a nodata area. I'm trying to convert the file type do Byte but I'm not being able to preserve the nodata area. It gets converted to 0 ...
0
votes
1answer
460 views

Filling no data value in raster using ArcGIS Desktop?

I have a raster with no data values, I want to give them values according to values around them. If a no data pixel is surrounded by 8 pixels whose values are 1 then the no data pixel should adopt ...
2
votes
2answers
2k 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 ...
0
votes
0answers
58 views

Set multiple values to nodata - Erdas Imagine 2015

I am having trouble with the data ranges in the Landsat 8 surface reflectance product which I downloaded from USGS. The Lansat 8 surface reflectance handbook says the valid range is 0 - 10,000 range ...
1
vote
1answer
260 views

Meaning of NULL when using condition in gdal_calc

I am confused with the results of using a condition in gdal_calc. Initially I thought that gdal_calc was setting pixels to nodata where a condition is not met. In the documentation (http://www.gdal....
3
votes
0answers
68 views

Raster NoData Value

So over the years working with elevation and image rasters in various formats I always kind of ignore the value of No Data. I usually just let the software/vendor/someone else decide on the value for ...
0
votes
0answers
50 views

The SetNull tool does not correctly change “-9999” into NODATA

I am using ArcMap 10.5.1 and .tif raster data. When I executed the SetNull tool to convert all "-9999" values into NoData, the range of values in the output raster was greater than that in the ...