Questions tagged [nodata]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

How can I change the “NoData” value for a raster column in PostGIS?

I have a raster column with "NoData" value of 3.40282346638529e+038 in PostGIS. I want to change the NoData value to 100. I used the following code: SELECT ST_Reclass(ukc,1,'3....
0
votes
0answers
29 views

No Data holes with Mapfile / Python

I am working with Python with GDAL and Mapfile and I used the following cmd line in order to remove NoData: cmd = ["gdal_edit.py", src_img , "-unsetnodata"] And then in my ...
1
vote
0answers
22 views

Calculate total area of both adjacent and contiguous raster cells within a radial distance around a polygon's centroid

I have a raster containing grid-cell values of either 1 or no data, NA, representing used- or unused-habitat types, respectively. Using R's raster package, I want to calculate the total area (in ...
1
vote
0answers
54 views

Find NODATA values in TIF files using Python or QGIS [closed]

I have got about 7000 tifs in a directory. They all have the same defined NODATA value but not all of them contain cells with NODATA. How to tell which ones have NODATA cells programmatically? Python ...
0
votes
0answers
43 views

How to convert 0 values to NaN values with rasterio

I clipped my tif image to smaller tif via using a shapefile as mask with rasterio python library. After that my square shaped clip has bigger extent than shapefile and outside the the shp area is ...
0
votes
0answers
33 views

Fill no data pixels for specific area (not the whole image) resulting from cloud masking of Landsat 8 multi temporal composite (Google Earth Engine)

I need to conduct a Landuse classification of New Caledonia. I therefore used the Landsat 8 satelite images of one year and created a multi temporal mosaic by a mean function. As most of the areas ...
0
votes
0answers
21 views

Ignore raster no data

I'm clipping several rasters with different polygons and I've realized that some polygons fall on top of areas with no date values of the raster, returning me as a result completely empty clipps with ...
0
votes
0answers
30 views

Geoserver multiple nodata values ECW in alpha band

I want to combine multiple geotiffs to one ECW in FME and then upload the ECW in Geoserver. The responding nodata is stored in the alpha band. However with ECW compression (even when choosing 0 for ...
0
votes
1answer
26 views

Trying to define a range of values as NoData in QGIS

I have a raster from GEBCO with pixel values ranging from -5888 to 5485 m. I only want to analyze the Bathymetry so I am looking for a way to assign noData values to all values >0. I also have a ...
0
votes
0answers
34 views

gdal_translate of Tiff to gpkg with only one band and preserving of the nodata

I try to use gdal_translate in my windows command prompt to convert a single band .tif raster to a single band .gpkg. gdal_translate -of GPKG example.tif example.gpkg I always get a .gpkg with four ...
1
vote
1answer
61 views

Cannot get transparent tiles when using gdal2tiles on a GeoTIFF

I have this GeoTIFF generated through UAV mapping. It has 4 bands: red, green, blue and alpha. I've been trying to use gdal2tiles to use this geotiff as a basemap on a Leaflet project. The thing is I ...
0
votes
0answers
21 views

How do I add the entry “no data” into my legend with ArcMAP

In ArcMAP, on my raster image I am using a slight grey color to visualize no data values within the image. They are areas which did not surpass a critical threshold value. I would like to include this ...
0
votes
0answers
44 views

Adding two rasters results in negative infinity and positive infinity

I'm trying to create a hydro-flattened DEM according to USGS specifications. I have two rasters, a DEM of my study area and a raster that only contains the water bodies that I have flattened so the ...
0
votes
1answer
19 views

How do I find the NoData value of a TIFF on a Windows PC?

How do I find the nodata value of a tiff file on a Windows PC? I've seen answers for Unix based systems here, but not for Windows.
-1
votes
1answer
59 views

Change nodata value from -99999 to -9999 [closed]

I read many threads here to change the nodata value of my raster to desired value - in my case from -99999 to -9999. It seems I can not use spider or anything similliar as I do not have admin rights. ...
0
votes
0answers
215 views

Setting No Data value in a TIF using GDAL

I am working with various TIF-files using a Python Script and GDAL Library. Calculations within the array work fine and TIF-output worked too. I just want to Set the NoData-value by getting it from ...
0
votes
0answers
88 views

Problem with saving raster using writeRaster in R

I'm running some analysis in RStudio using raster and rgdal package. Where I assign variable to some raster, or stack for example: analysis = raster("M-34-91-B-a-1-4-4.img") Then I run some analysis ...
1
vote
1answer
82 views

Dealing with no-data values in raster calculator of QGIS

I am trying to patch two rasters with raster calculator but I am not finding the way to work with no-data values. Lager@1 has some information I need as first option, this has as no-data -9999 (...
2
votes
1answer
50 views

Can satellite data have different locations of nodata values in different channels

I have some Sentinel satellite imagery. And I have noticed that it looks like there are different locations of nodata values in each channel's mask. (I read in the tif file with 3 channels in via the ...
1
vote
1answer
42 views

Arcpy ArcMap mosaic use different raster whenever nodata value

I am using ArcPy in ArcMap and have multiple Rasters (Landsat imagery) taken from a given area (Image 1). My final goal is to create a cloud free image of the complete area. Since the Rasters ...
0
votes
0answers
109 views

Handling nodata values in raster in Python

I would like to set value of raster -999.0 as NaN in crop_image function, while reading/cropping file: for band_path in range_bands: # open raster as numpy array by rater.io in content manager(...
1
vote
0answers
28 views

Ignore background value

I'm using Copy Raster (Data Management) function. I need to ignore background values which are = 0 but keep all pixels =0 that are inside the raster. background_value should do it, however it does ...
1
vote
2answers
274 views

Merge overlapping rasters with ignoring no data values QGIS3

I thought this would be extremely basic task but obviously it's not. In QGIS3 GDAL Merge (GUI), I am trying to merge two rasters which overlap and each of them has a different distribution of nodata ...
0
votes
3answers
190 views

Changing a no value data from 0 to another value with python

I am using satellite data and by default it has a nodata value of 0 for each band. This is fine except for when I'm making NDVIs where 0 is a real value we need to include and I don't want it to be ...
1
vote
1answer
62 views

How to exclude/eliminate invalid areas (such as NoData, cloud, water, etc) from raster so that it does not effect the accuracy assessment?

I have two classified raster (snow cover % 10-100) one is prepared from coarse resolution and another is from finer resolution. I am doing accuracy assessment and matrix calculation of snow cover %. ...
1
vote
0answers
32 views

Handling Nodata values in sklearn (working w pyimpute)

I'm using sklearn for a classification project. Because I'm relatively new to doing geospatial tasks outside of a GUI, I'm using Matt Perry's pyimpute (link has all the code for that module) to handle ...
1
vote
1answer
271 views

QGIS Zonal Statistics and No_data

I think QGIS Zonal Statistics algorithm does not handle No_data values correctly. The expected behaviour is that if I set some raster cells to No_data (for example with the method suggested here, ...
1
vote
0answers
48 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
33 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?
2
votes
1answer
149 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
84 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
79 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
373 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
37 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
77 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
236 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
158 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.
2
votes
0answers
28 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
186 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
138 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 ...
5
votes
2answers
540 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
1answer
65 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
31 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
85 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
243 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
31 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
31 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 ...
2
votes
0answers
223 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
460 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
30 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 ...