This program must be run in a LOCATION_NAME with a x,y coordinate system (i.e., a coordinate system with projection 0). For further information regarding this LOCATION_NAME refer to the manual entry for imagery.
The first prompt in i.tape.other asks the user for the tape device name. This is sometimes /dev/rmt0 (for a density of 1600), but this varies with each machine.
The next prompt is:
Please mount and load tape, then hit RETURN -->
please enter the following information Tape Identification: __ Image Description: __ Title for the Extracted Raster (Cell) Files: __ AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE (OR <Ctrl-C> TO CANCEL)
GENERIC TAPE EXTRACTION tape layout 0__ number of tape files to be skipped 0__ number of records in the remaining files to be skipped band files 0__ number of bands on the tape data format ___ band sequential (BSQ) | mark one with an x ___ band interleaved (BIL) | 0__ if you select BSQ format and all the bands are in a single file, enter the total number of records in the file. Otherwise enter 0 0__ length (in bytes) of the longest record on the tape 1__ blocking factor of data in the file AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE (OR <Ctrl-C> TO CANCEL)
band 1, line 1 band 2, line 1 band 3, line 1 band 1, line 2 band 2, line 2In BSQ format, all lines of one band are stored together on a tape, followed by all lines of another band, followed by all lines of the next band, etc. These data are stored as if they were in a one band BIL format:
band 1, line 1 band 1, line 2 band 1, line 3 . . . band 2, line 1 band 2, line 2 . . band 2, line 156 band 2, line 157Each pixel contains one byte and there is one line per record. BSQ format is the format that is usually created by optical scanning devices when they scan photographs, but not all digitized aerial imagery are stored in this format. The format of the data is usually written on the exterior of the tape; this should be checked.
please mark an x by the bands you want extracted _____1 _____2 _____3 _____4 AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE (OR <Ctrl-C> TO CANCEL)
prefixname.1
prefixname.2
prefixname.3
The specified prefixname will also automatically become the name for the imagery group file being created. Each image (i.e., each run of i.tape.other) should be given a unique prefix/group name.
EXTRACT please select desired tape window (geographic region definition) to extract start row:_0_ end row:_0_ start col:_0_ end col:_0_ AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE (OR <Ctrl-C> TO CANCEL)The extraction process will begin by first skipping the number of specified files, advancing to the starting row, and then reading the tape. The percent completion of the extraction is displayed on the screen.
Following the extraction, the extracted band files will be listed as raster map layers available in the current MAPSET. These raster map layers may be displayed individually using the GRASS commands d.display, d.rast or i.points.
After extracting an image from tape, the geographic region in the x,y coordinate LOCATION_NAME will be set, based upon the extracted rows and columns from the tape. The relationship between the image rows and columns and the coordiates bounding the geographic region is discussed in the imagery manual entry.
This program is interactive and requires no command line arguments.
ROW AND COLUMN EXTRACTION
The display options in GRASS allow the user to locate rows
and columns on the digital image. If enough disk space is
available, one band of an entire image, or one band of a
portion of an image known to contain the area of interest,
can be extracted and displayed. The measurements
option in
d.display, or
d.where
(following a run of
d.rast)
will echo x and y coordinates to the screen. (These
coordinates will display negative numbers in the
north-south direction but ignoring the negative sign will
yield the row number. See the
imagery manual
entry for further explanation.)
If a photograph of the digital image is available, the rows and columns to be extracted can be determined from it by associating inches with the total number of known rows and columns in the scene. For example, if the total length of the photograph is 12 inches, the total number of rows on the tape is 2000, and the northwest corner of the area of interest begins 2 inches from the top of the photo, then:
12" / 2000 rows = 2" / x rows x = 333.333The northwest corner of the area of interest starts at row 333. The starting row, ending row, starting column, and ending column can be calculated in this manner.
d.display
d.rast
d.where
i.group
i.points
i.tape.mss
i.tape.mss.h
i.tape.tm
i.tape.tm.fast
imagery
m.examine.tape
Last changed: $Date: 2002/01/25 05:45:33 $