Book Image

QGIS:Becoming a GIS Power User

By : Ben Mearns, Alex Mandel, Alexander Bruy, Anita Graser, Víctor Olaya Ferrero
Book Image

QGIS:Becoming a GIS Power User

By: Ben Mearns, Alex Mandel, Alexander Bruy, Anita Graser, Víctor Olaya Ferrero

Overview of this book

The first module Learning QGIS, Third edition covers the installation and configuration of QGIS. You’ll become a master in data creation and editing, and creating great maps. By the end of this module, you’ll be able to extend QGIS with Python, getting in-depth with developing custom tools for the Processing Toolbox. The second module QGIS Blueprints gives you an overview of the application types and the technical aspects along with few examples from the digital humanities. After estimating unknown values using interpolation methods and demonstrating visualization and analytical techniques, the module ends by creating an editable and data-rich map for the discovery of community information. The third module QGIS 2 Cookbook covers data input and output with special instructions for trickier formats. Later, we dive into exploring data, data management, and preprocessing steps to cut your data to just the important areas. At the end of this module, you will dive into the methods for analyzing routes and networks, and learn how to take QGIS beyond the out-of-the-box features with plug-ins, customization, and add-on tools. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: ? Learning QGIS, Third Edition by Anita Graser ? QGIS Blueprints by Ben Mearns ? QGIS 2 Cookbook by Alex Mandel, Víctor Olaya Ferrero, Anita Graser, Alexander Bruy
Table of Contents (6 chapters)

Chapter 6. Network Analysis

In this chapter, we will cover the following recipes:

  • Creating a simple routing network
  • Calculating the shortest paths using the Road graph plugin
  • Routing with one-way streets in the Road graph plugin
  • Calculating the shortest paths with the QGIS network analysis library
  • Routing point sequences
  • Automating multiple route computation using batch processing
  • Matching points to the nearest line
  • Creating a network for pgRouting
  • Visualizing the pgRouting results in QGIS
  • Using the pgRoutingLayer plugin for convenience
  • Getting network data from the OSM

Introduction

This chapter focuses on the common use cases that are related to routing within networks. By far, the most common networks that are used to route are street networks. Other less common cases include networks for indoor routing, that is, through rooms inside buildings, or networks of shipping routes.

Networks and routing are in no way a GIS-only topic. You will find a lot of math literature related to this, called...