Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.

  >  Docs Center  >  Using ENVI  >  Export Classes to Vector Layers


Export Classes to Vector Layers

Export Classes to Vector Layers

To export selected classes to vector layers:

  1. From the Toolbox, select Classification > Post Classification > Classification to Vector. The Raster to Vector Input Band dialog appears.
  2. Select an input file and perform optional spatial and spectral subsetting, then click OK. The Raster to Vector Parameters dialog appears.
  3. Select the class names to convert to vector polygons.
  4. Use the toggle button to select whether to output each selected class to a separate vector layer or to output all of the classes to a single layer. If you output all of the classes to a single layer, attributes that include the class number, polygon length, and area will be created for each polygon.
  5. Select output to File or Memory.

  6. Click OK. ENVI makes a polygon vector layer for each class selected. If you select to output each class to a separate layer, each selected class is saved to a separate vector file with _1, _2, and so forth appended to the root name.

  7. The vectors appear to be shifted one half pixel to the Southeast because ENVI interprets the map coordinate of the vector node to be the upper left hand corner of the raster pixel (versus treating the address as the center of the pixel).

© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us