ERDASRD copies a subset of ERDAS image data to an existing PCIDSK file, excluding georeferencing data, whereas ERDASCP creates a new PCIDSK file, and copies all ERDAS data, including georeferencing data, to the new PCIDSK file.
Progress of this program can be monitored. See MONITOR section.
See Also: ERDASCP, ERDASHD, ERDASWR
Name Prompt Count Type ERDASFIL ERDAS File Name 1-64 Char FILO Database Output File Name 1-64 Char DBIC ERDAS file Input Channel List 1-1024 Int DBOC Database Output Channel List 1-1024 Int DBIW ERDAS file Input Window 0-4 Int DBOW Database Output Window 0-4 Int ERDASTRA ERDAS Trailer File Name 0-64 Char
EASI>ERDASFIL="file_specification"The file extension must be either `.lan' or `.gis'
EASI>FILO="file_specification"ERDASRD does NOT update the georeference segment on FILO with the georeference information from ERDASFIL. Program ERDASCP would copy the georeference information from ERDASFIL to the georeference segment on FILO.
EASI>DBIC=m,n,...,p
EASI>DBOC=i,j,...,l
EASI>DBIW=Xoffset,Yoffset,Xsize,Ysize EASI>DBIW= | defaults to entire image
EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize EASI>DBOW= | defaults to entire image
An ERDAS .GIS file of classified imagery may have a .TRL file associated with it. If the .TRL file has a pseudo-colour table defined, this data may be copied to a pseudo-colour table segment created on FILO.
EASI>ERDASTRA="OFF" | .TRL file NOT processed
EASI>ERDASTRA="ON" | if the ERDASFIL suffix is .GIS, a
| .TRL format file may be processed
| e.g. if ERDASFIL = "irvine.gis" and
| ERDASTRA = "on", then "irvine.trl"
| is processed
EASI>ERDASTRA="file" | If ERDASFIL suffix is .GIS, process a
| .TRL format file named "file"
EASI>ERDASTRA= | Default, .TRL file NOT processed
An ERDAS .LAN file of unclassified imagery may have a .STA file of
grey-level statistics associated with it. This information is not
stored by EASI/PACE, so .STA files are not processed with programs
ERDASCP or EDASRD. The format for the .TRL and .STA files are
described in the TRAILER_FORMAT section in program ERDASWR.
If the number of pixels per line times the number of bands on the disk file exceeds 51200 bytes on PC systems or 262144 bytes on all other systems, an error message "Work buffer too small" is printed, and the program terminates.
The formats for ERDAS files supported are listed in program ERDASWR. The format of the image files is in the IMAGE_FORMAT section. The format of the image trailer files is in the TRAILER_FORMAT section.
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
| running in batch/background mode)
EASI>FILE="local.pix"
EASI>DBSZ=512,512
EASI>DBNC=5
EASI>RUN CIM
EASI>ERDASFIL="irvine.lan"
EASI>FILO="local.pix"
EASI>DBIC=1,-5 ! Range of channels {1,2,3,4,5}
EASI>DBOC=1,-5 ! Range of channels {1,2,3,4,5}
EASI>DBIW=
EASI>DBOW=
EASI>ERDASTRA=
EASI>RUN ERDASRD