Convert SDE feature class to layer file


Purpose
This sample demonstrates how to do the following (from general to specific):
  • Create geographic information system (GIS) solutions using the coarse grained geoprocessing tools
  • Use geoprocessing and data in a Spatial Database Engine (SDE) data source
  • Access SDE data sources and qualify names
  • Read a feature class and a table from an SDE data source, join them, then save the results to a layer file
The connection file can be in the default location for ArcCatalog or can be specified by absolute location on disk.

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Run the ConvertSDEToLayer.java application.
  2. After execution is complete, examine the sample's output.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

geoprocessing/ConvertSDEToLayer.java Main class.




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic