In IMAGINE, convert your images to the LAN format (Erdas 7.x or earlier)
then use i.in.erdas Good luck!
George Chou
GPZ Technology
(650) 949-3708
http://www.gpz.com
----------
From: Tom Meixner <tom@hwr.arizona.edu>
To: grassu-list@cecer.army.mil
Subject: ERDAS to GRASS
Date: Tuesday, April 07, 1998 3:30 PMI am using GRASS4.2 for a research project I am
working on in Colorado. My colleagues tend to
use ERDAS alot and I need to convert some images
from ERDAS into GRASS format. I have been trying
to use the i.in.erdas command to do this but with
little success. Most of the images I need to
convert have only 1 band so there is really
little conflict in the conversion.Whenever I run i.in.erdas I get an error stating
that the ERDAS file cannot be opened. I have a
feeling I have the ERDAS file in the wrong place
or in the wrong format. I have tried a number of
different ways to do this conversion all to know
avail. Thanks for your help.Thanks,
Tom Meixner
I have included below a transcript of the process
I have used:Mapset <tomin Location
<GLV>
GRASS 4.2 i.in.erdasFLAG: Set the following flag?
List the ERDAS header only?(y/n) [n] nOPTION: Erdas input file name
key: input required: YES enter option >
sca042294.imgYou have chosen:
input= sca042294.img Is this correct? (y/n) [y]OPTION: output prefix of the GRASS raster files
to be created.
key: output required: YES enter option >
sca042294You have chosen:
output= sca042294 Is this correct? (y/n) [y]OPTION: Erdas trailer input file name
key: trailer required: NO enter option imgYou have chosen:
trailer=img Is this correct? (y/n) [y] n enter
option >OPTION: Selected bands to extract.
key: bands required: NO multiple: YES enter
option >OPTION: Starting row.
key: srow required: NO enter option >OPTION: Starting column.
key: scol required: NO enter option >OPTION: Number of rows to extract.
key: rows required: NO enter option >OPTION: Number of columns to extract.
key: cols required: NO enter option Error
can not open ERDAS file