O'Reilly logo

ArcGIS By Example by Hussein Nasser

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

Finding the distance between two points

In this section, we will learn about the proximity operators, which will help us to calculate the distance between two points. We will then use this to find the distance between the cell phone location and the tower. This will help us find the closest tower, which will be the connected tower.

Note

Proximity operator: This is an ArcObject method that returns the minimum distance between two geometric shapes. It works on points, lines, and polygon geometries.

Finding the distance between two towers

We will test our proximity operator on two of the towers, T01 and T02, in the TelZaViBa geodatabases to find the distance between them. We will get the T01 and T02 features using their corresponding object IDs and then ...

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