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 either 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. 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. Run the ConvertSDEToLayer.java application.
  2. After execution is complete, examine output of the sample.


Download the files for Java
geoprocessing/ConvertSDEToLayer.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView