Understanding raster metadata, NoData and styling
Read a raster's size, cell size, bands, data type, CRS and NoData value, then style it in grey, pseudocolour, RGB or classified mode with a contrast stretch.
You will learn
- Read raster metadata and band statistics.
- Understand and use NoData.
- Style single-band and multiband rasters.
Prerequisites
Data for this tutorial
DEM 30 m (synthetic) Download dem.tif
- Format
- GeoTIFF, 1 band, Float32
- Geometry
- Raster, 560 × 480 cells of 30 m
- CRS
- EPSG:32643 (WGS 84 / UTM zone 43N)
- Content
- Elevations 450.01 to 678.95 m; NoData -9999 in the south-west corner
- In Orbis
- Browser panel ▸ Tutorial sample data (synthetic) ▸ DEM 30 m, or Load complete tutorial pack.
Multispectral 2024 (synthetic) Download multispectral_2024.tif
- Format
- GeoTIFF, 5 bands, UInt16 (reflectance × 10000)
- Geometry
- Raster, 280 × 240 cells of 60 m
- CRS
- EPSG:32643 (WGS 84 / UTM zone 43N)
- Content
- Bands 1 Blue, 2 Green, 3 Red, 4 NIR, 5 SWIR1; 0 = NoData
- In Orbis
- Browser panel ▸ Tutorial sample data (synthetic) ▸ Multispectral 2024, or Load complete tutorial pack.
Licence: CC0 1.0. All tutorial data is synthetic and generated by Orbis. About the datasets
The task
Before you analyse a raster you need to know its grid and its values: how large the cells are, which bands it has, and which value means "no data". Then you style it so that the values are readable.
Steps
- Add DEM 30 m and Multispectral 2024 from the tutorial data.
- Click the DEM and open the Dataset tab: 560 × 480 cells of 30 m, one Float32 band, EPSG:32643, NoData -9999. For a full report, run Raster information from the Toolbox; its report, with the extent, geotransform and exact band statistics, appears in the Processing log at the bottom.
- NoData marks cells without a value. In the DEM, 1,770 cells in the south-west corner are -9999. Orbis leaves them out of statistics and calculations and draws them transparent (NoData pixels transparent in the Style tab). If a raster uses a value as "no data" without declaring it, set it with Set NoData value.
Open the Style tab of the DEM. Choose Single-band pseudocolour as Render type, Hypsometric as Colour ramp, Percent clip as Contrast stretch and 2 – 98 as Clip (%). The histogram shows the distribution of elevations and the clip limits.

Pseudocolour styling of the DEM with a 2 to 98 % clip.
- Click Multispectral 2024. Choose Multiband colour (RGB) as Render type and set Red, Green and Blue to bands 4, 3 and 2 (near infrared, red, green): vegetation appears red in this false-colour composite. Bands 3, 2, 1 give natural colours.
Expected result
You know the grid and NoData value of the DEM, the DEM is coloured from low (green) to high (light), and the image shows a false-colour composite.
Common mistakes
- Styling changes values. Styles affect only the display. Tools always read the original cell values.
- Treating NoData as zero. A cell without data is not 0 m high; it is excluded from statistics.
Troubleshooting
- The raster looks flat grey. A few extreme values stretch the colours; use Percent clip instead of min/max.
- Black borders. Values outside the data area that are not declared as NoData; set them with Set NoData value or list them under Additional transparent values (display only).