Book Image

ArcGIS By Example

By : Hussein Nasser
Book Image

ArcGIS By Example

By: Hussein Nasser

Overview of this book

Table of Contents (17 chapters)
ArcGIS By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Enabling signal maneuvering and highlighting the active tower


Now that we have learned how to read and map the coordinates, we need to add the maneuver by fetching each GPS point in a specific interval instead of loading all of them to the map. This will allow us to see a real-time view of the actual path.

Loading the GPS file

To start simulating real-time maneuvering, we should first read the coordinates from the file into memory. To do that, follows these steps:

  1. Open our TelZaViBa project from C:\ArcGISByExample\telzaviba\Code if you have closed it.

  2. Double-click on btnRealTime to open its code.

  3. First we will need to add a Windows Form to ask the user to select the GPS file instead of hardcoding it. To add a Windows Form, point to Project menu and then click on Add Windows Form. Then, in the Add New Item dialog, type frmRealTime.vb in the Name text, as shown in the following screenshot:

  4. Click on Add to add the form to the project and double-click on frmRealTime to open it.

  5. We will need a timer...