Skip to Content
PostGIS in Action, Second Edition
book

PostGIS in Action, Second Edition

by Leo S. Hsu, Regina O. Obe
April 2015
Beginner to intermediate content levelBeginner to intermediate
600 pages
18h 13m
English
Manning Publications
Content preview from PostGIS in Action, Second Edition

Chapter 10. Proximity analysis

This chapter covers:

Nearest neighbor searches

KNN distance operators

Using KNN with geography

Geotagging

Once you’ve located places with a set of coordinates, questions such as the following arise: How far is my house from the nearest expressway? How many burger joints are within a mile drive? What’s the average distance that people have to commute to work? Which three hospitals closest to me offer emergency vasectomies? We’ll file all these questions under the heading of proximity analysis–loosely, the study of how far something is located from something else.

We’ll cover both the traditional methods of finding closest neighbors as well as newer methods using KNN indexes. Speed is a concern when performing proximity ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PostGIS in Action, Third Edition

PostGIS in Action, Third Edition

Regina O. Obe, Leo S. Hsu
Mastering PostGIS

Mastering PostGIS

Dominik Mikiewicz, Michal Mackiewicz, Tomasz Nycz
PostGIS Cookbook - Second Edition

PostGIS Cookbook - Second Edition

Stephen Vincent Mather, Pedro Wightman, Bborie Park, Thomas Kraft, Mayra Zurbarán, Paolo Corti
Learning PostgreSQL 11 - Third Edition

Learning PostgreSQL 11 - Third Edition

Christopher Travers, Andrey Volkov

Publisher Resources

ISBN: 9781617291395Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link