Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn QGIS - Fourth Edition

You're reading from  Learn QGIS - Fourth Edition

Product type Book
Published in Nov 2018
Publisher Packt
ISBN-13 9781788997423
Pages 272 pages
Edition 4th Edition
Languages
Authors (2):
Andrew Cutts Andrew Cutts
Profile icon Andrew Cutts
Anita Graser Anita Graser
Profile icon Anita Graser
View More author details

Advanced vector and raster analysis with processing

In the following sections, we will cover more advanced processing tools and see how we can use the modeler to automate our tasks.

Finding nearest neighbors

Finding nearest neighbors – for example, the airport nearest to a populated place – is a common task in geoprocessing.

To do this, load the popp.shp into QGIS as well as the airports.shp, if this is not already loaded. Then search for the Distance to Nearest Hub tool (Line to Hub) in the toolbox. You should use the popp.shp as the Source points layer and the airports as the Destination hubs layer. The Hub layer name attribute will be added to the results attribute table to identify the nearest feature. Select...

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 $15.99/month. Cancel anytime}