Поиск |
[software] [catdoc] [tcl] [geography] [old things] | |||||||||||||||||
Table of Contents reclass1 - Change classes of given EPPL7 data file SYNOPSISreclass1 [ ] [ reclass_file] [ -o output_file] fileDESCRIPTIONApplies given set of reclass statements to epp file. Reclass statements have simular syntax to DOS version of EPPL7 and may be read from stdin (both from terminal or pipe) and from file.By default, creates file named reclass.out.epp in current directory, but this behavoir can be overriden by -o option. This version can perform only one-way reclass. For multy-file reclass use intable(1) instead. Output file is created as 16-bit and if after reclass it would contain only classes less than 255, it would be converted into 8-bit. If offsite value of old file appears in right side of any reclass statement, offsite value of new file would be from left side of this statement.
OPTIONS
RECLASS STATEMENT SYNTAXSet of reclass statements consists of zero or more lines, each of which has following structure: new_class = list of old classes
New class is number in range 0-65535. List of old classes is space separated list of classes (numbers) and ranges. Range is two numbers, separated by colon. First of them must be less then second, or this range would have no effect. If one old class occurs in several statements, only last occurence would take effect, so it is possible to write: 1=1:255 2=2 3=12 to reclass all classes between 1 and 255, exept 2 and 12 to 1 and reclass 12 to 3.
SEE ALSOeheader(1) ,cluster(1) ,rescale(1) ,outtab(1) ,intable(1)
AUTHORVictor B. Wagner, SoftWeyr.
|