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

Displaying the signal strength

Finally, all that we have done during this chapter had one purpose: to display the strength of the signal. We managed to add the cell phone on the map, find the closest tower, and even highlight that tower, but now we need to do some math to calculate the signal. To calculate the signal in terms of percentage, we should establish some rules. If you are sitting just right by the tower, you should get 100 percent signal, and if you are sitting exactly on the edge of the range of the tower, you should have 0 percent signal. So we can deduce that the formula for calculating the signal is as follows:

S = (R – d)/R * 100

In the preceding formula, S is the signal strength in percentage, R is the range of the connected tower, ...

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