What is a "Nodata value"
From AWF-Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | {{TutorialNavigator}} | + | {{TutorialNavigator}}{{Content Tree|HEADER=QGIS Tutorial|NAME=QGIS tutorial}} |
− | {{Content Tree|HEADER=QGIS Tutorial|NAME=QGIS tutorial}} | + | |
A nodata value simply is a pixel value in a vector or raster map representing no information. It is ''not to be confused'' with a pixel value of ''0'' (zero). | A nodata value simply is a pixel value in a vector or raster map representing no information. It is ''not to be confused'' with a pixel value of ''0'' (zero). | ||
Line 8: | Line 7: | ||
Accumulations of neighboring pixels result in so called “nodata-areas”. | Accumulations of neighboring pixels result in so called “nodata-areas”. | ||
− | [[File:Nodata_example.jpg|thumb| | + | [[File:Nodata_example.jpg|thumb|600px|center|A rastermap in QGIS. The white space where the mouse points at indicates a nodata area. The open [[identify feature]] window displays a value of ''-9999'', a common nodata value in Arc/Info ASCII grid]] |
The way nodata values are saved depends on the respective data type, but may also vary within. They may be saved as numbers or [[string|strings]]. | The way nodata values are saved depends on the respective data type, but may also vary within. They may be saved as numbers or [[string|strings]]. |
Revision as of 15:20, 24 August 2011
QGIS Tutorial
Category QGIS tutorial not found
A nodata value simply is a pixel value in a vector or raster map representing no information. It is not to be confused with a pixel value of 0 (zero).
E.g. in a raster-map containing temperatures of a surface in °C, a pixel value of 0 represents a temperature of 0 °C, while a nodata-pixel simply represents a part of the surface where no information on the temperature is available.
Accumulations of neighboring pixels result in so called “nodata-areas”.
The way nodata values are saved depends on the respective data type, but may also vary within. They may be saved as numbers or strings. Examples are shown in the table below.
Data type | Nodata value (string) | Nodata value (number) |
---|---|---|
GRASS raster | null | |
GeoTIFF | nan | |
Arc/Info ASCII Grid | -9999 |
In QGIS, information on the nodata value can be obtained from the layer properties (Metadata) and/or General tab).