Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
QGIS Quick Start Guide

You're reading from   QGIS Quick Start Guide A beginner's guide to getting started with QGIS 3.4

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789341157
Length 164 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Andrew Cutts Andrew Cutts
Author Profile Icon Andrew Cutts
Andrew Cutts
Arrow right icon
View More author details
Toc

Raster analysis

Create a new QGIS project and load into the map the landcover.img file. We'll use this layer to demonstrate a couple of the many raster processing tools in QGIS. On load, we have landcover classes with values ranging from 0 to 13. The value zero appears to correspond to water. In this example, we're going to set all of the values that are equal to zero to nodata. In GIS we would set raster data to no data when we have data that we don't want to use or display.

To change the 0 values in the Landcover dataset to nodata, select Raster | Conversion | Translate (Convert Format) as shown in the following screenshot:

Calling the Translate tool

The Translate tool is very helpful to convert rasters into different data types and formats. It's built on the GDAL translate tool; you can read about the options with gdal_translate here: https://www.gdal...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image