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
- ArcObjects .NET API Reference online
- Sample Data Download
- What's new
- Download the ArcObjects SDK for .Net from MyEsri.com
- Copy the test data to C:\data folder.
- Start Visual Studio.
- Open the solution (*.sln) file.
- If your data is not in C:\data folder, change the hard-coded paths to data in the gp_copyfeatures.cpp file.
- Build the solution.
- Run the program (start debugging or press F5).
- Start ArcMap.
- Drag and drop the districts and contaminated_areas feature classes.
- The output shows only those contaminated sites that fall within the districts.
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 |