1.. _raster.envi:
2
3================================================================================
4ENVI -- ENVI .hdr Labelled Raster
5================================================================================
6
7.. shortname:: ENVI
8
9.. built_in_by_default::
10
11GDAL supports some variations of raw raster files with associated ENVI
12style .hdr files describing the format. To select an existing ENVI
13raster file select the binary file containing the data (as opposed to
14the .hdr file), and GDAL will find the .hdr file by replacing the
15dataset extension with .hdr.
16
17GDAL should support reading bil, bip and bsq interleaved formats, and
18most pixel types are supported, including 8bit unsigned, 16 and 32bit
19signed and unsigned integers, 32bit and 64 bit floating point, and 32bit
20and 64bit complex floating point. There is limited support for
21recognising map_info keywords with the coordinate system and
22georeferencing. In particular, UTM and State Plane should work.
23
24All ENVI header fields are stored in the
25ENVI metadata domain, and all of these can then be written out to the
26header file.
27
28Creation Options:
29
30-  **INTERLEAVE=BSQ/BIP/BIL**: Force the generation specified type of
31   interleaving. **BSQ** -- band sequential (default), **BIP** --- data
32   interleaved by pixel, **BIL** -- data interleaved by line.
33-  **SUFFIX=REPLACE/ADD**: Force adding ".hdr" suffix to supplied
34   filename, e.g. if user selects "file.bin" name for output dataset,
35   "file.bin.hdr" header file will be created. By default header file
36   suffix replaces the binary file suffix, e.g. for "file.bin" name
37   "file.hdr" header file will be created.
38
39NOTE: Implemented as ``gdal/frmts/raw/envidataset.cpp``.
40
41Driver capabilities
42-------------------
43
44.. supports_createcopy::
45
46.. supports_create::
47
48.. supports_georeferencing::
49
50.. supports_virtualio::
51
52