Questions tagged [nodata]

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

41 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
61 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 ...
3
votes
0answers
59 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....
3
votes
0answers
140 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 ...
3
votes
0answers
59 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 ...
3
votes
0answers
68 views

NODATA on MapServer

I am trying to generate a DEM mosaic to publish via a WCS using MapServer. Unfortunately I can not remove the NODATA. In MapServer's own tutorials and discussion groups suggest PROCESSING "NODATA = 0",...
2
votes
0answers
46 views

NoData and Multiband Calculations

I was recently trying to perform some band math calculations in multiband images. I have a big chunk of images witch contains more than 300 bands (dates) each. So I first choosed ENVI to do this ...
2
votes
0answers
209 views

Programatically assigning NoData value in raster output?

I have written a tool that operates on raster data. When the tool finishes it outputs a raster into a gdb, but the output does not have a NoData value listed under properties (input does, output does ...
2
votes
0answers
37 views

ArcGIS Visibility <NoData> / 0 when observer point in raster cell center

As I discovered, the ArcGIS Visibility tool seems to produces a vertical line from the observer point northwards in the above ground level raster and a 0 value in the visibility Raster, if the ...
2
votes
0answers
553 views

Make “Nodata” transparent in raster - Mapfile/Mapserver

I have a raster and I'm trying to make it display in Openlayers2, using Mapserver 7.0 in backend. My problem is, I think, that because the online map is not the same projection as my data, Mapserver (...
2
votes
0answers
4k views

Python Band.SetNoDataValue(), sets all bands at once

Can someone tell me what I am doing wrong? I want to set bands 1 and three to 255, and band 2 to 0. The code below only should only set band 2, but gdalinfo shows that all bands get set to 0. Ubuntu ...
2
votes
0answers
118 views

Set Default Transparent Pixels in QGIS?

Is there a way to set QGIS to automatically load in images with no data values of (0,0,0) as transparent instead of black? I've looked through the forums, tried saving a .qml file out, looked through ...
2
votes
0answers
772 views

NoData specification via IEEE NaN in GeoTIFF for ArcGIS

I am a programmer exporting 32-bit floating point GeoTIFF rasters from my own application that my users need to read into ArcGIS. Unfortunately I am not an Arc user myself and have zero expertise with ...
1
vote
0answers
16 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
16 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 ...
1
vote
0answers
40 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 ...
1
vote
0answers
24 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 " +...
1
vote
0answers
60 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
0answers
79 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
166 views

GDAL API: GDALPolygonize - nodata

I am attempting to polygonize a raster using GDAL C API. The input rasters can contain nodata pixels. My current method (see the code below) produces a new polygon vector, but the output also includes ...
1
vote
0answers
92 views

remove values around raster

I'm working on QGIS 2.14. I'm using grass7:neighbors algorithm but i get artefacts on some sides of my images I would like to clip my new image with the shape of the original to remove this problem, ...
1
vote
0answers
374 views

gdaldem slope calculation noData

I use gdaldem to calculate the slope of a given region. This is the command I use: gdaldem slope -s 111120 -p -compute_edges N34E069.hgt N34E069_slope.tif (I've got the SRTM data from http://...
1
vote
0answers
526 views

Gdalwarp: how to set nodata value after warp?

I have source RGBA image here is output of gdalinfo : Driver: GTiff/GeoTIFF Files: src.tif Size is 780, 670 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",...
1
vote
0answers
161 views

Why does QGIS convert 'NoData' values to 'Zero'?

I'm trying to convert a clipped multi-spectral sentinel-2 image in QGIS to an 8-bit rendered image in a different CRS. I've clipped the image to the coastline and defined the other unwanted areas of ...
1
vote
0answers
77 views

How to Remove No Data from a NetCDF Raster Layers?

Question: How to remove no data from a NetCDF Raster Layer? I am trying to use the Zonal Statistics as Table tool in ArcGIS to calculate the mean. The problem is I am not getting the correct mean, ...
1
vote
0answers
145 views

How do I change my “no data” values to get “true” values in raster calculator in Qgis

I have two rasters and I want to subtract the values from one of the layers. The first raster is a altitude raster and the second raster is depth values for a lake. I would like to subtract the depth ...
1
vote
0answers
191 views

Con statement outputs using arcpy.sa.Con doesn't ignore NoData

In ArcGIS 10.2, using the Con tool, I ran a conditional statement to return RasterA where RasterB value >0. That worked fine. Transferring the code into python, the statement reads something like: ...
1
vote
0answers
1k views

Convert polygon to raster and give value to null cells

Is there a way to convert polygon features to raster while also populating null cells with a specific value? As in, can I create a raster from a polygon shapefile and have the tool populate all null ...
1
vote
0answers
68 views

Managing or Reducing noise in a mosaic raster

I have created a raster with the Mosaic to New Raster tool from 3 separate rasters. However in my mosaic I have some consecutive pixels which seem to be the noise of the previous procedure. Is there ...
0
votes
0answers
22 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 ...
0
votes
0answers
35 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/...
0
votes
0answers
34 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 ...
0
votes
0answers
101 views

How delete delete or mask nodata 0 value in the mask

I have raster (with 5 bands) and shapfile in the same projection. I do this script for rastersize and do mask and clip raster or crop raster with mask but I need to have just clip raster without black ...
0
votes
1answer
214 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 ...
0
votes
0answers
32 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
56 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
0answers
42 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 ...
0
votes
0answers
44 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 ...
0
votes
0answers
150 views

Add r.null functionality to GRASS toolbox algorithms in QGIS

I'd like to be able to use GRASS's r.null operation in the QGIS processing toolbox (not via the GRASS plugin). However, it doesn't seem to be available. How would I go about adding code to allow for ...
0
votes
0answers
234 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 ...
0
votes
0answers
52 views

Using r.neighbors on borders

I have a raster file with pixel size 30 x 30. At the upper border there is half row with "no data" pixels. I want to use the mode function to replace them. I have only thought r.neighbors (from grass) ...
0
votes
0answers
278 views

Getting GDAL Color distortion around nodata value stitching?

I am trying to extract JPEGs from SID images using GDAL. I ran into a an issue where black lines were present and figured out that it was a nodata issue, so I added -src/dst/vrt nodata arguments and ...