Drive Time Analysis


PurposeThis sample demonstrates how a geoprocessing service can be executed with the software development kit (SDK) using Simple Object Access Protocol (SOAP). In this example, a drive time geoprocessing sample from ArcGIS Online is used to demonstrate the SOAP call.

How to use

See Using the 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 and build the solution in Visual Studio.
  2. Start ArcGIS Explorer, and open a map in which you want to use the sample task.
  3. Select the Add-Ins tab from the ArcGIS Explorer Ribbon.
  4. Zoom to a desired location in the Continental United States.
  5. Click the DriveTimeAnalysis button to activate the sample.
  6. The point tool will be active after you click the button, so use the tool to click a location to use as the starting point for the drive time analysis.
  7. After a point is entered, the geoprocessing service executes. When the service has completed, a new folder called Drive Time Analysis is added to the Content window. This folder contains two polygon notes denoting the 3- and 5-minute drive time polygons around the specified point.


Download the files for all languages
DriveTimeAnalysis_button.cs Contains the code behind the button for accessing the geoprocessing service.
Download the C# files
DriveTimeAnalysis_button.vb Contains the code behind the button for accessing the geoprocessing service.
Download the VB.NET files