Displaying the range of each tower
Here we will learn how to query a feature, and then we will work with the geometry object and use the buffer operation to create a circle around the tower to represent the range based on a fixed radius.
In this section, we will start writing the actual ArcGIS code. To start working, copy the TelZaViBA empty add-in project template from the supporting files for this chapter under B04847_02_Files\telzaviba\Code
to C:\ArcGISByExample\telzaviba\Code
.
Just like tables consist of records, feature classes consist of records that are called features. We will now learn how to query a feature when we have its object ID:
Note
The ObjectID of a feature is a primary key that uniquely identifies each feature in a feature class.
Open the TelZaViBa solution by running the C:\ArcGISByExample\telzaviba\Code\TelZaViBA.sln
file. This will open Microsoft Visual Studio.
Note
If you are using an older version of Visual Studio (prior to 2013), you can open the project...