Save to an ArcGIS Geodatabase

Run ENVI in 32-bit mode from the Windows Start menu before performing these steps.

You can save raster and vector datasets that are open in ENVI to an ArcGIS geodatabase. Use the following steps:

  1. From the menu bar, select File > Save As > Save to ArcGIS Geodatabase. The File Selection dialog appears.
  2. Select a dataset, and click OK. The Process Manager updates to show export progress to a geodatabase. The Process Manager displays the progress, but the coordination between ENVI and ArcGIS does not allow the process to be canceled once initiated.
  3. The Select Output Geodatabase dialog appears. This dialog lists all available geodatabases to which ENVI is connected. It also allows you to add a connection to an existing geodatabase, and to create a new file geodatabase.

  4. Do one of the following:

    • Select a geodatabase from the Destination Geodatabase list.
    • If the geodatabase exists but does not appear in the Destination Geodatabase list, click Connection drop-down list at the bottom of the dialog and select the geodatabase type you want to connect to (File, Personal, or Enterprise). See Remote Connection Manager for details on connecting to a geodatabase. The connection is added to the Destination Geodatabase list and is selected by default.
    • If you need to create a new file geodatabase, double-click New File Geodatabase in the Destination Geodatabase list. The Create File Geodatabase dialog appears. See Create a New File Geodatabase for details on creating a new file geodatabase. The geodatabase is added to the Destination Geodatabase list and is selected by default.
  5. In the Select Output Geodatabase dialog, enter an Output Name for the dataset. Dataset names must not exceed 128 characters. The default is the name of the input dataset.
  6. Optionally set a Configuration keyword. For more information on configuration keywords, refer to the ArcGIS online documentation.
  7. Click OK. ENVI verifies that the output geodatabase has write permissions and that you have a valid ArcGIS license. (See the Esri License Type preference.)

Create a New ArcGIS File Geodatabase

The Create File Geodatabase dialog appears when you select New File Geodatabase in the Select Output Geodatabase dialog. This option creates a geodatabase that is compatible with the currently installed version of ArcGIS.

  1. Enter the File GDB Location. The default location is the Output Directory specified in the Directories preferences, or you can browse to select a different directory.
  2. Enter the File GDB Name.
  3. Click Create. The dialog closes and the new geodatabase is added to the Destination Geodatabase list in the Select Output Geodatabase dialog.

Tips for Working with Geodatabases

  • Personal geodatabases store datasets within a Microsoft Access data file (.mdb), which is limited in size to 2 GB.
  • Enterprise geodatabases require a login. Users with read-only access cannot save data to an enterprise geodatabase.
  • You cannot load vector data with unsaved edits to a geodatabase.
  • You can save point, line, polygon, and multipoint vector data to a geodatabase. Vector files in ENVI vector format (.evf) with multiple record types are not supported.
  • In ENVI, you cannot save virtual mosaics or spectral libraries to a geodatabase.
  • In ENVI, display enhancements you add to a raster image (contrast stretching, sharpening, etc.) are not retained when saving the image to a geodatabase. You can use the File > Chip View To options to retain display enhancements.
  • ENVI stores any single-band raster data with a three-color lookup table as an RGB image upon saving to a geodatabase. ENVI retains color maps upon saving to a geodatabase.
  • Standard spatial reference information from input rasters will be retained upon saving to a geodatabase. Information about Rational Polynomial Coefficient (RPC) spatial references, pseudo spatial references, and custom projections are not retained.
  • You cannot save a vector dataset (feature class) to an ArcGIS feature dataset from ENVI. After saving a feature class to a geodatabase, use ArcGIS to drag the feature class to a feature dataset if needed.
  • For NITF data, you can only save individual image segments to a geodatabase. Annotation segments,and files with multiple image segments, and composite images (in ENVI) are not supported. ENVI will not export NITF metadata to a geodatabase.
  • Metadata that is supported in both ENVI and ArcGIS will transfer upon saving to a geodatabase. However, ENVI-specific metadata (such as spectral information, band names, etc.) will not be stored in a geodatabase.
  • Detailed information on geodatabase types, their structure, and their support in ArcGIS can be found in the ArcGIS online documentation.