Reader small image

You're reading from  Learn QGIS - Fourth Edition

Product typeBook
Published inNov 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781788997423
Edition4th Edition
Languages
Tools
Right arrow
Authors (2):
Andrew Cutts
Andrew Cutts
author image
Andrew Cutts

Andrew Cutts holds a geography degree and a masters degree in GIS and has almost 20 years of experience in working with geospatial technology. He currently works as a freelance geospatial consultant. He has worked in local government, large multinational companies, and small and medium-sized enterprises. He has run a geospatial blog for almost 3 years and is a co-host of the #scenefromabove podcast. Andrew has spoken at events worldwide on GIS and Earth observation. He is a keen user of Python, especially for rapid prototyping for geospatial challenges. Currently, he is working with clients to maximize their investment with geospatial technology through direct consulting, training, and technical writing.
Read more about Andrew Cutts

Anita Graser
Anita Graser
author image
Anita Graser

Anita Graser is a spatial data scientist, open source GIS advocate, and author with a background in geographic information science. She is currently working with the Center for Mobility Systems at the Austrian Institute of Technology in Vienna and teaching QGIS classes at UNIGIS Salzburg. She serves on the QGIS project steering committee. and has published several books about QGIS. Furthermore, she develops tools, such as the Time Manager plugin for QGIS. You can follow her on Twitter @underdarkGIS.
Read more about Anita Graser

View More author details
Right arrow

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 page is locked
Previous PageNext Page
You have been reading a chapter from
Learn QGIS - Fourth Edition
Published in: Nov 2018Publisher: PacktISBN-13: 9781788997423

Authors (2)

author image
Andrew Cutts

Andrew Cutts holds a geography degree and a masters degree in GIS and has almost 20 years of experience in working with geospatial technology. He currently works as a freelance geospatial consultant. He has worked in local government, large multinational companies, and small and medium-sized enterprises. He has run a geospatial blog for almost 3 years and is a co-host of the #scenefromabove podcast. Andrew has spoken at events worldwide on GIS and Earth observation. He is a keen user of Python, especially for rapid prototyping for geospatial challenges. Currently, he is working with clients to maximize their investment with geospatial technology through direct consulting, training, and technical writing.
Read more about Andrew Cutts

author image
Anita Graser

Anita Graser is a spatial data scientist, open source GIS advocate, and author with a background in geographic information science. She is currently working with the Center for Mobility Systems at the Austrian Institute of Technology in Vienna and teaching QGIS classes at UNIGIS Salzburg. She serves on the QGIS project steering committee. and has published several books about QGIS. Furthermore, she develops tools, such as the Time Manager plugin for QGIS. You can follow her on Twitter @underdarkGIS.
Read more about Anita Graser