ArcGIS Engine » Java
 
 

Share your work and download examples published by other users in the ArcGIS community.

Code Gallery


name rating date added product version author downloads

DS2009: Extending ArcGIS with Java - Custom Java Geoprocessing Tool

ArcGIS Engine Runtime

0 Ratings
Apr 01 2009 9.3 eric906 220
This shows how a custom Geoprocessing tool is built in Java and deployedto ArcGIS Desktop for use in ArcMap or ArcCatalog. The code of interest is inthe "execute" method in the DeleteFeatures class. The ArcGIS plug-ins for Eclipse (9.3.1) were used to generate all of the code with the exception of the implementationin the "execute" method. Download

DS 2009: Developing Java Applications with ArcGIS Engine - Leveraging Custom GeoProcessing Models in Java

ArcGIS Engine Runtime

0 Ratings
Mar 26 2009
Updated:
Mar 26 2009
9.3 ArcGIS Engine Development Team 197
The following application executes a site selection analysis leveraging the power of a Geoprocessing Model. The site selection will evaluate a number of conditions to help in the search of a new home. The demonstration utilizes the Geoprocessing Tool Code Generator from the Engine SDK to create the Java Wrapper for the custom Geoprocessing model, then uses that model to... Download

DS 2009: Developing Java Applications with ArcGIS Engine - Access Existing Data

ArcGIS Engine Runtime

0 Ratings
Mar 26 2009 9.3 ArcGIS Engine Development Team 144
The following code sample illustrates a very useful workflow that can be applied by developers when accessing existing data. The source code also explores the casting rules we need to be aware of, especially when working within the Geodatabase package. Download

DS 2009: Developing Java Applications with ArcGIS Engine - Network Analyst Out-Of-The-Box

ArcGIS Engine Runtime

0 Ratings
Mar 26 2009 9.3 ArcGIS Engine Development Team 145
This application uses ArcGIS Engine Out-Of-The-Box to create a Network Analyst application that solves routes. Only two lines of code were written to achieve this functionality in the demonstration. The dataset necessary to work with the application is provided with the sample project. Download

DS 2009: Developing Java Applications with ArcGIS Engine - Export to .PDF

ArcGIS Engine Runtime

0 Ratings
Mar 26 2009
Updated:
Mar 26 2009
9.3 ArcGIS Engine Development Team 158
The following code example will take a map in the PageLayoutBean and export it out to a .PDF file. In order to achieve this functionality, a new custom command is created, called PDFExport, and the new command is added to the ToolbarBean. Download

Create and Load Raster Catalog using GP tools

ArcGIS Engine Runtime

0 Ratings
Mar 19 2009 9.3 ArcGIS Engine Development Team 104
This sample uses the CreateRasterCatalog and WorkspaceToRasterCatalog geoprocessing tools to create a raster catalog and load a directory of raster images to the raster catalog. It demonstrates the recommended approach for creating and loading raster catalogs from rasters in a folder. As an alternative, you may use ArcObjects to achieve the same goal; however, it will take more coding and... Download

Creating Standard Annotation in a GeoDatabase

ArcGIS Engine Runtime

0 Ratings
Feb 11 2009
Updated:
Feb 13 2009
9.3 srozic 133
The following application will convert labels from a Feature Class in a GeoDatabase into a new Standard Annotation Feature Class in the same GeoDatabase. This code has been modularized so that the creation method can be utilized as needed in other applications. The code can easily be modified to adjust for additional use-cases (e.g. Feature-Linked annotation, etc.). Download

GDB Data Conversion

ArcGIS Engine Runtime

0 Ratings
Nov 06 2008 9.3 ArcGIS Engine Development Team 141
The sample snippet demonstrates converting a shapefile into an ArcSDE geodatabase using IFeatureDataConverter interface. The workflow includes three simple steps1. Creating source and target names 2. Creating output feature class fields and geometry 3. Executing the conversion using IFeatureDataConverter interface Download

Geodatabase Code Snippet

ArcGIS Engine Runtime

0 Ratings
Nov 06 2008 9.3 ArcGIS Engine Development Team 106
This sample zip includes the following two simple utility code snippets for your convenience:1. Create a dbase table2. Create a FeatureDatasetWhat is a dBase Table?The dBASE tables can store additional attributes that can be joined to a shapefile's features.What is a feature dataset?A feature dataset is a collection of related feature classes that share a common coordinate system. Their primary... Download

Check Field Name For Errors

ArcGIS Engine Runtime

0 Ratings
Nov 06 2008 9.3 ArcGIS Engine Development Team 86
A common mistake when adding new fields to a geodatabase object is specifying a field name that is not supported by the underlying dbms system. Each database system has a list of reserved sql words that cannot be used when naming columns. This sample shows how to use the FieldChecker interface to validate a collection of fields. Download