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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn QGIS

You're reading from   Learn QGIS Your step-by-step guide to the fundamental of QGIS 3.4

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781788997423
Length 272 pages
Edition 4th Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Anita Graser Anita Graser
Author Profile Icon Anita Graser
Anita Graser
Andrew Cutts Andrew Cutts
Author Profile Icon Andrew Cutts
Andrew Cutts
Arrow right icon
View More author details
Toc

Raster data

Raster data is not created like vector data. Quite often, raster data is created from other raster data, such as creating a slope raster from a topographic raster. Raster data can also be created from vector data, which can be done by gridding a series of coordinates/points. QGIS has the ability to perform all of these functions. We will further explore raster visualization in Chapter 4, Creating Great Maps, and processing rasters in Chapter 6, Extending QGIS with Python.

In this section, we will convert our Canada_Provinces.shp to a raster. In the menu, click Raster | Conversion | Rasterize (vector to raster), as shown in the following screenshot:

Vector to raster

In the following dialog box, enter these parameters:

  • Input Layer: Canada_Provinces.
  • Burn-in value: id.
  • Output raster size units: Pixels.
  • Width: 10 (this will create a raster with a width of 10 pixels...
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