Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Executing tools

This sample uses the IGeoprocessor object to perform a number of geoprocessing operations. This sample extracts features to a new feature class based on a location and an attribute query.
Language:              VC++
Subject:               Geoprocessing
Organization:          Esri, http://www.esri.com
Date:                  10/17/2019
ArcObjects SDK:        10.8
Visual Studio:         2017, 2019
.NET Target Framework: 4.5

Resources

Usage

  1. Copy the test data to C:\data folder.
  2. Start Visual Studio.
  3. Open the solution (*.sln) file.
  4. If your data is not in C:\data folder, change the hard-coded paths to data in the gp_copyfeatures.cpp file.
  5. Build the solution.
  6. Run the program (start debugging or press F5).
  7. Start ArcMap.
  8. Drag and drop the districts and contaminated_areas feature classes.
  9. The output shows only those contaminated sites that fall within the districts.

Licensing

Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS Desktop Basic ArcGIS Desktop Basic
ArcGIS Desktop Standard ArcGIS Desktop Standard
ArcGIS Desktop Advanced ArcGIS Desktop Advanced