Single line address geocoding


PurposeThis sample shows how to use ArcObjects to geocode an address using the single line input option.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Open the solution using Visual Studio.
  2. Build the solution.
  3. Run the SingleLineGeocoding application.
  4. Browse for an ArcGIS 9.3 or later locator that has been stored in a file folder.
  5. Enter an address into the Address box.
  6. Click Find or press Enter.

SingleLineGeocoding/Program.cs The code that executes the Windows form.
SingleLineGeocoding/SingleLineGeocodingForm.cs The main functionality of the sample.
Download the C# files
SingleLineGeocoding/Program.vb The code that executes the Windows form.
SingleLineGeocoding/SingleLineGeocodingForm.vb The main functionality of the sample.
Download the VB.NET files

Download the files for all languages

See Also:

Creating an address locator




Additional Requirements
  • A locator that was made with ArcGIS 9.3 or later.

Development licensing Deployment licensing
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced