1. Launch ERDAS IMAGINE from the Start Menu.
2. Click the Import button on the main menu bar.
3. When the dialog opens, ensure that the Import radio button is selected. For Type, select Generic Binary. For Media, select File. Navigate to the file of the first raw data band to be imported (e.g., 171100022_02220000819_b10.l1g), and enter it as the Input File. Type in a meaningful name for the Output File for that band, making sure it is directed to the appropriate directory. Click OK.
4. Open the file with a .pglcf suffix in a text editor or word processing program (e.g., Microsoft Word). Data from this file will need to be entered in the Import Generic Binary Data dialog. Scroll down until you reach the data for the band you are importing; this is where File_Name= is followed by the band name. Note the values in the Number_Of_Lines and Pixels_Per_Line fields.
5. In the Import Generic Binary Data Dialog, enter the Number_Of_Lines in the #Rows field and the Pixels_Per_Line value in the #Cols field. Leave the other fields as they are. Click OK.
6. Repeat steps 2 through 5 for each of the Landsat data bands. NOTE: Bands 6 and 8 of the Landsat ETM+ data have different spatial resolutions than the rest of the bands, so the #Rows and #Cols will be different for these bands.
Assign a Map Model and Coordinate System
NOTE: This section is only necessary if the data came with a coordinate system. The coordinate system information is stored in the .pglcf file.
1. Click the Viewer button on the main menu bar.
2. Select File | Open | Raster Layer... Select the IMAGINE file (*.img) for the first band of data. Click the Raster Options tab and check Fit to Frame if it isn't already toggled on. Click OK.
3. Click Utility | Layer Info... from the viewer menu.
4. Click Edit | Change Map Model ... from the Imageinfo dialog. In the .pglcf file, navigate to the data for the band in the viewer (i.e., where it says File_Name= [band name]). Note the value of Pixel_Resolution= and change the pixel size as appropriate. Then update the units (from Pixel_Resolution_Units=) and projection (from Projection_Name= (near the top of the file)) and Upper Left X and Upper Left Y (from Upper_Left_Corner=). Click OK.
5. Click Edit | Add/Change Projection... from the ImageInfo dialog. Select the Projection Type (from Projection_Name=), spheroid name (from Ellipsoid_Name=), datum name (from Datum=), and any other information required for the particular projection. Click OK.
6. Do this sequence of steps for each additional data band (step #2 - step #5)
Merge Data Bands into a Single File
1. On the main ERDAS menu bar, click Interpreter | Utilities... | Layer Stack....
2. After Input File, enter each data band individually and click Add, making sure it displays in the gray box below. Add all the individual data bands that are to be "stacked."
3. Enter an Output File name and click OK. 4. Open the output image in a new viewer and look at Utility | Layer Info... to confirm that all the bands are there.