O'Reilly logo

Mastering QGIS - Second Edition by GISP Dr. John Van Hoesen, Dr. Luigi Pirelli, GISP Dr. Richard Smith Jr., GISP Kurt Menke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Converting between raster and vector data models

QGIS provides tools to convert between raster and vector data models. In this section, we will convert between the two data models using a national land cover dataset of 2006 for the Dallas area in Texas.

Converting from raster to vector

To convert a raster to a vector format, QGIS provides the Polygonize tool. The Polygonize tool converts an input raster file into any supported type of vector file and writes the raster cell values to a field in the vector file. When the raster is polygonized, adjacent cells of the same value are aggregated to a single larger polygon.

To access the Polygonize tool, click on Polygonize (Raster to vector) by navigating to Raster | Conversion. The Polygonize tool is shown ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required