Book description
Go beyond the basics and unleash the full power of QGIS with practical, step-by-step examples
Key Features
- This book is your one-stop solution to all of your GIS needs using the open source QGIS
- Master QGIS by learning about database integration, geoprocessing tools, Python scripts, advanced cartography, and custom plugins
- This example-rich, practical guide will help you create sophisticated analyses and maps
Book Description
QGIS is an open source solution to GIS. It is widely used by GIS professionals all over the world. It is the leading alternative to the proprietary GIS software. Although QGIS is described as intuitive, it is also by default complex. Knowing which tools to use and how to apply them is essential to producing valuable deliverables on time.
Starting with a refresher on the QGIS basics, this book will take you all the way through to creating your first custom QGIS plugin. From the refresher, we will recap how to create, populate, and manage a spatial database. You’ll also walk through styling GIS data, from creating custom symbols and color ramps to using blending modes. In the next section, you will discover how to prepare vector, heat maps, and create live layer effects, labeling, and raster data for processing. You’ll also discover advanced data creation and editing techniques.
The last third of the book covers the more technical aspects of QGIS such as using LAStools and GRASS GIS’s integration with the Processing Toolbox, how to automate workflows with batch processing, and how to create graphical models. Finally, you will see how to create and run Python data processing scripts and write your own QGIS plugin with pyqgis.
By the end of the book, you will understand how to work with all the aspects of QGIS, and will be ready to use it for any type of GIS work.
What you will learn
- Create and manage a spatial database
- Get to know advanced techniques to style GIS data
- Prepare both vector and raster data for processing
- Add heat maps, live layer effects, and labels to your maps
- Master LAStools and GRASS integration with the Processing Toolbox
- Edit and repair topological data errors
- Automate workflows with batch processing and the QGIS Graphical Modeler
- Integrate Python scripting into your data processing workflows
- Develop your own QGIS plugin
Who this book is for
If you are a GIS professional, a consultant, a student, or perhaps a fast learner who wants to go beyond the basics of QGIS, then this book is for you. It will prepare you to realize the full potential of QGIS.
Table of contents
-
Mastering QGIS - Second Edition
- Table of Contents
- Mastering QGIS - Second Edition
- Credits
- Foreword
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. A Refreshing Look at QGIS
- 2. Creating Spatial Databases
-
3. Styling Raster and Vector Data
- Choosing and managing colors
- Managing color ramps
- Styling singleband rasters
- Styling multiband rasters
- Creating a raster composite
- Raster color rendering
- Raster resampling
- Styling vectors
- Vector layer rendering
- Using diagrams to display thematic data
- Saving, loading, and setting default styles
- Summary
-
4. Preparing Vector Data for Processing
- Merging shapefiles
- Creating spatial indices
- Checking for geometry errors
-
Converting vector geometries
- Creating polygon centroids
- Converting polygons to lines and lines to polygons
- Creating polygons surrounding individual points
- Extracting nodes from lines and polygons
- Simplifying and densifying features
- Converting between multipart and singlepart features
- Adding geometry columns to an attribute table
- Using basic vector geoprocessing tools
- Defining coordinate reference systems
- Viewing a statistical summary of vector layers
- Advanced field calculations
- Conditional formatting for attribute table cells
- Complex spatial and aspatial queries
- Summary
- 5. Preparing Raster Data for Processing
- 6. Advanced Data Creation and Editing
- 7. Advanced Data Visualization
-
8. The Processing Toolbox
- About the Processing Toolbox
- Performing raster analyses with GRASS
-
SAGA
-
Evaluating a habitat
- Calculating elevation ranges using the SAGA Raster calculator
- Clipping land use to the park boundary using Clip grid with polygon
- Querying land use for only surface water using SAGA Raster calculator
- Finding proximity to surface water using GDAL Proximity
- Querying the proximity for 1,000 meters of water using GDAL Raster calculator
- Reclassifying land use using the Reclassify grid values tool
- Combining raster layers using SAGA Raster calculator
-
Evaluating a habitat
- Exploring hydrologic analyses with TauDEM
- R
- LAStools and Fusion
- Summary
-
9. Automating Workflows with the Graphical Modeler
- An introduction to the graphical modeler
- Opening the graphical modeler
- Configuring the modeler and naming a model
- Adding data inputs to your model
- Adding algorithms to your model
- Running a model
- Editing a model
- Documenting a model
- Saving, loading, and exporting models
- Executing model algorithms iteratively
- Nesting models
- Using batch processing with models
- Converting a model into a Python script
- Summary
-
10. Creating QGIS Plugins with PyQGIS and Problem Solving
- Webography – where to get API information and PyQGIS help
- The Python Console
- My second PyQGIS code snippet – looping the layer features
- Exploring iface and QGis
- Exploring a QGIS API in the Python Console
- Creating a plugin structure with Plugin Builder
- A simple plugin example
- Setting up a debugging environment
- Debugging session example
- Summary
-
11. PyQGIS Scripting
- Where to learn Python basics
- How to load layers
- Vector structure
- Iterating over features
- Editing features
- Running Processing Toolbox algorithms
- Running an external algorithm or command
- Interacting with the map canvas
- Summary
- Index
Product information
- Title: Mastering QGIS - Second Edition
- Author(s):
- Release date: September 2016
- Publisher(s): Packt Publishing
- ISBN: 9781786460370
You might also like
book
Learning QGIS - Third Edition
The latest guide to using QGIS 2.14 to create great maps and perform geoprocessing tasks with …
book
QGIS Quick Start Guide
Step through loading GIS data, creating GIS data, styling GIS and making maps with QGIS following …
book
Hands-On Geospatial Analysis with R and QGIS
Practical examples with real-world projects in GIS, Remote sensing, Geospatial data management and Analysis using the …
book
QGIS: Becoming a GIS Power User
Master data management, visualization, and spatial analysis techniques in QGIS and become a GIS power user …