Match an address by clicking a map


PurposeThe Pick Address tool allows users to manually specify the locations of addresses by clicking a point on a map. This tool updates the geometry of the feature in the geocoded feature class, as well as the x,y coordinate attributes of the feature. The status attribute of the geocoded feature is changed to C.

Development licensing Deployment licensing
ArcInfo ArcInfo
ArcEditor ArcEditor

Additional Requirements
  • An edit session with an editable geocoded feature class.

How to use

See Using the samples for help on compiling, setting up the debugger, and running the sample (either an exe or dll).

  1. Open the Visual Studio 2005 solution file and build the project. This will add the custom object into the Developer Samples component category as Pick Address.
  2. On the ArcMap Customize dialog box (from Tools, then Customize), click the Commands tab and click the Developer Samples commands category.
  3. From the Developer Samples commands category, drag and drop the Pick Address tool onto a toolbar.
  4. Add a geocoded feature class to the ArcMap document.
  5. Start an edit session and open the attribute table of the geocoded feature class.
  6. Select a record you want to assign a location by clicking a point on the map.
  7. The Pick Address tool will be enabled when there is a geocoded feature class and a record is selected in an edit session. Click the Pick Address tool.
  8. Click the map to specify its location. The geometry of the selected record will be updated and the value in the Status field will be changed to C (stands for coordinate matched).
  9. Select another record and use the tool to get a location on the map.
  10. Save your edits when you are done choosing locations for the addresses.

AssemblyInfo.cs File containing assembly information.
PickAddress.csproj The C# project file.
PickAddress.sln The C# solution file.
PickAddressTool.bmp The bitmap graphic for the tool.
PickAddressTool.cs The class file demonstrating how to create the Pick Address tool.
PickAddressTool.cur Cursor for the Pick Address tool.
Download the C# files
AssemblyInfo.vb File containing assembly information.
PickAddress.sln The VB.NET solution file.
PickAddress.vbproj The VB.NET project file.
PickAddressTool.bmp The bitmap graphic for the tool.
PickAddressTool.cur Cursor for the Pick Address tool.
PickAddressTool.vb The class file demonstrating how to create the Pick Address tool.
Download the VB.NET files

Download the files for all languages