Skip to main content

Questions tagged [nodata]

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

Filter by
Sorted by
Tagged with
-1 votes
1 answer
48 views

I can't fill in the gaps in the DEM map [closed]

I downloaded the DEM files of the Balkan peninsula from the USGS website. I created a Balkan Peninsula DEM map larger than 3 GB from more than 130 DEM files, each of which is 25 MB. However, there is ...
William24's user avatar
0 votes
0 answers
29 views

ArcGIS classification and accuracy assessment NoData class and error generating accuracy points

I'm trying to classify a clipped Landsat raster and then do an accuracy check for a watershed. When I do classify my clipped watershed, the region outside the ROI also gets classified i.e. the NoData ...
ManishaSingh12's user avatar
0 votes
0 answers
29 views

gdal_fillnodata strange artifacts

I'm seeing an odd artifact when using gdal_fillnodata.py. I have a raster (purple is no data, white and black are two different numeric values). Using a mask exactly corresponding to the no data ...
Stev_k's user avatar
  • 6,719
0 votes
1 answer
62 views

Nodata value error when uploading .tif files into Google Earth Engine

I am working with some data that somebody else prepared. The data consists of DEM .tif files that have been remapped to different values. When I attempt to upload these files to Google Earth Engine ...
Micky Maganini's user avatar
0 votes
1 answer
42 views

Rasterizing a Boolean vectorial file

When I try to rasterize a Boolean vector file in QGIS I just get the ones values, what can I do to get both values (0,1)? There is no "nodata" values in the file.
user's user avatar
  • 153
2 votes
1 answer
41 views

Transfer NoData value with MosaicToNewRaster in arcpy

I am trying to create a mosaic dataset that keeps the properties of the original rasters. However, when I try to use arcpy's MosaicToNewRaster, the nodata type of -999999.0 is not carried over. I ...
ENIAC-6's user avatar
  • 906
1 vote
0 answers
49 views

Why the difference between tools executed from ArcGIS toolbox and tools executed from Python?

While using the Copy Raster tool from data management toolbox, I get the following different behaviors when using it from ArcGIS PRO and when using it as Python script. The script behind the two ...
gigel cur's user avatar
1 vote
1 answer
39 views

NoData strip appears after MODIS data downloaded from GEE

In Google Earth Engine, I used the following code to generate a MODIS NDVI ImageCollection. var batch = require('users/fitoprincipe/geetools:batch'); var ndvi = ee.ImageCollection("MODIS/...
Chu's user avatar
  • 13
1 vote
0 answers
51 views

Setting the nodata value

I have three Sentinel 2 rasters for band 4 (named tile1_B04, tile2_B04, tile3_B04) and my area of interest is clipped by merging these 3 rasters. 2 out of 3 rasters have 0 pixels in certain portions. ...
rekha's user avatar
  • 11
0 votes
0 answers
39 views

Add missing values to raster data set [expand, not fill holes] in QGIS

I'm relatively new to QGIS and have run into the following problem. I am using a raster soil data set that was cut to the country border. However, since the cut was rough and my research area is set ...
lappelsien's user avatar
0 votes
0 answers
35 views

How can I use Whitebox hydrology tools with areas of internal drainage (ie. true sinks)?

I'm trying to use some Whitebox hydrology tools on a raster where I want to set inland points as areas of internal drainage and I don't understand how the fill tools treat NoData points when filling ...
mira's user avatar
  • 1
1 vote
2 answers
260 views

Combining two different rasters with different extent and different precision in QGIS

I am trying to combine two rasters into one, so that I can better work on it as one topography layer. I need both, because the first (1) one has complete information on my focus area, while the second ...
Serena's user avatar
  • 11
1 vote
1 answer
57 views

Differentiate between actual nodata and non-applicable nodata values in raster extent (QGIS)

I obtained a wetland raster online which has 10 different values for each type of wetland. It also has Nodata values for those pixels which do not contain any wetlands. However, the same 'Nodata' ...
Aditya Banerjee's user avatar
1 vote
2 answers
273 views

GDAL remove nodatavalues from output for COG format

I need to remove the nodata values from the final mosaic of Sentinel-2 data. Here is the process I apply to each single file: gdalwarp -t_srs EPSG:4326 -srcnodata 0 input.jp2 output_warp.tif ...
Monica Rossetti's user avatar
0 votes
1 answer
236 views

In GEE replace NoData value with value Zero in an image with only one band

I have the following code in GEE: I am trying to replace the NoData values with Zeros. var mag_nbr = float_predictor_variables.select(['MAG_NBR']) var mag_nbrZero = mag_nbr.where({ test: ...
Isa's user avatar
  • 193
1 vote
1 answer
34 views

Setting nodata from no polygon

I am trying to convert polygon to raster. The polygon class are from 0 to 4. There are many spot that no polygon. It means, I don't create polygon. I try use QGIS, using Raster > Conversion > ...
mega saputra's user avatar
2 votes
1 answer
218 views

How to set NoData value to isolated pixels in Python

To reduce noise in a raster file, I aim to eliminate isolated pixels, those surrounded by NoData values in all eight neighboring positions. I have this code, but it is not removing those isolated ...
Isa's user avatar
  • 193
1 vote
0 answers
41 views

Query: Raster alignment in QGIS (pixels without data)

I would like to know if when aligning rasters of different resolutions in QGIS if it is possible that some areas that do not have data can somehow be modified or interpreted to give an explanation ...
Diego_12's user avatar
2 votes
0 answers
52 views

How do I batch-assign NoData values?

I have a number of rasters I need to mosaic together. The areas with data are within a rectangular "nan" envelope. The "nan" envelopes of different rasters overlap each other. No ...
Matt's user avatar
  • 151
2 votes
0 answers
120 views

Removing black background from the raster which has actual data pixels with value 0 in QGIS

I have a raster with the area of interest and a black background around it. The problem is I can't remove that area by putting 0 as additional nodata, since it's a DEM layer which has 0m elevations as ...
Aditya Banerjee's user avatar
3 votes
1 answer
80 views

Reset the NODATA to negative value error

I have a requirement for converting NODATA to value -3 with my floating point data. I have tried to reset NODATA by using Raster Calculator with the formula of Con(IsNull("tif"),-3,"tif&...
JENN's user avatar
  • 31
0 votes
1 answer
314 views

Problem with NaN values in a zonal_statistic Python script

I want to create a script to extract zonal statistics from all bands of tif files in a directory using each feature contained in a shapefile. I use the nodata value of the image to avoid using those ...
Isa's user avatar
  • 193
1 vote
2 answers
1k views

Removing no-data from raster images

I have chunks of rasters that I need to remove the no-data values so I can visualize them together and that they fit and do not overlap. I was using gdal_translate command for %i in (*.tif) do ...
Matjaz's user avatar
  • 11
3 votes
2 answers
221 views

Creating a new raster showing values based on how many rasters overlap

Intro to GIS student here. Hopefully I can articulate this issue clearly: Currently, I have six raster layers that I am trying to create a new layer out of. I think the best way to describe the new ...
user221880's user avatar
2 votes
1 answer
910 views

Numpy is not setting properly nan values: arr[arr== 0] = np.nan

I am creating a script to normalize a satellite scene. My input image is of type float32, and no NoData value is assigned. However, during the normalization, I want to avoid using pixels with a value ...
Isa's user avatar
  • 193
1 vote
1 answer
147 views

Crop raster to area with data pixel perfectly

I have a raster file with some data pixels around the middle and a huge amount of NODATA padding everywhere around it. How can I crop the raster so that the extent aligns with the outermost non-NODATA ...
bugmenot123's user avatar
  • 10.9k
0 votes
1 answer
183 views

How to avoid the negative values in Raster extraction [ example -32767] in QGIS

I 'am trying get a raster values as xyz format for ground terrain analysis using QGIS software, After extracting raster data,few cells are showing -32767 values, how to get rid of these negative ...
Dhanya Gowda's user avatar
5 votes
2 answers
967 views

NoData masks in QGIS

How can I process an existing raster in QGIS to get a mask showing all nodata cells. I want a raster with value 1 in each cell that has valid data and 0 in each cell with a nodata value. I intend to ...
Beauxesprits's user avatar
2 votes
2 answers
190 views

Multiply two rasters with condition

I have two rasters that I want to multiply in QGIS with raster calculator, but they both have also cells with 'no data'. If I multiply simply raster1 by raster2, the result of the multiplication ...
AUS85's user avatar
  • 446
0 votes
0 answers
102 views

Excluding NoData zones in zonal statistics as table in ArcGIS Pro

I'm trying to calculate mean values of a raster within buffer zones. In the zonal statistics as table tool window, I unchecked 'Ignore NoData in Calculations' so that there is no mean calculated for ...
Salman's user avatar
  • 736
0 votes
2 answers
111 views

Why doesn't r.null convert -3.4e+38 to nodata?

I have a raster with nodata values of 3.4028e+38. I want to convert the nodata to be -32768, so it is consistent with the nodata values of some other layers. I found a thread on here that indicated r....
hmnoidk's user avatar
  • 707
1 vote
1 answer
109 views

Python lidar package dealing with NoData values

I am attempting to use the python lidar package function lidar.ExtractSinks(). I have a raster dataset that looks like the following. Not a very useful image, but it gets the point across that I am ...
Max Duso's user avatar
  • 153
1 vote
0 answers
130 views

NoData values show up as values in ArcGIS Online map

I have a raster layer that I want to host as a web map and then host on a Arc Online Web Application. For some reason, my NoData values that appear transparent on ArcGIS Pro are showing up as a value ...
Erioderma's user avatar
  • 545
4 votes
1 answer
424 views

QGIS zonal statistics only non zero values

I have a raster layer and a polygon layer. The raster layer has values between 0 and 600. I want to calculate the average of all values above 0 within each polygon. The only solution I came up with so ...
vivivi's user avatar
  • 65
3 votes
1 answer
71 views

Fixing errors in old DTM in QGIS

I'm currently working on fixing some errors in some old DTMs. The issue is there are pixels with a value of "-1.4013e-45" which are all over the rasters. I'm looking for a way to remove ...
Richard McDonnell's user avatar
0 votes
2 answers
389 views

rasterio.fill.fillnodata doesn't work as expected

I have a DEM of a lake bottom, that contains a few holes (nodata) which I'd like to fill. For that purpose i'm using rasterio's fillnodata with a mask. Unfortunatly, I don't get the results I am ...
Zev_Zide's user avatar
  • 187
0 votes
1 answer
318 views

Convert nodata values to 'nan' in QGIS

I have a raster layer that I want to use in a software program. The program requires nodata values to be 'nan', rather than a number. Currently the no data value is 1,000,000,000. (I'm not sure why ...
Melanie Baker's user avatar
0 votes
0 answers
244 views

NoData fill QGIS (alternative to nibble tool in ArcGIS)

I have two raster layers - one is a mastergrid, the other shows slope. I want to 'expand' my slope raster so that it covers the same extent as the mastergrid by in some way interpolating the 'missing' ...
amybonnie98's user avatar
4 votes
1 answer
281 views

How can I set raster outliers in QGIS to nodata?

for further analysis I want to execlude raster outliers (mostly single pixel values). Therefore, how can I set global raster outliers (e.g., mean +- 2*sd) to nodata value in QGIS?
Marcel Gangwisch's user avatar
1 vote
1 answer
762 views

Filling raster gaps with other raster, but maintaining all original data cells?

I have a normalised dataset of Europe that has significant gaps in the UK and Scandinavia (raster1). The nodata value for raster1 is 2.54. To fill those gaps I want to use another normalised European ...
geogalog's user avatar
0 votes
1 answer
130 views

How to uncheck no data value option in Python

I have been using QGIS to perform raster calculations, which have required me to uncheck the no data value box. I am now trying to accomplish all these steps in Python, and was wondering does anyone ...
Guest_question_1087626532's user avatar
1 vote
0 answers
381 views

How to clip a raster with polygon with no "NoData" pixel outside of polygon

I have a polygon with this shape: The polygon is diagonal. And I have a raster that covers all of pixels in the minimum bounding rectangle (MBR) of the polygon. I used QGIS tool "Clip Raster by ...
milad's user avatar
  • 729
0 votes
1 answer
272 views

Change missing areas value(0) to other in Google Dynamic World Landcover Yearly Mode Mosaic to not mix with water class (also 0)

When I create a yearly mode mosaic using Google Dynamic World Landcover Data, the areas with missing landcover values especially in high Himalayan regions(perhaps due to the 35% cloud threshold) are ...
ali sh's user avatar
  • 29
1 vote
1 answer
425 views

Raster NA Error in R - Error in { : task 5 failed - "0 (non-NA) cases"

I'm trying to conduct a landscape genetic analysis through the R Package ResistanceGA on some environmental rasters. However, I keep running into the error Error in { : task 5 failed - "0 (non-NA)...
cuspatial's user avatar
4 votes
1 answer
526 views

Raster calculator gives an output with mostly NoData values

I am using QGIS 3.20 and have an area with the whole extent covered by 4 different layers, but when I perform a raster calculation to sum up the cell values, I only get scattered results in a mostly ...
spatial_analyst32's user avatar
1 vote
0 answers
665 views

rioxarray - masks as no data

So far, I always used nodata with the method rio.write_nodata(). But new raster I had several bands and I only want that pixel to be nodata, when every channel of the pixel is a no data value. How ...
Sebastian H's user avatar
0 votes
1 answer
133 views

QGIS creates BOX with no data when merged

I have 2 rasters. The first one is a lidar which is clipped by a masked layer. (30.53mb, pixel size=1m,float32) The other is a local survey GEOTIFF. (75kb, pixel size=1m,float32) When I merge them, ...
KMG's user avatar
  • 33
2 votes
1 answer
718 views

Border of zeroes when exporting image in Earth Engine

Problem description When exporting any clipped image in Earth Engine using Export.image.toDrive function; it always converts masked pixels (nodata) to zeroes (0). The only exception from this ...
Yousif Almamalachy's user avatar
1 vote
1 answer
326 views

Batch SetNull in ArcGIS Pro

I am using ArcGIS Pro. I have 100s of GeoTIFFs with NoData set to -99999 and I need to set NoData to null. I can’t seem to get batch SetNull to work. The images are 32 bit float.
Candi Smith's user avatar
1 vote
0 answers
56 views

"no data" result from raster calculator

Am trying to implement the following line in QGIS raster calculator: ("L@1" < 0) * ((1 - 16 * 200 / "L@1")^0.25) + ("L@1" >= 0) * 1 Basically, when L is less than ...
Apeny's user avatar
  • 11

1
2 3 4 5 6