You are on page 1of 40

Wildland Resource

Information System:
user's guide
Robert M. Russell David A. Sharpnack Elliot L. Amidon

PACIFIC
SOUTHWEST
Forest and Range
Experiment Station
FOREST SERVICE
U.S.DEPARTMENT OF AGRICULTURE
P. 0 . BOX 245, BERKELEY, CALJFORNIA 94701

USDA FOREST SERVICE


GENERAL TECHNICAL
REPORT PSW- 10 I1975
Russell, Robert M., David A. Sharpnack, and Elliot L. Amidon
1975. Wildland Resource Information System: user's guide. USDA
Forest Serv. Gen. Tech. Rep. PSW-10, 36 p., illus. Pacific
Southwest Forest and Range Exp. Stn., Berkeley, Calif.
This user's guide provides detailed information about how to use the
computer programs of WRIS, a computer system for storing and manipu-
lating data about land areas. Instructions explain how to prepare maps,
digitize by automatic scanners or by hand, produce polygon maps, and
combine map layers. Support programs plot maps, store them on tapes,
produce summaries, and perform housekeeping tasks.

Oxford:624:U681.3:(084.3)

Retrieval Terms: timber management; wildland management; resource use


planning; computer programs; map compilation; WRIS; management infor-
mation systems.

The Authors

are assigned to the Station's research unit investigating measurement and


analysis techniques for management planning, with headquarters in Berke-
ley, Calif. ROBERT M. RUSSELL, the unit computer programmer, re-
ceived a bachelor's degree in mathematics at the University of Michigan
(1956), and worked as a programmer at the University of California, Berke-
ley, from 1958 until 1966, when he joined the Station staff. DAVID A.
SHARPNACK, a research forester, was educated at the University of Idaho
(bachelor's degree in forestry, 1961) and the University of California,
Berkeley (master's degree in statistics, 1969), and has been with the Sta-
tion since 1962. ELLIOT L. AMIDON is in charge of the measurement and
analysis techniques research unit. He earned a bachelor's degree in forest
management at Colorado State University (1954) and a master's degree in
agricultural economics at the University of California, Berkeley (1961),
and was assigned to production economics research at the Station until he
assumed his present position in 1971.
CONTENTS

Page

1. Preparing Maps ....................................... 1

2. Digitizing Maps With a Scanning Densitometer ............... 1

2.1 Equipment ...................................... 1

2.2 Aperture and Spacing Alternatives .................... 1

2.3 Photographic Reduction ............................ 2

2.4 Scanning Procedure ............................... 2

2.5 Selection of Density Threshold ....................... 2

2.6 Converting to Binary Map (FREQTB) .................. 8

3 . Digitizing Maps by Hand ............................... 8

3.1 Equipment ...................................... 8

3.2 Digitizing Procedure ............................... 8

3.3 Converting to Binary Map (HANDY) .................. 8

4 . Producing a Polygon Map ............................... 9

4.1 Editing the Binary Map ............................. 9

4.1.1 Editing Guidelines ............................ 9

4.1.2 Recording Error Corrections ................... 11

4.2 Recording Polygon Labels .......................... 11

4.2.1 Setup ..................................... 11

4.2.2 Symbol Transcription ........................ 11

4.2.3 Label Recording ............................ 11

4.2.4 Master Label Accumulation .................... 11

4.3 Extracting Polygons fr6m a Binary Map (POLLY) ....... 12

4.4 Editing POLLY Printout ........................... 12

4.5 Editing a Polygon File with a Line Plotter .............. 18

4.6 Work Flow ..................................... 19

5. Combining Layers ................................... 19

5.1 Overlaying Maps from Two Layers (MOSAIC) .......... 19

5.2 Aggregating Overlay Acreages (TALLY) ............... 20

6 . Support Programs .................................... 21

6.1 Plotting a Map (CHART) ........................... 21

6.2 Storing Several Maps on One Tape (FLEET) ............ 21

6.3 Printing Diagnostic Summary of a Map (GOSSIP) ........ 22

6.4 Printing General Summary of a Map(RUM0R) . . . . . . . . . 22

6.5 Housekeeping Program (SIGNAL) .................... 22

7. Program Notes
7.1 Computer System ................................. 24

7.2 Files .......................................... 24

7.3 Card Formats ................................... 25

7.3.1 System Cards ............................... 25

7.3.2 Header Records ............................. 25

7.3.3 Integer Lists ............................... 26

7.3.4 Comments ................................. 26

7.4 Printout ........................................ 26

8 . Appendixes ........................................ 27

A-Transcribing Forest-type Descriptions


to Computer-Readable Format ........................ 27

B-Major Forest-type Assignments ....................... 28

C-Operating the PDS Microdensitometer . . . . . . . . . . . . . . . . . 36

PREFACE

The Wildland Resource Information System The scanning operation stores the map in digital
(WRIS) is a computerized system for storing and form on magnetic tape. This tape is condensed by a
manipulating data about land areas. The resource computer program (FREQTB) which also prints out
manager defines a geographic area by drawing a the grid so it can be checked for errors. The grid
boundary around it on a map. In nature, such bound- consists of zeroes and ones: zeroes for the areas be-
aries are irregular in shape. We retain their shapes tween lines, and ones for the points falling on poly-
within the system by representing them mathemati- gon boundary lines.
cally as multiple-edged polygons. Polygons are the The POLLY program then converts this grid into a
fundamental building blocks of WRIS. They can file of polygons and attaches a label to each. When
represent timber stands, soil types, alternative treat- this is done for each layer on each township, a com-
ments, and many other categories. WRIS has so far plete data base becomes available for a Forest. Other
been used mostly for timber management; therefore programs are used to combine layers (MOSAIC), ac-
examples and terminology in this report are taken cumulate acreage totals (TALLY), and draw the maps
from that activity. But the system can be put to work on a digital plotter (CHART).
in other fields-even those outside of forestry. If a map sheet is extremely simple, containing few
A group of polygons forms a map. The mosaic of boundary lines, most of the scanned points are
polygons must exhaust the surface area, but polygons zeroes. It is more efficient t o hand digitize this kind
must not overlap each other. All polygons on one of map and t o process it through the HANDY pro-
map must be from the same layer (sometimes called gram instead of using FREQTB.
an overlay by other workers). The layer can represent WRIS was developed by the Station's research unit
one kind of attribute, such as timber type. Other investigating measurement and analysis techniques for
layers may be constructed, defining different attrib- management planning. This User's Guide provides
utes of the same ground area. To handle combina- detailed information about how t o use the computer
tions of attributes, WRIS can overlay any two layers. programs of the system. For a fuller description of
The attribute of a polygon is expressed as a label, the development and characteristics of WRIS and for
consisting of from 1 t o 3 6 characters. Each polygon production information, see the companion report
must have a label attached t o it. A label is not unique WRIS: A Resource Information System for Wildland
-it may occur many times on a map, once for every Management (USDA Forest Service Research Paper
polygon containing the same attribute. The polygons PSW-107). Copies are available upon request to:
on a map are assigned unique serial numbers, called
item numbers, for identification purposes. Director
WRIS can be applied t o an entire National Forest Pacific Southwest Forest and Range Experiment
by dividing the Forest into townships (quadrangle Station
sheets would be better) and by processing the maps as P.O. Box 245
separate units. Each layer on a township map is Berkeley, California 94701
drawn separately with inked lines on 24- by 24-inch Attention: Publication Distribution
(610 m m by 610 mm) paper by using a scale of 4
inches per mile. (Other scales and smaller map sheets The WRIS computer programs are also available
are possible.) Then we scan it on a microdensitometer upon request. They will be copied on a magnetic tape,
with a grid spacing of .024 inch (.61 mm). Our scan- t o be supplied by the requestor. Before sending the
ner requires transparencies no larger than 9 inches tape, the requestor should contact this Station (At-
(229 mm) on a side, so the map needs t o be reduced tention: Computer Services Librarian), at the above
photographically. address, and give the tape format desired.
1. PREPARING MAPS 2. DIGITIZING A MAP WITH A SCANNING
DENSITOMETER
Preparing maps c o r r e c t l y i s t h e s i n g l e
most important s t e p i n t h e d i g i t i z i n g pro- 2.1 Equipment
cess. Eliminating e r r o r s a t t h i s s t e p has
a g r e a t e r impact on c o s t than doing s o a t In d i g i t i z i n g with scanning densitometer
any o t h e r s t a g e . These two sources of t h e o p t i c a l d e n s i t y of a map i s measured a t
e r r o r s can be eliminated: poor ink l i n e every p o i n t . For t h e i n v e n t o r i e s o f t h e
q u a l i t y and l o g i c a l map e r r o r s . Eldorado and S t a n i s l a u s National Forests w
used a Photometric Data Systems PDS-1010.1'
Ink l i n e s should be of uniform width R e l a t i v e l y slow but a c c u r a t e , t h i s f l a t - b e d
and uniform d e n s i t y . Moving t h e pen t o o densitometer uses orthogonal lead screws
r a p i d l y along a s t r a i g h t edge when inking and stepping motors t o provide a r a s t e r
s t r a i g h t boundaries produces a t h i n , weak scan of t r a n s p a r e n t m a t e r i a l . Output i s
l i n e . A good q u a l i t y inking job can com- a 1 0 - b i t d e n s i t y f o r each spot i n t h e r a s t e r .
p l e t e l y eliminate t h e need t o make cor- These d e n s i t i e s a r e w r i t t e n on magnetic tape
rections i n l a t e r stages. a t 556 b p i . The 10-bit d e n s i t y provides
a gray-scale of 1024 l e v e l s . The scanner
The most common l o g i c a l e r r o r s t h a t bed has a 9-by 9-inch (229 mm) scan a r e a .
can be eliminated a t t h i s s t a g e a r e polygons To accommodate t h e bed s i z e and t h e need
without l a b e l s and two d i f f e r e n t l a b e l s i n f o r using a transparency, a photographic
one polygon. The l a t t e r e r r o r may occur reduction negative i s scanned r a t h e r than
because t h e s i z e and shape obscure t h e t h e o r i g i n a l map. Therefore, t h e u s e r has
f a c t t h a t it i s one polygon. I t may a l s o wide choice of map s i z e and m a t e r i a l .
occur because t h e l i n e s e p a r a t i n g two poly-
gons was not inked. 2.2 Aperture and Spacing A l t e r n a t i v e s

Maps t o be d i g i t i z e d with a scanner The scanner can make a d e n s i t y reading


must be s p e c i a l l y prepared. Draw i n ink a t any g r i d spacing which i s a multiple of
t h e polygons t o be d i g i t i z e d . They must be 2 o r 3 micrometers. The scanner can use one
nonoverlapping and completely f i l l t h e a r e a o f 20 apertures ( s i z e of spot measured)
t o be d i g i t i z e d . Have only one l a y e r o f ranging from 3.5 t o 3 9 6 . 6 7 micrometers i n
information p e r map; f o r example, one map diameter. In a d d i t i o n , t h e reduction f a c t o r
f o r timber-type, one f o r management con- used i n making t h e negative can be varied.
s t r a i n t s , and one f o r a d m i n i s t r a t i v e Ink l i n e width on t h e o r i g i n a l map can a l s o
boundaries. To have polygons f i l l t h e a r e a be v a r i e d .
assign a s p e c i a l l a b e l t o a l l a r e a s which
a r e not of i n t e r e s t . This s t e p i s c r i t i c a l The optimum combination of spacing,
f o r finding a l l e r r o r s during t h e e d i t i n g a p e r t u r e , reduction, and l i n e width i s
process. The map must a l s o be f r e e of influenced by f o u r major i n t e r r e l a t e d fac-
i s l a n d s ( f i g . 1) . Remove by connecting t o r s : map s i z e , map d e t a i l , scanning time,
them t o t h e "mainland" i n two separate and computer processing time. A l o s s i n
p l a c e s ( f i g . 2 ) . Eliminating i s l a n d s c r e a t e s e f f i c i e n c y due t o a change i n one f a c t o r
new polygons. These must be labeled with can be p a r t i a l l y o f f s e t by changes i n t h e
t h e same l a b e l a s t h e polygon they were other three.
s p l i t from. The new polygons should be a t
l e a s t l a r g e enough f o r a l a b e l t o be e a s i l y 1. Map s i z e : The l a r g e r t h e map t h e
printed inside. longer it t a k e s t o scan and process t h e
d a t a f o r a given l e v e l o f d e t a i l . Spacing,
A l l t h e maps on t h e S t a n i s l a u s and a p e r t u r e s , and l i n e width can be increased
Eldorado National Forests were drawn with t o speed up processing i f map d e t a i l permits.
a ft2 rapidograph pen. Write a l l o t h e r
information on t h e map, such a s polygon 2. Map d e t a i l : Spacing and a p e r t u r e
l a b e l s , control point numbers, o r geographic cannot be l a r g e r than t h e d i s t a n c e between
coordinates with a non-photo blue p e n c i l . t h e c l o s e s t l i n e s which must be recognized
a s s e p a r a t e , times t h e reduction f a c t o r .
No s p e c i a l preparation o f maps i s needed Line width times reduction f a c t o r must a l s o
f o r t h e hand d i g i t i z i n g process. However, be equal t o o r l a r g e r than spacing and aper-
comments about l o g i c a l e r r o r s s t i l l apply. ture.
I/Trade names and commercial e n t e r p r i s e s
o r products a r e mentioned s o l e l y f o r i n f o r -
mation. No endorsement by t h e U.S. Depart-
ment of Agriculture i s implied.
3. Scanning time: Scanning time i s r e a d i n g s a s p o s s i b l e . The e x t r a r e a d i n g s
a f u n c t i o n o f t h e l e n g t h of a row i n micro- i n c r e a s e t h e volume o f d a t a and t h u s t h e
meters and t h e number o f rows. Typical cost of processing.
scanning times f o r 24- by 24-inch (610 mm
by 610 mm) maps run from 10 t o 1 3 h o u r s . The machine s e t t i n g s we used f o r t h e
T h e r e f o r e , use t h e maximum r e d u c t i o n f a c t o r S t a n i s l a u s and Eldorado National F o r e s t s
possible. maps t o g e t a spacing o f 60 pm and an
a p e r t u r e o f 56 pm were: s e t upper and
4. Computer p r o c e s s i n g time : Process- lower a p e r t u r e t u r r e t a t E , s e t upper and
i n g time i s almost wholly a f u n c t i o n o f t h e lower magnification a t 2, s e t micrometers
t o t a l number o f d e n s i t y r e a d i n g s . There- per s t e p a t 6, s e t steps per reading a t
f o r e , use t h e widest s p a c i n g p o s s i b l e con- 10, X-axis motor a t B , and Y-axis motor a t
s i s t e n t with t h e requirements o f map d e t a i l . E. (See a l s o Appendix C.)
Spacing can be up t o 10 p e r c e n t wider t h a n
the aperture. 2.5 S e l e c t i o n o f Density Threshold

We found t h a t a s p a c i n g of 60 ym, an To e x t r a c t polygons from t h e scanner


a p e r t u r e o f 56 pm, a 10X r e d u c t i o n f a c t o r , d a t a , t h e g r i d o f d e n s i t i e s ( f i g . 3)
and #2 rapidograph pen l i n e s provide good must be converted t o a b i n a r y map, which
r e s u l t s . This combination i s f o r 1:15840- i s a g r i d with ones f o r l i n e s and zeros
s c a l e and 1:31680-scale maps and f o r photo- f o r spaces between l i n e s . To c o n v e r t ,
g r a p h i c equipment with a maximum r e d u c t i o n a l l d e n s i t i e s below a t h r e s h o l d a r e s e t
o f 1 1 X . The c a p a b i l i t y f o r g r e a t e r reduc- t o one and a l l d e n s i t i e s above t h a t t h r e s -
t i o n might have changed t h e parameters. h o l d t o zero. When a scanner t a p e i s r e a d ,
a l l o r a sample o f t h e d e n s i t i e s a r e used
Use d i f f e r e n t weights i n a s s e s s i n g t o c o n s t r u c t a frequency t a b l e . The mode,
optimum combinations i f t h e scanner has t h e most f r e q u e n t c l a s s , r e p r e s e n t s t h e
d i f f e r e n t o p e r a t i n g c h a r a c t e r i s t i c s . For d e n s i t y o f most o f t h e background o f a map.
example, many high-speed s c a n n e r s have The mode i s used t o c a l i b r a t e t h e d e n s i t i e s
only t h r e e a p e r t u r e s and e q u i v a l e n t s p a c i n g s . f o r d i f f e r e n c e s i n exposure and development
The scanning t i m e s , however, run from 2 i n making t h e n e g a t i v e .
t o 10 minutes, s o maximum r e d u c t i o n i s n o t
needed. S e l e c t a convenient a p e r t u r e and The t h r e s h o l d i s s e t by t h e d e n s i t y
s p a c i n g and vary t h e r e d u c t i o n f a c t o r t o adjustment f a c t o r r e a d i n t o t h e program
s u i t map d e t a i l . FREQTB ( f i g . 4 ) . The d e n s i t y adjustment
f a c t o r i s t h e number o f d e n s i t y l e v e l s t h e
2.3 Photographic Reduction t h r e s h o l d i s below t h e mode ( f i g s . 5 , 6 , 7 ) .
The l a r g e r t h e d e n s i t y adjustment f a c t o r
I t i s n o t n e c e s s a r y t o o b t a i n an t h e lower t h e t h r e s h o l d and t h u s t h e
exact reduction f a c t o r . Scale control is fewer ones t o r e p r e s e n t l i n e s . A p a r -
o b t a i n e d through c o n t r o l p o i n t s r a t h e r than t i c u l a r d e n s i t y adjustment f a c t o r should
by c a l c u l a t i o n o f a sequence o f enlargement be c o n s t a n t f o r one b a t c h o f maps and
and r e d u c t i o n f a c t o r s . Almost any high n e g a t i v e s . A new b a t c h may r e q u i r e
c o n t r a s t copy f i l m intended f o r l i n e changing t h e adjustment f a c t o r . Tying
drawings can be used f o r making t h e t h e t h r e s h o l d t o t h e mode t a k e s c a r e o f
r e d u c t i o n n e g a t i v e . A combination o f minor d i f f e r e n c e s w i t h i n a b a t c h . E d i t
t r a n s m i t t e d and r e f l e c t e d l i g h t produces f i r s t FREQTB p r i n t o u t f o r a b a t c h o f
t h e b e s t r e s u l t s . The t r a n s m i t t e d l i g h t maps b e f o r e making any more runs. (See
i n c r e a s e s t h e c o n t r a s t between ink l i n e s s e c t i o n 4 . 1 on e d i t i n g a b i n a r y map.) I f
and background. The r e f l e c t e d l i g h t i s t h e l i n e s have t o o many gaps, (ADDS) t h e
needed t o wash o u t t h e non-photo b l u e t h r e s h o l d i s t o o low.
labels.
To r a i s e t h e t h r e s h o l d , lower t h e
2.4 Scanning Procedure d e n s i t y adjustment. I f t h e r e a r e t o o
many p l a c e s which should be gaps and a r e
Place t h e n e g a t i v e on t h e scanner n o t (DELETES), t h e t h r e s h o l d i s t o o h i g h .
bed s o t h a t t h e scan s t a r t s i n t h e upper Lower t h e t h r e s h o l d by e n l a r g i n g t h e
l e f t hand c o r n e r o f t h e s c a n a r e a and adjustment f a c t o r . The a b s o l u t e number
t h e f i r s t scan l i n e i s l e f t t o r i g h t a c r o s s o f ADDS and DELETES i s used t o judge t h e
t h e t o p . I n s e t t i n g up t h e X and Y scan t h r e s h o l d . About twice a s many DELETES
limits, be s u r e t o i n c l u d e a s few e x t r a a s ADDS i s a good balance t o s t r i v e f o r
( f i g s , 8, 9 , 10).
Figure 1--Polygons labeled A are considered islands by WRIS. Figure 2--The islands in figure 1 have been removed by adding
connecting lines.

Figure 3--Densities of a two-digit scan of a portion of a map


743C 8)

644C 9)

602C 10)

541C 11)

427C 12)

383C 13)

347C 14)

354C 15)

318C 16) threshold


290C 17)

304C 18)

I
density
adjustment
factc

Figure 5--A binary map was produced from the densities of figure 3,
but the threshold used was too low.

Figure 4--Frequency table shows the


relationship between the mode, density
adjustment factor, and threshold.
00000000000000000000100000011111000000000011111111111111111100000 from the densities of figure 3 with
00000000000000000001000000110000110110001110000001100000000000000
10000000000000000001000001100000011111111110000000000000000000000 the correct threshold used.
11000000000000000001000001100000000000000011000000000000000000000
00110000000000000001100001000000000000000001100000000000000000000
00011000000000000001100010000000000000000000100000000000000000000
00001100000000000001100100000000000000000000100000000000000000000

00000100000000000001100100000000000000000001100000000000000000000

. 00000010000000000001001000000000000000001111000000000000000000000
00000011000000000001111000011110000011111000000001111110000000000
00000001100000000001000001110110001100000000011111110011100000000
00000000100000000000001110001100110000000111100000000000110000000
00000000100000000000111000010001100000111100000000000000011111001
00000000100000000001100000110011000011100000000000000000110111111
00000000100111000001100000111100000110000000000000000001100000000
00000001101101100000100000010000011000001111111100000111000000000
00000011001100111001100000000000110011110000001111111100000000000
00000010001100001111000000000011001111000000000000001000000000000
00000110000100000110000000000110011011000000000000001000000000000
00001100000100000000000000001101100011000000000000001100000000000
00001000000100000000000000110011000001000000000000001100000000000
00011000000100000000000001100110000001110000000000001000000000000
00110000000100000000000010011000000000001000000000001100000000000
00100000000100000000001100110000000000001100000000000100000000000
01100000000110000000011001100000000000000100000000000100000000000
01000000000011100001110011000000000000000110000000001100000000000
10000000000000111111000100000000000000000011000000011000000000000

00001100000100000000000000111011000011000000000000001100000000000
00011000000100000000000001101110000001111000000000001100000000000
00110000000100000000000111011100000000011100000000001100000000000
Figure 7 - 4 binary map was produced 00110000000110000000001110110000000000001100000000001100000000000
from the densities of figure
3 with a 01100000000110000000011001100000000000000100000000001100000000000
11000000000111110001110011000000000000000110000000001100000000000
threshold that was too high. 11000000000001111111001110000000000000000011100000011000000000000
10000000000000000000011100000000000000000001111111110000000000000
00000000000000000000111000000000000000000000011111000000000000000

00000000000100000011100000000000000000000000000000000000000000000
00000000001111111111000000000000000000000000000000000000000000001

00000000111000000000000000000000000000000000000000000000000000001

oooooooiiioooooooooooooooooooorinnoonooooooooooooooooooooooooooooo
Figure 8-FREQTB printout of
binary map in figure 5.

Figure 9-FREQTB printout of


binary map in figure 6,
Figure 10--FREQTBprintout of binary map in figure 7.
2.6 Converting Binary Map (FREQTB) INPUT UNIT=A$
FILES=4;SKIPS=O$
FREQTB r e a d s a microdensitometer DENSITY ADJUSTMENT FACT@R=22$
t a p e and t a b u l a t e s t h e frequency o f FOREST=ELD@RADfeLAYER=TIMBER;MAP=17;
each d e n s i t y l e v e l from 0 t o 63, u s i n g OUTPUT UNIT=B$
t h e s i x h i g h - o r d e r b i t s o f each d e n s i t y @ FIN
r e a d i n g . Each s i x - b i t v a l u e i s converted
t o a one, i f below, o r a zero, i f above 3. DIGITIZING MAPS BY HAND
an e s t a b l i s h e d t h r e s h o l d . FREQTB computes
t h i s t h r e s h o l d by s u b t r a c t i n g t h e DENSITY The computer time r e q u i r e d t o p r o c e s s
ADJUSTMENT FACTOR from t h e mode o f t h e an automatically-scanned map does n o t
d e n s i t y frequency t a b l e . The r e s u l t i n g depend on i t s complexity. The same number
matrix of binary values duplicates t h e o f d e n s i t y readings must be taken on a
scanned n e g a t i v e , w i t h ones r e p r e s e n t i n g simple map a s on a "busy" one. But
l i n e s (low d e n s i t y ) and zeros r e p r e s e n t i n g on a simple map, n e a r l y a l l r e a d i n g s a r e
t h e background (high d e n s i t y ) . The onelzero zeroes. Therefore, such a map i s r e -
v a l u e s a r e w r i t t e n compactly on t a p e f o r l a t i v e l y expensive t o process by t h e
use by POLLY. To allow manual e d i t i n g , scanner method, c o n s i d e r i n g t h e small
t h e binary values are a l s o printed. amount o f information c o l l e c t e d .

FREQTB w i l l process one o r more A b e t t e r method i s t o d i g i t i z e o n l y


f i l e s ( i - e . , maps) from one scan t a p e , t h e lines--and do s o manually. For t h i s
with o u t p u t on one o r more t a p e s a s we employ a hand-guided d i g i t i z e r and a
s p e c i f i e d by t h e u s e r . program t h a t processes i t s output i n t o t h e
same form produced by FREQTB. Because o f
Input Cards: i t s l i m i t a t i o n s , we c o n s i d e r t h i s an a l t e r -
n a t i v e r a t h e r than primary method. Users
1. System c a r d s . should choose t h e s c a l e and a r e a o f t h e i r
maps i n such a way t h a t most of t h e work
2. Input u n i t d e s c r i p t i o n , c o n t a i n i n g can be e f f i c i e n t l y processed by t h e scan-
u n i t d e s i g n a t i o n , number o f f i l e s (good n i n g method, leaving only a small p a r t t o
and bad) on t h e i n p u t t a p e (FILES=n) , and be hand d i g i t i z e d .
number o f f i l e s ( i f any) t o be skipped a t
t h e beginning (SKIPS=n) . 3.1 Equipment

3. DENSITY ADJUSTMENT FACTOR f o r For hand d i g i t i z i n g , we use a Bendix


f i r s t map. (See S e c t i o n 2.5.) Datagrid d i g i t i z e r . I t has a r e s o l u t i o n
o f 0.01 inch ( . 25 mm) .
Move t h e "cursor"
4 . Header r e c o r d ( f o r e s t , map, and over t h e map by following t h e inked l i n e s .
l a y e r ) and o u t p u t u n i t f o r f i r s t map. The c u r s o r senses i t s c o o r d i n a t e p o s i t i o n s
a s i t moves, and t h e s e x-y c o o r d i n a t e s a r e
I f two o r more maps a r e t o be process- recorded on magnetic t a p e .
ed from t h e i n p u t t a p e , items 3 and 4 may
be r e p e a t e d f o r each map. They must be i n 3.2 D i g i t i z i n g Procedure
t h e same o r d e r a s t h e scanning was done, a s
FREQTB does n o t rewind and then s e a r c h t h e Tape t h e map t o t h e d i g i t i z e r s u r f a c e .
t a p e f o r subsequent maps. Five minutes of Move t h e c u r s o r over a l l l i n e s t o be r e -
Univac 1108 computer time i s adequate f o r corded. A l l boundaries must be c l o s e d .
a FREQTB job on a map o f 1000 scan rows and A boundary may be recorded i n a s many
1000 r e a d i n g s p e r row. This s i z e map would p i e c e s (records) a s necessary a s long a s
produce about 180 pages o f output ( l e s s i f no gap i s l e f t between p i e c e s . A small
map has l a r g e blank a r e a s ) . o v e r l a p i s d e s i r a b l e . So i s a small
overrun a t T-shaped i n t e r s e c t i o n s . A
Sample i n p u t deck: s t r a i g h t l i n e i s b e s t done i n P o i n t Mode,
r e c o r d i n g only t h e end p o i n t s . (For o u r
@ RUN JqEDgE, 123456,5,200
purposes, Point and Line Modes a r e i n t e r -
@ CTL CLS=N
changeable.) A s t r a i g h t l i n e done i n Point
@FHASG A=1234
Mode looks b e t t e r when p l o t t e d . Do n o t
@W ASG B=5678 d i g i t i z e the control points.
@ ASG X=9876
@ CUR
3.3 Converting t o Binary Map (HANDY)
IN X
TRI X The HANDY program r e c e i v e s a s i n p u t
@ XQT FREQTB
t h e t a p e w r i t t e n by t h e Bendix d i g i t i z e r -
Output i s a t a p e t h a t a p p e a r s t h e same omissions a t t h e d a t a r e c o r d i n g s t a g e .
a s t h e o u t p u t o f FREQTB: a map scanned Blocks of 10 l i n e s a r e n o t p r i n t e d i f t h e y
on a g r i d having a s p a c i n g o f .02 i n c h a r e blank.
( . 5 mm). HANDY c o n s t r u c t s a g r i d o f t h a t
spacing, p r e s e t s a l l of i t s points t o Follow t h e s e r u l e s f o r adding o r
t h e v a l u e 0 , and t h e n changes t o 1 a l l d e l e t i n g "0 's" :
p o i n t s t h a t any d i g i t i z e d l i n e p a s s e s
o v e r . Thus, overlapped segments a r e merely 1 . F i l l i n gaps i n l i n e s w i t h a s few
redundant. Any s p u r - l i k e overruns a r e p a r e d points a s possible (fig. 11).
o f f during l a t e r processing.
2. Open t h e gaps between c l o s e l y i n g
Two c a r d s a r e r e q u i r e d i n p u t . The l i n e s ( f i g . 12).
f i r s t i s a "header record" c o n t a i n i n g
j u s t t h e name o f t h e i n p u t u n i t b e a r i n g Hints f o r e d i t i n g :
t h e Bendix t a p e . The o t h e r i s a l s o a
header record, f o r our output tape. I t 1. C o n s t r u c t l 1 r u l e r s Uc o n s i s t i n g of
must c o n t a i n t h e u n i t name, and F o r e s t , t h e column heads f o r each s t r i p . I n s e r t
Map, and Layer. r u l e r s i n t h e p r i n t o u t a t t h e beginning
o f each s t r i p . T h i s h e l p s t o minimize
Here is a t y p i c a l i n p u t deck: t h e e r r o r o f f o r g e t t i n g t o change r u l e r s
a t t h e beginning o f each s t r i p . Column
@ RUN RUSS,583301,1,300 numbers a r e p r i n t e d a t t h e beginning o f
@ CTL CLS=N each s t r i p . Row numbers a r e p r i n t e d along
@ ASG A=1234 t h e r i g h t s i d e o f t h e s t r i p . The s t r i p
@WH ASG B=5678 number i s p r i n t e d i n a column t o t h e r i g h t
@ N CUR o f t h e row number.
IN X
TRI X 2. V i s u a l l y f o l l o w each s t r i n g o f
@ N XQT HANDY 0 ' s looking f o r gaps i n l i n e s , small
INPUT UNIT=A $ polygons, and a r e a s w i t h a high d e n s i t y o f
OUTPUT UNIT=B; F0REST=ELD@RAD0; 0 ' s . These gaps a r e p o t e n t i a l a r e a s f o r
MAP=1; LAYER=TIMBER $ c o r r e c t i o n s . Two 0's a r e c o n s i d e r e d
connected i f t h e y a r e i n a d j a c e n t s p a c e s
'4. PRODUCING A POLYGON MAP e i t h e r v e r t i c a l l y , h o r i z o n t a l l y , o r diagon-
a l l y . Look p a r t i c u l a r l y f o r polygons w i t h
Once a map h a s been d i g i t i z e d and only a few i n t e r i o r c e l l s . Such polygons
condensed t o b i n a r y form, it i s n e c e s s a r y a r e h a r d t o s p o t when t h e y a r e formed by
t o g e n e r a t e a f i l e of polygons from it diagonal c o n n e c t i o n s . Two k i n d s o f f e a t u r e s
and t o a t t a c h l a b e l s t o t h e polygons. which can cause e x t r a s m a l l polygons a r e
0
A c o n s i d e r a b l e amount of e d i t i n g i s s h a r p 180 t u r n s o f a boundary and two
n e c e s s a r y t o c o r r e c t e r r o r s and n o i s e . p a r a l l e l b o u n d a r i e s which a r e c l o s e t o -
g e t h e r on t h e map b u t n o t s e p a r a t e on t h e
4.1 E d i t i n g t h e Binary Map printout.

The g e n e r a l procedure i s t o f l a g a l l 3. S i n c e each a d d i t i o n and d e l e t i o n


e r r o r s on t h e computer p r i n t o u t . Then must l a t e r be recorded and keypunched,
r e c o r d a l l c o r r e c t i o n s on d a t a forms t r y t o keep c o r r e c t i o n s t o a minimum.
f o r keypunching. The p r i n t o u t i s a s e r i e s
o f v e r t i c a l s t r i p s , commencing with t h e 4 . Two polygons connected by a narrow
l e f t - m o s t edge o f t h e map. neck on t h e map may have two d i f f e r e n t
l a b e l s . T h e r e f o r e , t a k e c a r e when c o r r e c t -
4.1.1 Editing Guidelines i n g t h i s k i n d o f gap.

V i s u a l l y scan each s t r i p , comparing it 5 . The f i r s t two columns on each s t r i p


w i t h t h e map o r a photo o f t h e map f o r e r r o r s . a r e r e p e a t s o f t h e l a s t two columns o f t h e
Careful e d i t i n g of t h e p r i n t o u t a t t h i s stage p r e v i o u s s t r i p . These columns almost e l i m -
w i l l save c o n s i d e r a b l e time and c o s t l a t e r . i n a t e t h e need t o r e f e r t o p r e v i o u s s t r i p s
C o r r e c t each e r r o r by c i r c l i n g each "0" t o be w h i l e making c o r r e c t i o n s . Any c o r r e c t i o n s
d e l e t e d with a r e d p e n c i l and c i r c l i n g with t o a r e p e a t e d column need o n l y be made
a b l u e o r green p e n c i l each space where an once.
"9" i s t o be added. Put a check i n t h e r i g h t
margin i f one o r more c o r r e c t i o n s o c c u r i n 6 . Ignore s t r a y 0 ' s which may occur
a row. These checks w i l l h e l p t o avoid due t o p o r t i o n s o f l a b e l s o r specks o f
0000000000000000000000
0 0 0
0 0 0
0 0 0
0 00 0
0 00
Figure 11--Examples of lines needing ADDS.
0 00
0 00 0
0 00 0
0 00 0
0 00 0
0 00 0
0 0 0
0 0 0
0 0 0
0 00 0
0000000000000000000000
0 00 0
0 0
0 00 0
0 00 0
0 0 0
0 00 0
0 0 0
0 0 0

Figure 12-Examples of lines needing DELETES.


d i r t t h a t were photographed. A computer 4.2.2 Symbol Transcription
program w i l l "dissolve" them. I t a l s o
dissolves any piece of a l i n e t h a t i s not I f both upper and lower case l e t t e r s
p a r t of a loop. This i s a l l r i g h t i f t h e a r e used i n a map, a t r a n s l a t i o n i n t o a
l i n e came from a smudge but w i l l be an format acceptable a s computer input i s
e r r o r i f it i s due t o a gap i n an inked required. Rules and examples a r e des-
line. cribed i n Appendix A .
7. I t i s highly d e s i r a b l e t h a t t h e
p r i n t o u t should be e d i t e d twice, each The Mylar maps supplied by t h e con-
time by a d i f f e r e n t person. Usually t r a c t o r f o r t h e S t a n i s l a u s and Eldorado
omissions w i l l be found and t h e l i s t National Forests had standard Region 5
w i l l lengthen. f o r e s t - t y p e c l a s s i f i c a t i o n s and t h e r e f o r e
require t r a n s c r i p t i o n of some symbols.
4.1.2 Recording Error Corrections
4.2.3 Label Recording
Record t h e row and column numbers
where t h e c o n t r o l p o i n t s appear on t h e S t a r t recording l a b e l s and t h e i r x-y
binary map. These a r e t h e GRID CONTROL p o s i t i o n on a new l i n e of t h e d a t a form.
POINTS i n t h e PgLLY input deck. Record S e l e c t a coordinate p o s i t i o n t h a t i s
them i n clockwise order s t a r t i n g with roughly c e n t r a l l y located i n t h e polygon.
t h e lower l e f t corner. Use a non-photo blue pencil t o check o f f
each l a b e l a s it i s recorded. An e n t i t y
Next record t h e "add" and "delete" c o n s i s t s of a l a b e l followed by i t s x and
c o r r e c t i o n s marked on t h e FREQTB p r i n t o u t . y p o s i t i o n . E n t i t i e s a r e separated by a
For convenience i n handling t h e card comma. The l a s t e n t i t y i s followed by
decks l a t e r , s t a r t t h e recording with a a d o l l a r sign. Within t h e e n t i t y , t h e
card which i d e n t i f i e d t h e adds and d e l e t e s ; t h r e e p a r t s a r e separated by one o r more
examples: 'ADDS MAP 30' o r 'DELETES MAP blanks. The x and t h e y coordinates a r e
NUMBER 26'. I t i s h e l p f u l t o s t a r t i n u n i t s of 0.01 inch. Thus, 24 inches
recording d e l e t e s a t t h e top of a separate from t h e o r i g i n i s w r i t t e n as 2400.
s h e e t . Each s t r i p has a r u l e r f o r record-
ing column numbers. Look f o r check marks The d a t a i s w r i t t e n a s one long "stream;"
i n t h e r i g h t margin opposite rows needing t h a t i s , t h e end of a l i n e on a data form
c o r r e c t i o n . Record adds and d e l e t e s by has no s i g n i f i c a n c e . I f an e n t i t y i s not
row and column on d a t a forms; examples, complete when t h e l a s t column i s reached,
5 , 62, 10,453. For convenience i n sub- simply continue on t h e next l i n e . J u s t
sequent e d i t i n g , s t a r t each l i n e with a one caution, however. I t i s easy t o
row e n t r y and end with a column e n t r y forget t h a t a blank i s a s i g n i f i c a n t char-
followed by a comma. Leave unused columns a c t e r ( s e p a r a t o r ) . There i s a tendency t o
blank. In t h i s way an item w i l l not be forget recording t h e blank when it f a l l s
s p l i t between l i n e s , and no e r r o r w i l l j u s t a f t e r the l a s t column and thus i n
occur i f t h e o r d e r of t h e cards i s changed. column 1 of t h e next l i n e .
Long consecutive l i s t s of items i n one
row o r one column may be added o r deleted 4.2.4 Master Label Accumulation
by t h e following short-cut method: [ R , c ~ A C ~ ] ,
o r [ R ~ A R ~ , c ] . (See a l s o Section 7.33.) When complex l a b e l s such a s t h e timber
l a b e l s shown i n Appendix A a r e used, care
4.2 Recording Polygon Labels must be taken t o eliminate typographical
and l o g i c a l e r r o r s from t h e l a b e l input
4.2.1 Setup deck. PgLLY, t h e polygon e x t r a c t i n g program,
checks each l a b e l against a master l a b e l
To record t h e x-y p o s i t i o n of t h e l i s t . A message i s p r i n t e d i f t h e l a b e l i s
l a b e l s , e s t a b l i s h axes. The length of each n o t on t h e master l i s t . For some l a y e r s an
a x i s s l i g h t l y exceeds t h e l a r g e s t map dimen- exhaustive l i s t of l a b e l s i s easy t o make.
s i o n expected. The v e r t i c a l o r "north-southv I t i s not d i f f i c u l t t o completely l i s t
d i r e c t i o n i s designated a s t h e y a x i s . counties, ranger d i s t r i c t s , o r even manage-
The map i s positioned within t h e r i g h t angle ment c o n s t r a i n t c l a s s e s . However, t h e r e
formed by t h e x-y axes so t h a t t h e control may be over 1,000 codes used out of a
p o i n t s (and a l l p o i n t s ) w i l l be p o s i t i v e , possible million o r more codes i n t h e
non-zero i n t e g e r s . The x and y distances system used f o r t h e timber l a y e r on t h e
from t h e o r i g i n i n hundredths of an inch S t a n i s l a u s and Eldorado National Forests.
a r e recorded a s explained i n t h e s e c t i o n on In t h i s s i t u a t i o n WRIS uses l a b e l decks and
map c o n t r o l p o i n t s . (7.3.2)
t h e program SIGNAL described i n a following 3. Header record containing only t h e
s e c t i o n t o c o n s t r u c t a complete master l a b e l output u n i t .
list.
4. c o r r e c t i o n cards f o r binary map
The process i s s t a r t e d by using t h e from e d i t i n g of FREQTB p r i n t o u t .
ADD ITEM c o n t r o l card t o put t h e l a b e l
input deck of t h e f i r s t map i n t o t h e master 5. Master l a b e l f i l e name.
l a b e l f i l e . The l a b e l s can then be s o r t e d
and p r i n t e d . This s o r t e d l i s t of l a b e l s 6. Label deck.
should then be very c a r e f u l l y e d i t e d t o
make s u r e t h a t t h e l a b e l s follow a l l t h e Example Input Deck
r u l e s o f t h e coding system. Any i n c o r r e c t
l a b e l s can be d e l e t e d from t h e l i s t by using @ RUN J@E,123456,3,100
t h e DELETE LABELS c o n t r o l card. The cor- @ CTL CLS=N
r e c t e d l a b e l s a r e then added t o t h e l i s t . @ CTL SYS=A
The next deck of l a b e l s can then be checked @ ASG A=1234
a g a i n s t t h e master l a b e l l i s t by using t h e @W ASG B=5678
CHECK LABELS c o n t r o l card. A l l l a b e l s which @ ASG X=3477
were n o t i n t h e o r i g i n a l deck w i l l be f l a g - @ N CUR
ged i n t h e p r i n t o u t . These should a l l be IN X
checked c a r e f u l l y and any e r r o r s c o r r e c t e d TRI X
i n t h e card deck. This deck can then be @ N XQT POLLY
added t o t h e master l i s t with t h e ADD ITEM INPUT UNIT=A; F$JREST=ELD@RAD@; MAP=236;
c o n t r o l card. Duplicates of l a b e l s a l r e a d y LAYER=MANAGE ~N
L@ C ATT;I @ N = T ~ ~R16E;
N
on t h e master l i s t w i l l be ignored. Each SCALE=31680;
l a b e l input deck i s processed i n t h i s GEOGRAPHIC CONTROL P@INTS=39:30:0.0,
way; t h a t i s , by c a r e f u l l y checking any 120:15:0.0,39:37:30.0,120:15:0.0,

new l a b e l s before adding t h a t deck t o t h e 39:37:30.0,120:07:30.0,39:30:0.0,

master l a b e l l i s t . 120:07:30.0;
MAP CONTROL P~INTS=100,100,102,1322,
When a l l decks have been processed t h e 1380,1318,1318,100;
master l a b e l f i l e w i l l contain a complete GRID CONTROL POINTS=474,2,3,3,4,494,
l i s t o f a l l l a b e l s which occur a t l e a s t once 473,471$
on a s e t o f maps. Any new o r changed l a b e l s OUTPUT UNIT=B$
which a r e p u t i n t h e l a b e l deck during 'ADDS MAP 236'
e d i t i n g w i l l be flagged by POLLY. This 10,16 $
procedure provides an a d d i t i o n a l chance t o 'DELETES MAP 236'
check t h e l a b e l a g a i n s t t h e coding r u l e s . 388,48, L390A391.451 , 392,44,393,
I f t h e l a b e l i s c o r r e c t l y constructed it 43, [397,44~45] $
can be added t o t h e master l a b e l l i s t . FILE . (ALPHA/ LABELS)
LS 300 1200, RL 600 700$
4.3 E x t r a c t i n g Polygons from Binary Map
(POLLY) Limitations

POLLY c o r r e c t s a binary map by using Maximum number of x-y p o i n t s i n any


t h e ADDS and DELETES. I t then e x t r a c t s polygon: 1991
polygons from t h e b i n a r y map by using t h e Maximum number of polygons i n one
l a b e l l o c a t i o n s a s s t a r t i n g p o i n t s (see map: 500
Section 4 . 2 . 3 ) . A l l t h e polygons e x t r a c t e d Maximum number of ADDS and DELETES
a r e w r i t t e n on t h e output t a p e . POLLY combined: 5000
w i l l run a batch o f jobs when t h e r e i s a
s e r i e s of c o n t r o l cards following t h e XQT 4.4 Editing POLLY P r i n t o u t
card.
P r i n t o u t of a normally terminated PgLLY
Input Cards run w i l l c o n s i s t of t h e s e s e c t i o n s :

1. System c a r d s . 1. Header record input from cards.

2 . Header record ( f o r e s t , map, l a y e r , 2 . Header record r e s u l t i n g from tape


geographic c o n t r o l p o i n t s , map control header record merged with card input record.
points, grid control points, location,
s c a l e ) and i n p u t u n i t f o r t h e binary map. 3. Output u n i t number.
4. L i s t of c o r r e c t i o n s f o r binary map. INPUT CARD ERROR

a. Additions input cards The header record card has a format


b. Sorted l i s t o f a d d i t i o n s e r r o r . (See Section 7.3.2.)
c. Deletions input cards
d. Sorted l i s t of d e l e t i o n s TOO MUCH DATA ON INPUT CARDS

5. L i s t of l a b e l s . The t o t a l amount of d a t a i n t h e header


record i s more than t h e program can
a. Label input cards handle. See t h e programmer responsible
b. Sorted l i s t o f l a b e l s f o r WRIS maintenance.

6. Output header record. READ ERROR WHILE READING ADDITIONS DECK

7. Local l a b e l l i s t . READ ERROR WHILE READING DELETIONS DECK

8. Detailed l i s t o f e x t r a c t e d polygons. Both of t h e s e e r r o r s r e s u l t from format


e r r o r s such a s missing o r e x t r a commas,
9. Summary record of number and a r e a e x t r a b r a c k e t s , o r lack of a record
o f polygons. terminator. See t h e s e c t i o n s on E d i t i n g
t h e Binary Map and on Card Formats f o r
10. Confirmation of w r i t i n g o f output a complete d e s c r i p t i o n of format.
file.
ADDITION OUT OF RANGE ROW i COLUMN j
For t h e purpose of e d i t i n g , t h i s output can
be considered i n two groups: Items 1-5 DELETION OUT OF RANGE ROW i COLUMN j
deal with i n p u t ; items 6-10 deal with out-
put. A row o r column exceeds t h e maximum number
of rows o r columns i n t h e map. The
The p r i n t o u t i s organized f o r use i n maximums a r e found i n t h e header record
e d i t i n g r a t h e r than a s a record of d a t a . l a b e l l e d "SCAN ROWS1' and SCAN COLUMNS."
E r r o r s during i n p u t a r e u s u a l l y recording,
format, o r key punch e r r o r s . There a r e CARD INPUT ERROR
two groups o f e r r o r s : those which s t o p
t h e program and those t h a t do n o t . I t i s This message i n d i c a t e s a format e r r o r
b e s t t o s t a r t looking a t t h e back of t h e while reading l a b e l s . (See Section 4.2
p r i n t o u t t o s e e i f any input e r r o r s have f o r l a b e l format.)
stopped t h e program. A l i s t of f a t a l e r r o r
messages follows: ERROR READING LABEL DECK i

INPUT/OUTPUT FILE SPECIFICATION ERROR i I f i equals 4, an e n d - o f - f i l e was


encountered while reading t h e l a b e l deck.
An input o r output u n i t number i s given The usual cause i s a missing record
i n t h e wrong p l a c e i n t h e input card deck. terminator. I f i i s g r e a t e r than 4 t h e r e
I f i = O an i n p u t u n i t number was given where a r e more l a b e l s than t h e program can
an output u n i t number was expected. I f handle. See t h e programmer responsible
i=l an output u n i t number was given where f o r WRIS maintenance.
an i n p u t u n i t number was expected. (See
Section 4 . 3 f o r proper deck setup.) I f t h e POLLY p r i n t o u t i s not terminated
by one of t h e preceding e r r o r messages,
INPUT TAPE SHOULD BE MODE 1 BUT IS i one of t h e following messages may appear
i n t h e l i s t i n g of l a b e l input cards. (Pro-
A f i l e with t h e c o r r e c t Forest, Map and cessing continues a f t e r t h e s e e r r o r s . )
Layer, but without a binary map was read.
Mode of t h e f i l e i s i. (A b i n a r y map i s N MASTER LABEL FOUND nnn
mode 1, a polygon map i s mode 2.)
The l a b e l nnn i s not i n t h e master l a b e l
CANNOT RECOGNIZE THE LABEL nnn l i s t . I f nnn i s not a v a l i d l a b e l it should
be c o r r e c t e d , otherwise it should be added
The left-hand s i d e of a header record t o t h e master l a b e l l i s t . The l a b e l i s
e n t i t y (nnn) i s misspelled. (See Section used by t h e program a s i f it were a c o r r e c t
7.3.2.) label.
N0 C00RDINATES FOUND F0R THIS LABEL nnn I f t h e next b i t back along t h e l i n e i s now
a deadend it i s eliminated. This backing
A recording o r key-punching e r r o r has up continues u n t i l a b i t i s found which
r e s u l t e d i n no coordinates being associated can continue t h e l i n e o r u n t i l a f i f t h b i t
with t h e l a b e l nnn. This l a b e l i s ignored would be eliminated. When a f i f t h deadend
f o r f u r t h e r processing. b i t i s encountered i n a s t r i n g t h e program
abandons t h e attempt t o e x t r a c t t h e polygon
The remaining e r r o r messages r e s u l t from I f t h e program successfully r e t u r n s t o t h e
l o g i c a l e f r o r s i n t h e d a t a . They a r e found s t a r t i n g p o i n t it c r e a t e s an a r t i f i c i a l
during t h e process of e x t r a c t i n g polygons. deadend by f i l l i n g i n t h e row o f t h e l a b e l
The messages w i l l be i n t e r s p e r s e d with t h e l o c a t i o n from t h e s t a r t i n g p o i n t . t o t h e
d e t a i l e d l i s t o f polygons. To be a b l e l a b e l l o c a t i o n . This a r t i f i c i a l deadend
t o c o r r e c t l o g i c a l e r r o r s i n t h e d a t a some i s used t o d e t e c t multiple l a b e l s i n a
understanding of t h e thinning and polygon s i n g l e polygon.
e x t r a c t i n g algorithms i s needed.
With t h e operation of these two algorithms
The thinning algorithm s t a r t s with a i n mind we can describe t h e c o r r e c t i o n of
binary map a s output by FREQTB and ends with t h e d a t a e r r o r s signaled by t h e following
a binarymapwith a l l l i n e s 1 b i t t h i c k . I t e r r o r messages. Several of t h e e r r o r
s t a r t s a t t h e t o p o f t h e map and looks messages a r e followed by t h i s l a b e l p r i n t o u t :
a t one row a t a time. A row i s scanned
u n t i l a s t r i n g o f one b i t s i s found. A LABEL NUMBER =n, LABEL=m, X = i ,
one b i t i s eliminated from t h e s t r i n g i f Y = j MAP LABEL=kkk
it i s not e s s e n t i a l f o r maintaining a
connection between one-bits i n t h e row n i s t h e p o s i t i o n o f t h e l a b e l i n t h e input
above o r t h e row below. The b i t s i n a card deck.
s t r i n g a r e examined i n t h e following order:
The b i t on t h e l e f t end of t h e s t r i n g i s m i s t h e p o s i t i o n of t h e l a b e l i n t h e l o c a l
eliminated u n t i l a connection would be label l i s t
broken; then t h e b i t on t h e r i g h t end of
t h e s t r i n g i s eliminated u n t i l a connection i , j i s t h e l a b e l l o c a t i o n i n map coordinates
would be broken; f i n a l l y , t h e i n t e r i o r b i t s
a r e examined from l e f t t o r i g h t . When a l l kkk i s t h e label
s t r i n g s i n a row have been examined t h e
program moves t o t h e row below. The main Error messages which begin with 10 a s t e r -
consequence of t h e thinning process f o r t h e i s k s terminate processing of t h a t polygon.
POLLY e d i t o r i s t h a t a gap i n a l i n e causes
t h e l i n e t o be erased down and t o t h e r i g h t **********LABEL LOCATION OUT OF RANGE**********
o r l e f t but not up. The e r a s u r e s t o p s when
t h e l i n e meets o r i n t e r s e c t s another l i n e . When t h e x-y l a b e l location i n map coordinates
i s converted t o row-column i n g r i d coordinates
Figures 1 3 and 14 show t h e r e s u l t s o f one of t h e coordinates i s o u t s i d e of t h e
t h i n n i n g t h e examples i l l u s t r a t e d i n range 1 t o "SCAN ROWS" o r "SCAN COLUMNS."
Figures 11 and 12. Figures 15 through 18 The l a b e l p r i n t o u t following t h i s message
d u p l i c a t e f i g u r e s 11 through 14, but t h e l o c a t e s t h e l a b e l i n t h e card deck and on
ADD and DELETE c o r r e c t i o n s have been made. t h e o r i g i n a l map so t h a t it can be c o r r e c t e d .

The polygon e x t r a c t o r s t a r t s with a l a b e l *****THE FOLLOWING LABEL IS ON OR ADJACENT


l o c a t i o n i n t h e binary map. The l a b e l TO A LINE*****
l o c a t i o n i s found by t h e program by t r a n s -
forming t h e x-y l a b e l map coordinates i n t o The l a b e l l o c a t i o n given i n t h e l a b e l p r i n t -
row-column g r i d coordinates. S t a r t i n g out t h a t follows t h i s message may be i n e r r o r
a t t h e column of t h e l a b e l l o c a t i o n , t h e I t s l o c a t i o n near a l i n e may a l s o keep o t h e r
row i s scanned t o t h e r i g h t u n t i l a l i n e i s e r r o r s from being d e t e c t e d .
encountered. The l i n e i s followed clock-
wise around t h e polygon. A t any i n t e r - REACHED EDGE OF MAP n
s e c t i o n t h e c l o s e s t l i n e i n t h e counter-
clockwise d i r e c t i o n i s taken. The l i n e i s The scan t o t h e r i g h t has gone t o column n
followed u n t i l t h e s t a r t i n g p o i n t i s reached. and has not encountered any l i n e . The
When a deadend i s encountered t h e l a s t b i t l a b e l l o c a t i o n i n t h e following l a b e l p r i n t -
i n t h e l i n e i s eliminated, and t h e program out may have been misread o r recorded wrong.
attempts t o continue following t h e l i n e . I f t h e l a b e l i s f o r a small polygon along
0 0 0

0 0 0

0 00 0

0 0
Figure 13--Results of thinning the examples
0 0

0 0
in figure 11 without making ADDS.
0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

000000000000 0000000

0
00 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

0000000000000000 0000

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0000000000 0000000000
0 0 0

0 0 0

0 00000 00000000000

0 00 0

0 0 000 0

0 0 00 0

0 0 00 0

0 0 0 0

0 0 0

0 0 0

0 0 0

0 0 0

0 0 00 0

0 0 00 0

0 0 0 0

0 0 0 0

0 0 0 0

000000 0 000000 0000

0 0 0

0 0 0

0 0 000 0

0 0 0 00000

0 0 0 0

0 0 0 0

0 0 0 0

0 0 0 0 0 0

Figure 14-Results o f thinning the examples 0 0 o o 000 o

0 0 00 00 0

in figure 12 without making DELETtS. o 0 0 0 0 o

0 0 0 0

Figure 15-Results of making ADDS in


the examples in figure 11.

Figure 16-Results of making DELETES 0 00 0ooooo 0000 0


0 00 00000 00 0
in the examples in figure 12. o oooooo 00 00
0 000 0 0
00 000000000000000000
0 0 0
0 0 0
0 0 0
0 00 0
0 0 0
o o Figure 17-Results of thinning the examples in figure 15.
0 0 0
0 000 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
000000000000 0000000
0 00 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
000000000000 000 0000
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 000000000 0
000 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0000000000 0000000000

Figure 18--Results of thinning the examples in figure 16.


t h e t o p , r i g h t , o r bottom edge a small e r r o r t h e c o r r e c t i o n s incorporated. The second
i n e i t h e r map o r g r i d c o n t r o l p o i n t s could piece i s t h e thinned map. Both pieces a r e
put t h e l a b e l o u t s i d e of t h e map perimeter. centered on t h e deadend. For s h o r t deadends
these two p r i n t o u t s should be s u f f i c i e n t
POLYGON TOO LONG. STOPPED AT ROW i , f o r c o r r e c t i n g t h e e r r o r . For more complex
COLUMN j LABEL AT ROW k COLUMN n c a s e s , t h e FREQTB p r i n t o u t w i l l have t o be
consulted. Deadends l e s s than 5 b i t s long
The polygon has more than t h e maximum w i l l be eliminated from t h e boundary by t h e
number o f p o i n t s allowed i n i t s border (see program and need not be corrected with
l i m i t a t i o n s i n Section 4 . 3 ) . The following delete cards.
l a b e l p r i n t o u t w i l l l o c a t e t h e polygon on
t h e o r i g i n a l map. The polygon must be c u t
i n t o a t l e a s t two smaller polygons by
adding one b i t s t o t h e b i n a r y map using This message i s p r i n t e d and processing of
c o r r e c t i o n c a r d s . A new l a b e l must be t h i s polygon terminated when t h e deadend
added t o t h e l a b e l deck f o r each new polygon i s more than 4 b i t s long.
created.
**********DEADEND AT BEGINNING AND END OF
**********SCAN INTERRUPTED BY ISLAND********** POLYGON**********

LABEL AT ROW i , COLUMN j When a second l a b e l i n a polygon i s on t h e


same row a s t h e f i r s t l a b e l t h e a r t i f i c i a l
The polygon boundary does not enclose t h e deadend i s not seen a s a deadend i n t h e
l a b e l and i s t h e r e f o r e an i s l a n d i n s i d e t h e usual way. This message i s followed by a
polygon f o r which t h e l a b e l was intended. l a b e l p r i n t o u t f o r t h e c u r r e n t l a b e l and
Find t h e i s l a n d using t h e l a b e l p r i n t o u t a l a b e l p r i n t o u t f o r t h e l a b e l within 0.05
which follows t h e e r r o r message. Eliminate inch (1.27 mm) of t h e deadend.
t h e i s l a n d with a d d i t i o n s cards (see a l s o
Section 1 on preparing maps). A t t h e end of t h e d e t a i l e d l i s t of polygons
a r e four numbers which h e l p determine whether
a l l e r r o r s have been eliminated. F i r s t
NUMBER OF LABELS READ1 should equal 'NUMBER
DEADEND AT ROW i COLUMN j X=x, Y=y, OF POLYGONS WRITTEN'. Any d i f f e r e n c e comes
from not completing some polygon due t o
POLYGON LABEL AT ROW i , COLUMN j an e r r o r . The second p a i r o f items 'AREA
OF ENCLOSING POLYGON' and 'AREA OF ENCLOSED
This i s followed by a l a b e l p r i n t o u t and P@LYGONS1should agree within about one
one o f t h e t h r e e following messages. I f p a r t i n 4000. While one p a r t i n 4000 i s
t h e deadend i s a r t i f i c i a l t h e l e f t end i s u s u a l l y much g r e a t e r accuracy than t h e
n e a r a previously used l a b e l l o c a t i o n . That d a t a warrants, it makes it very u n l i k e l y
l a b e l i s found and t h i s message i s p r i n t e d : t h a t compensating e r r o r s w i l l give t h e
appearance of an e r r o r - f r e e map.
**********THE FOf!,L@WINGLABEL IS WITHIN 5
HUNDREDTHS OF THE DEADEND********** Occasionally, due t o poor q u a l i t y input o r
c a r e l e s s e d i t i n g , a map w i l l have many
This i s followed by a l a b e l p r i n t o u t . The i n t e r r e l a t e d e r r o r s . I t i s sometimes
two l a b e l s a r e i n t h e same polygon. They d i f f i c u l t i n t h e s e cases t o t r a c e t h e
can be found i n t h e s o r t e d l a b e l l i s t and cause of a l l t h e e r r o r s . I t i s b e s t then
on t h e o r i g i n a l map so t h a t t h e c o n f l i c t t o rerun POLLY with a s many c o r r e c t i o n s
can be resolved. I f t h e two l a b e l s appear a s can be made. Many of t h e remaining
t o be i n adjacent polygons on t h e map and e r r o r s w i l l disappear and t h e r e s t w i l l
t h e i r l a b e l l o c a t i o n s a r e c o r r e c t l y recorded, be e a s i e r t o c o r r e c t .
a gap i n a l i n e may have caused t h e t h i n n i n g
algorithm t o e r a s e t h e boundary between t h e 4.5 Editing Polygon F i l e With Line P l o t t e r
two polygons.
Editing a polygon f i l e with a l i n e
I f no l a b e l i s found w i t h i n 0.05 inch p l o t t e r h e l p s d e t e c t e r r o r s t h a t POLLY can-
(1.27 m) o f t h e deadend it i s assumed not f i n d . Five kinds of e r r o r s can show up
t o be a r e a l , not a r t i f i c i a l , deadend. In on t h e l i n e p l o t . A lack of agreement
t h i s case two 20-row by 20-column p i e c e s between t h e two areas p r i n t e d a t t h e end
of t h e b i n a r y map a r e p r i n t e d . The f i r s t of POLLY i s an i n d i c a t i o n t h a t a t l e a s t
p i e c e i s o f t h e o r i g i n a l b i n a r y map with one of these e r r o r s i s p r e s e n t :
1. A l i n e t h a t does not coincide on 4.6 Work Flow
t h e p l o t and t h e map. This e r r o r i s u s u a l l y
caused by a mistake i n e d i t i n g t h e binary Preceding s e c t i o n s have described
map. each s t e p i n producing a polygon f i l e from
a map s h e e t . The o r d e r o f t h e s e c t i o n s was
2 . A l i n e i s on t h e map but n o t on t h e chosen f o r expository purposes. The most
p l o t . I f l a b e l s a r e n o t recorded f o r two e f f i c i e n t sequence of s t e p s , i n p r a c t i c e ,
a d j a c e n t polygons, t h e i r common boundary w i l l may be somewhat d i f f e r e n t . The sequence o f
not be p l o t t e d . I f one l a b e l i s not recorded s t e p s given below was found t o work well
and an e r r o r i n e d i t i n g t h e binary map causes on maps of t h e S t a n i s l a u s and Eldorado
one s i d e of t h e polygon t o be erased t h e National Forests. Experience with o t h e r
polygon w i l l be included a s p a r t of t h e kinds o f map p r o j e c t s may suggest modifica-
a d j a c e n t polygon. An unrecorded l a b e l f o r tions t o these steps.
a polygon on t h e edge of t h e map w i l l cause
p a r t of t h e map perimeter t o be missing from 1. Record t h e l a b e l s (See Section
the plot. 4.2) . Recording l a b e l s before any o t h e r
work i s done provides an a d d i t i o n a l c l o s e
3 . A s t r a i g h t h o r i z o n t a l l i n e on t h e look a t t h e maps and may uncover some
p l o t is n o t on t h e map. A l a b e l i s centered remaining l o g i c a l e r r o r s .
over t h e l e f t end o f t h e l i n e . I t s l o c a t i o n
f e l l e x a c t l y on a polygon boundary i n s t e a d 2. Make t h e negative (see Section 2.3)
of within. PGLLY got l o s t t r y i n g t o c o n s t r u c t
t h e polygon and a c c i d e n t a l l y produced t h i s 3. Scan t h e negative (see Section
spurious l i n e . Check t h e l a b e l ' s co- 2.4).
ordinates o r the control points.
4. Convert scan t a p e t o binary map
4. Small polygons, u s u a l l y about one- with FREQTB (See Section 2.6).
t e n t h inch on a s i d e a r e on t h e p l o t but
n o t on t h e map. These a r e caused by an 5. Edit t h e binary map (See Section
e r r o r i n e d i t i n g t h e binary map. 4.1).
5. Polygons a r e missing from t h e p l o t 6 . Extract polygons from t h e b i n a r y
Since adjacent polygons have some p a r t of map with POLLY (See Section 4.3) . POLLY
t h e i r boundary i n common with t h e missing output should be e d i t e d and POLLY rerun
polygon, it w i l l appear t o be p l o t t e d . The u n t i l a l l e r r o r messages a r e eliminated.
only c l u e t h a t t h e polygon i s absent i s
t h e lack of a l a b e l . 7 . P l o t t h e map using CHART (See
Section 6.1) .
To e d i t t h e p l o t , t a p e it onto t h e top of
t h e o r i g i n a l map with t h e c o n t r o l p o i n t s
aligned a s closely a s possible.
8. Edit t h e p l o t (See Section 4.5) .
9 . Rerun POLLY making c o r r e c t i o n s
Control p o i n t s on t h e p l o t should a l l be found from p l o t . Area of enclosing polygon
within 0.05 inch o f t h e c o n t r o l p o i n t s on and enclosed polygons should agree t o
t h e o r i g i n a l map. I f t h e c o n t r o l p o i n t s do about one p a r t i n 4000.
not agree, re-measure t h e c o n t r o l p o i n t s on
t h e o r i g i n a l map t o help f i n d which coordinate A t t h i s p o i n t t h e map i s ready f o r
i s i n e r r o r . Usually only one of t h e e i g h t use and can be processed by any WRIS
i s wrong. The most common e r r o r s a r e read- program t h a t operates on a f i l e o f polygons.
ings t h a t a r e o f f by 0.1, 1, o r 5 inches.
I f a corner i s o f f by a s much a s 1 inch 5. COMBINING LAYERS
POLLY should be rerun with t h e c o r r e c t
corners and a new p l o t made. 5.1 Overlaying Maps from Two Layers (MOSAIC)
Then, with t h e p l o t s t i l l on top o f t h e MOSAIC combines two maps r e p r e s e n t i n g
map, s y s t e m a t i c a l l y scan t h e p l o t looking t h e same a r e a on t h e ground but from d i f f e r -
f o r t h e f i v e kinds of e r r o r s d e s i r e d e a r l i e r . e n t l a y e r s . The r e s u l t i s a polygon map
When a l l o f t h e e r r o r s have been found, i n which each polygon r e p r e s e n t s t h e a r e a
use t h e POLLY p r i n t o u t and t h e o r i g i n a l i n common between a p a i r o f polygons, one
map t o f i n d t h e cause o f a l l t h e e r r o r s . from each input map. (In mathematical
Then c o r r e c t t h e POLLY input deck and rerun terms, t h i s overlay polygon i s t h e i n t e r -
POLLY. s e c t i o n of t h e s e t s o f p o i n t s i n s i d e t h e
two input polygons.) The l a b e l of t h i s new
polygon i s a combination of t h e two con- Limitations:
s t i t u e n t l a b e l s . A l l such p a i r s of over-
lapping input polygons a r e processed. 1. Maximum number of x-y p o i n t s i n any
I f both i n p u t maps completely cover a p a i r of input polygons and t h e i r i n t e r s e c t i o n ,
given a r e a of land with polygons, s o w i l l a l l combined: 3000
t h e r e s u l t i n g map. But " s l i v e r s , " o r
polygons o f i n s i g n i f i c a n t s i z e a r e d i s - 2. Maximum number of items i n both
regarded. By " i n s i g n i f i c a n t " we mean input f i l e s p l u s output f i l e : 2000 ( e f f e c -
those whose a r e a i s l e s s than 0.0125 square t i v e l y , t h i s means a l i m i t of about 500
inch o r whose area-to-perimeter r a t i o polygons i n each input f i l e ) .
i s l e s s than 1/100 (map c o o r d i n a t e s ) .
3. Maximum number of times a polygon
The composite map can be w r i t t e n on p a i r (one from each input f i l e ) can
t a p e f o r l a t e r use i f d e s i r e d . This i s c r o s s each o t h e r : 800
n o t necessary i f a l l you want i s a t a b l e of
acreages showing t h e t o t a l a r e a f o r each 4. Timing: MOSAIC r e q u i r e s about 1
l a b e l p a i r . This acreage t a b l e i s p r i n t e d minute of Univac 1108 computer time when
and a l s o punched. The punched cards a r e each input f i l e has 50 polygons, and about
f o r i n p u t t o TALLY. 4 minutes f o r 400 polygons.

MOSAIC w i l l run a batch of jobs f o r 5.2 Aggregating Overlay Acreages (TALLY)


a s e r i e s of c o n t r o l card s e t s following
t h e XQT c a r d . I f one of t h e two input T a l l y adds up t h e card decks punched
maps i s from a l a y e r named "TIMBER" we by MgSAIC, which contain t h e acreages of
assume i t s l a b e l s a r e f o r e s t - t y p e des- t h e overlay combination, and p r i n t s t h e
c r i p t i o n s (See Appendix A) and we con- t o t a l acreages. The t o t a l s a r e a l s o
dense them i n t o major types (Appendix B) punched, i n t h e same format, s o t h e job can
b e f o r e processing. be divided i n t o s u b t o t a l s t e p s i f d e s i r e d .

Input Cards: Input Cards:

1. System cards 1. System cards.

2. Header record ( f o r e s t , map, layer) 2. Forest name, followed by a d o l l a r


and input u n i t of t h e f i r s t input map. sign.

3. Header record ( f o r e s t , map, layer) 3. Location, followed by a d o l l a r


and i n p u t u n i t of t h e second input map. sign. This i s used f o r v i s u a l i d e n t i f i c a t i o n
only.
4. Header record and output u n i t f o r
output f i l e . Include only those p o r t i o n s 4. Master l a b e l l i s t f o r each l a y e r .
of t h e header record t h a t a r e d i f f e r e n t The l a y e r s come i n a l p h a b e t i c a l o r d e r . A
from t h e input f i l e s , namely, Map and Layer. master l a b e l l i s t i s a complete l i s t of
I f you do n o t wish t o w r i t e t h e output f i l e , a l l l a b e l s i n t h e l a y e r , separated by
a l l you punch i s "0UTPUT UNIT=N@NE$." commas and followed by a d o l l a r s i g n .

Example of Input Deck 5 . Packets of cards punched by MOSAIC,


i n any o r d e r . A packet s t a r t s with t h e
@ RUN J@E,123456,4,50 f o r e s t name and ends with a d o l l a r s i g n .
@ CTL CLS=N Discard t h e job i . d . cards t h a t a r e u s u a l l y
@ CTL MEM=60M, MAXCARDS=100, SYS=A found a t top and bottom o f t h e punched
@ ASG A=1234 deck. The f o r e s t name must match t h e name
@ ASG B=5678 i n Step 2, above. I f packets f o r t h e same
@W ASG 0 4 3 2 1 map p a i r appear more than once, TALLY uses
@ N CUR t h e f i r s t and ignores t h e o t h e r s .
IN X
TRI X Example of Input Deck:
@ N XQT M@SAIC
INPUT UNIT=A; F@REST=ELDORAD@; @ RUN JACK,583301,1,30
MAP=216; LAYER=MANAGEMENT$ @ CTL CLS=N, MAXCARDS=100
INPUT UNIT=B; F@REST-ELDORADO; @ ASG X=5093
MAP=16; LAYER=TIMBER$ @N CUR
OUTPUT UNIT=C; MAP=1016; IN X
LAYER=@VERLAY$ TRI X
@ XQT TALLY a . PLOT TAPE = t a p e l a b e l
MCCLOUD $ r e q u i r e d ) . This tape w i l l d r i v e t h e
T41N $ plotter.
PERI~TER,RL,ST,VP,WS$PERIMETER,FB,

WF2 (1) *P,WF3(2) ,WF3(3) ,P4(1) $ b. MAGNIFICATION = f a c t o r .


MCCLgUD $ T41N R2W $ 11 SEP 73 $11, This i s t h e amount of blow-up. O m i t -
1$4,5$ t i n g i t i s equivalent t o a f a c t o r o f 1 . 0
PERI~TER,RL,ST,VP$PERI~TER,FB,WF~(~)*P,

WF3(3),P4(1) $44,129,147,69,18,25, c . RECTANGLE = min x, max x,


7(0), 73,6(0)$ min y , max y. These four numbers d e f i n e
MCCLOUD$ T41N R3W $ 12 SEP 73 $ 12,2$2,4$ a r e c t a n g l e i n map coordinates within which
PERIMETER,WS$PERIMETER,FB,WF3(2) ,P4 (1) $ t h e p l o t i s t o be confined. The numbers
7,l93(O) ,13,1,29 $ a r e i n t e g e r s , i n u n i t s of 0.01 inch.
Omitting t h i s and ltITEMS't means you want
t h e e n t i r e map.

6.1 P l o t t i n g a Map (CHART) d. ITEMS = l i s t of item numbers.


This i s another way t o s p e c i f y a subset
CHART p l o t s t h e polygons on an automatic of t h e map t o be p l o t t e d .
d i g i t a l p l o t t e r , allowing a map t o be
checked v i s u a l l y . The program w r i t e s pen e. PLGT ITEM NUMBERS ( d e f a u l t )
movement i n s t r u c t i o n s on a t a p e , and t h e PLOT LABELS
t a p e runs t h e p l o t t e r o f f - l i n e . CHART PLOT LABEL NUMBERS
comes i n two d i f f e r e n t v e r s i o n s : one f o r
t h e Cal Comp 1136 p l o t t e r and t h e o t h e r Choose one. I t t e l l s t h e computer what
f o r t h e EAI 430. We w i l l d e s c r i b e t h e t o p l o t a s i d e n t i f i c a t i o n on each polygon.
Cal Comp version f i r s t and then t e l l how
t h e EAI version d i f f e r s from i t . Example of Input Deck:

@ RUN SMITH,l23456,2,50
The map i s drawn i n two colors--the
@ CTL CLS=N
polygons i n one c o l o r and t h e i r l a b e l s @ ASG A=9701
i n another. Also p l o t t e d a r e t h e c o n t r o l @W ASG B=8728
p o i n t s , t h e x and y s c a l e s i n map coordinates,
k? ASG X=3703
and a t i t l e , which i s an e x t r a c t of t h e header
@ N CUR
record.
IN x
TRI X
Several options a r e a v a i l a b l e , such
@ N XQT CHART
a s p l o t t i n g only a p o r t i o n o f t h e map
FQREST=ELDQW~; MAP=33; LAYER=TIMBER;
defined by giving a l i s t of item numbers,
INPUT uNIT=A$
o r blowing up t h e p l o t by including a
P L ~ TTAPE=B;
magnification f a c t o r . And t o i d e n t i f y t h e
RECTANGLE=1500,2000,1700,2400;

polygons t h e r e i s a choice of p l o t t i n g
MAGNIFICATION=Z; PL9T LABELS $
l a b e l s , l a b e l numbers, o r item numbers.
@umbering i s t h e same a s on t h e p r i n t o u t . ) P l o t t i n g on t h e E A l 430:
I f a Cal Comp p l o t t e r i s used, s e v e r a l
maps can be p l o t t e d i n a s i n g l e run by
The ASG card f o r t h e p l o t t a p e must
r e p e a t i n g input card Sections 2 and 3
have t h e H option and t h e r e i s a d i f f e r e n t
(below) f o r each map t o be p l o t t e d . The
program t a p e . In our example, t h e ASG
same output t a p e must be used f o r a l l of
cards f o r B and X become:
them.
@WH ASG B=8728
Input Cards:
k? ASG X=3952
1. System cards
6.2 S t o r i n g Several Maps on One Tape (FLEET)
2. Header record of t h e map t o be The purpose of FLEET i s t o copy f i l e s
p l o t t e d . The f o r e s t , map number, and l a y e r
(maps) from s e v e r a l tapes onto one tape
a r e required. Also include t h e input u n i t .
f o r more compact s t o r a g e . I t can a l s o be
used j u s t t o copy a t a p e .
3. Control c a r d s . A semicolon
s e p a r a t e s c o n t r o l c a r d s . Punch a d o l l a r
Copying i s c o n t r o l l e d by a sequence of
s i g n a t t h e end.
header records, each containing an I 0 u n i t
name, punched on i n p u t c a r d s . As with t a p e 4000.
t h e o t h e r programs, only t h e minimum iden-
t i f i c a t i o n i s r e q u i r e d on t h e header @ RUN JIM,583301,2,150
c a r d s , namely F o r e s t , Map Number, and @ CTL CLS=N
Layer. Any o t h e r information i s f o r @ ASG E=7000
c o r r e c t i o n o r expansion of t h e e x i s t i n g @ ASG F=4000
header r e c o r d on t a p e . With t a p e i n p u t , @ ASG X=3951
omission of F o r e s t , Map, and Layer i n p u t s @ N CUR
whatever f i l e i s next on t h e t a p e ; s p e c i f y - IN X
i n g F o r e s t , Map, and Layer causes a search TRI X
through t h e t a p e u n t i l t h a t f i l e i s found. @ N XQT GgSSIP
INPUT UNIT=E; FPREST=ELD~RAD~;
Example of Input Deck: MAP=51; LAYER=TIMBER $
INPUT UNIT=F $
This deck copies two f i l e s from t a p e
1000 and one f i l e from t a p e 2000, w r i t i n g 6.4 P r i n t i n g General Summary o f a Map (RUMgR)
them onto t a p e 3000.
The RUMPR program i s s i m i l a r t o GgSSIP,
@ RUN MAC,583301,3,50 but p r i n t s l e s s d e t a i l e d information about
@ CTL CLS=N t h e polygons. I t i s intended more f o r
@ ASG A=1000 t h e worker i n t h e f i e l d . In p r a c t i c a l
@ ASG B=2000 usage, such a s i n keypunching, it i s
@W ASG C=3000 i d e n t i c a l t o GOSSIP i n a l l r e s p e c t s except
@ ASG X=3950 f o r two c a r d s : t h e ASG X c a r d , which i s
@ N CUR
IN X @ ASG X=3955
TRI X
@ N XQT FLEET and t h e XQT c a r d , which i s
INPUT UNIT=A; F ~ R E S T = E L D ~ RMAP=10;
AD~;
LAYER=TIMBER$ @ N XQT RUMOR
OUTPUT UNIT=C$
INPUT UNIT=A; FgREST-ELDPRADP; MAP=11; 6.5 Housekeeping Program (SIGNAL).
LAYER=TIMBER$
~ U T P U TUNIT=C$ I f WRIS i s used f o r a l a r g e d a t a b a s e ,
INPUT UNIT=B; FOREST=ELDORADg; MAP=55; ( f o r example, 100 maps having 1000 d i s t i n c t
LAYER=TIMBER$ l a b e l s ) , keeping t r a c k of t h e maps a s they
gUTPUT UNIT=C$ a r e processed becomes i t s e l f a c o n s i d e r a b l e
d a t a handling problem. A record must be
6.3 P r i n t i n g Diagnostic Summary of a Map kept of what s t a g e of processing each map
(GgSSIP) i s i n , what t a p e it i s on, and so f o r t h .
Each o f t h e thousands of polygons has a
GgSSIP p r i n t s a d e t a i l e d summary of l a b e l , and it must be checked a g a i n s t a
a l l polygons on a map so t h a t e d i t i n g can master l i s t of v a l i d l a b e l s .
be done and e r r o r s d e t e c t e d . The map t o
be p r i n t e d and t h e u n i t it i s on a r e SIGNAL i s designed t o a s s i s t i n t h e s e
i d e n t i f i e d by a header r e c o r d punched on housekeeping chores. I t enables t h e u s e r t o
c a r d s . Any number of maps can be p r i n t e d e s t a b l i s h and maintain a f i l e of information
by punching a s e r i e s of header r e c o r d s . about h i s maps on a drum o r d i s k u n i t . A
" f i l e " c o n s i s t s of a c o l l e c t i o n of "records,"
When i n p u t i s from t a p e some s h o r t - and each record c o n t a i n s a "keyw by which
it i s i d e n t i f i e d . Two d i f f e r e n t kinds of
c u t s a r e p o s s i b l e . A s with t h e o t h e r
f i l e s a r e p o s s i b l e , a "catalogue f i l e v
programs, t h e f i l e s p e c i f i e d on c a r d s i s
searched f o r on t h e t a p e . Therefore, any o r a "master l a b e l f i l e . " In a catalogue
i n t e r v e n i n g unwanted f i l e s can be d i s - f i l e t h e r e i s one record f o r each map,
regarded. But i f more than one f i l e i s c o n s i s t i n g of a p o r t i o n of i t s header r e c o r d
wanted from a t a p e each must be processed p l u s a few o t h e r p i e c e s o f information.
i n o r d e r because a t a p e i s n o t backed up. A l l e n t r i e s i n a catalogue f i l e p e r t a i n t o
Another s h o r t c u t allows p r i n t i n g all f i l e s one f o r e s t . In a master l a b e l f i l e t h e r e
on a t a p e by punching j u s t "INPUT UNIT = i s one record f o r each l a y e r i n a f o r e s t , and
s e v e r a l f o r e s t s may be intermingled i n one
something $ ."
f i l e , i f desired.
Example. This job p r i n t s out one Catalogue f i l e : The permissable items
f i l e from t a p e 7000 and a l l f i l e s on i n a record a r e : MAP, LAYER, L ~ C A T I ~DA
, TE
OF ORIGIN, GEOGRAPHIC C0NTR0L POINTS, START FILE. ( f i l e name)
MAP CONTROL POINTS, PROJECTION, ZONE, FILE. ( f i l e name)
ENVELOPE, P~LYG~N REEL, BACKUP REEL, GRID
REEL. Most of t h e s e can be copied d i r e c t l y Use one of t h e s e c a r d s t o name t h e
from a header r e c o r d p r i n t o u t , u s i n g t h e f i l e t h a t subsequent c o n t r o l c a r d s w i l l
same format. A s f o r t h e o t h e r s , an example o p e r a t e on. This f i l e name remains i n
is t h e best description: e f f e c t u n t i l a n o t h e r START FILE o r FILE
c a r d i s encountered. The f i l e name
DATE Q ~ FORIGIN = 06 JAN 74; must be a l r e a d y known t o t h e o p e r a t i n g
PROJECTION = STATE PLANE; system. FILE assumes t h a t a previous
ZdNE = 13; POLYGON REEL = 9117,4; SIGNAL run h a s s t o r e d something i n t o t h e
BACKUP REEL = 5093,9; GRID REEL=7195,2$ f i l e and t h a t you a r e now updating it.
But t h e f i r s t time, use START FILE t o
I n t h e l a s t t h r e e i t e m s , you have t h e t a p e i n i t i a l i z e . The START FILE c a r d r e q u i r e s
r e e l number followed by t h e p o s i t i o n on t h e an a d d i t i o n a l c o n t r o l c a r d c o n t a i n i n g
r e e l (assuming more t h a n onemap p e r r e e l ) . two items. For a c a t a l o g u e f i l e :
The r e t r i e v a l key f o r a r e c o r d i n t h i s kind
o f f i l e i s t h e map number. For keypunching ID = f o r e s t ; TYPE = CATALYGUE$
r u l e s f o r header r e c o r d s , s e e S e c t i o n 7 . 3 . 2 .
For a master l a b e l f i l e :
Master l a b e l f i l e : A r e c o r d i s a
l i s t of a l l p e r m i s s i b l e l a b e l s f o r one ID = anything; TYPE = MASTER LABEL
f o r e s t / l a y e r combination. The key i s a FILE$
s t r i n g o f c h a r a c t e r s composed o f t h e f o r e s t
name, a s l a s h , and t h e l a y e r name. Do On l a t e r r u n s , when t h e FILE c a r d i s used,
n o t have b l a n k s b e f o r e o r a f t e r t h e s l a s h . t h e above c o n t r o l c a r d i s not used
When e n t e r i n g a l i s t o f l a b e l s , punch them because t h e information i s i n t h e f i l e .
on c a r d s i n t h e s t a n d a r d format f o r a
l a b e l l i s t (See S e c t i o n 4.2) CHECKPOINT 0UT. ( t a p e name)

Using SIGNAL: Acquire a Fastrand f i l e Saves t h e f i l e on t a p e . A t a l a t e r


u s i n g any name you want. Also choose a f i l e d a t e you can r e s t o r e it by a CHECKPOINT
i d e n t i f i c a t i o n , such a s t h e f o r e s t name f o r I N . This f e a t u r e i s designed f o r f i l e
a c a t a l o g u e f i l e . Twenty f o u r c h a r a c t e r s s e c u r i t y o r f o r simply s a v i n g r e n t a l
a r e t h e maximum. Operate on a f i l e by a on f i l e s . The t a p e name i s t h e same a s
s e r i e s o f SIGNAL c o n t r o l c a r d s . The f i r s t on t h e ASG c a r d .
c a r d i d e n t i f i e s a f i l e by g i v i n g i t s Fas-
t r a n d name. A l l f u r t h e r c a r d s o p e r a t e on CHECKPOINT IN. ( t a p e name)
t h i s f i l e u n t i l a n o t h e r such s e r i e s i s
s t a r t e d , i f any. Some c o n t r o l c a r d s a l s o This i s t h e r e v e r s e o f CHECKPOINT
r e f e r t o a t a p e , u s i n g i t s e x t e r n a l name OUT. Precede t h i s card by a START FILE
(A,B,C,etc.) a s given on t h e ASG c a r d . card.
Some o t h e r c o n t r o l c a r d s r e q u i r e a key, which
i s t h e map number, i n t h e c a s e o f a c a t a l o g u e PRINT FILE.
f i l e o r the forest/layer, i f it is a'master
label f i l e . In a l l cases, t h i s variable Prints t h e f i l e contents i n f u l l ,
p o r t i o n o f a c o n t r o l c a r d ( f i l e name, t a p e i n c l u d i n g t h e index.
name, o r key) i s e n c l o s e d i n p a r e n t h e s e s .
I n some c a s e s , though, t h i s i s a b s e n t and PACK FILE
a l l you have i s t h e c o n t r o l word i t s e l f ,
which i s always ended with a p e r i o d . Thus When t h e DELETE ITEM c o n t r o l c a r d i s
a c o n t r o l c a r d c o n s i s t s o f a c o n t r o l word used a "gap" i s c r e a t e d i n t h e f i l e . I f
o r p h r a s e s p e c i f y i n g an a c t i o n t o be done a number o f such gaps a r e p r e s e n t i n a
on t h e c u r r e n t f i l e , and u s u a l l y t h e name o f f i l e it may be economical t o squeeze them
a f i l e , t a p e , o r key. For most c o n t r o l o u t with a PACK FILE c a r d . However,
c a r d s , t h i s i s enough. But f o r a few, some a f i l e i s a u t o m a t i c a l l y packed whenever
d a t a o r f u r t h e r c o n t r o l information must i t i s copied onto any o t h e r medium ( i . . e . ,
follow. with CHECKPOINT OUT o r COPY FILE).

Control Cards: Here i s a l i s t o f a l l CgPY FILE. ( f i l e name)


p o s s i b l e c o n t r o l c a r d s and an e x p l a n a t i o n
o f what t h e y do. Lower case i n d i c a t e s a This produces a copy o f t h e f i l e which
symbol generated by t h e u s e r . i s c u r r e n t ( t h e one named on t h e most r e c e n t
FILE o r START FILE c a r d i n t h e r u n ) by l a b e l s , s t o r e s a l a b e l l i s t i n it, s o r t s
w r i t i n g it o n t o a n o t h e r f i l e , t h e one i t , and p r i n t s it.
given by " f i l e name" on t h e c o n t r o l c a r d .
@ RUN FRED,583301,1,20
DELETE ITEM. ( k e y ) . @ CTL CLS=N
@ ASG X=5103
D e l e t e s an i t e m from t h e f i l e , t h e @ N CUR
i t e m h a v i n g t h e key g i v e n . IN X
TRI X
ADD ITEM. ( k e y ) . @ N XQT FMAPS
AQR BIG/F@JT,l
T h i s adds an e n t i r e l y new i t e m t o t h e @ N XQT SIGNAL
f i l e o r augments an e x i s t i n g i t e m , depend- START FILE. (BIG/FO@T)
i n g on whether t h e given key e x i s t s i n t h e ID=SIERRA; TYPE=MASTER LABEL FILE $
f i l e . The new m a t e r i a l must immediately ADD ITEM. (SIERRAITIMBER)
f o l l o w t h e ADD ITEM c a r d . When a c a t a - PP,D,WF,W,SP$
logue f i l e i t e m i s augmented, t h e new SgRT ITEM. (SIERRAITIMBER)
m a t e r i a l i s f a v o r e d whenever t h e r e a r e PRINT ITEM. (SIERRAITIMBER)
c o n f l i c t s . When a m a s t e r l a b e l f i l e i s
augmented, new l a b e l s i n t h e punched l i s t 7. PROGRAM NOTES
a r e added t o t h e f i l e and d u p l i c a t e s
a r e ignored. Miscellaneous information t h a t a p p l i e s
t o more t h a n one o f t h e programs i s l o c a t e d
PRINT ITEM. (key) i n t h i s section.

P r i n t s t h e given item i n f u l l . 7.1 Computer System

PUNCH ITEM. (key) The computer we u s e i s a Univac 1108


computer (Exec 2 o p e r a t i n g system). The
Punches t h e g i v e n i t e m . s c a n n e r i s a PDS m i c r o d e n s i t o m e t e r , and
t h e p l o t t e r can be e i t h e r a Cal Comp 1136
CHECK LABELS. (key) o r an E A I 430. The programs a r e w r i t t e n
i n F o r t r a n and a r e v e r y c l o s e t o t h e ANSI
Used t o check a g i v e n l i s t o f l a b e l s standard.
a g a i n s t a m a s t e r l i s t ( w i t h t h e key g i v e n )
t h a t i s i n t h e f i l e . The l i s t t o b e 7.2 F i l e s
checked must immediately f o l l o w t h e CHECK
LABELS c a r d . And it must, a s u s u a l , end The d a t a p r o c e s s e d by t h e WRIS programs
w i t h a d o l l a r s i g n . Any l a b e l i n t h i s l i s t i s k e p t permanently on magnetic t a p e s o r on
t h a t does n o t match a l a b e l i n t h e f i l e i s F a s t r a n d drums. These two media a r e i n t e r -
f l a g g e d i n t h e p r i n t o u t , on t h e assumption changeable t o t h e programs. For s i m p l i c i t y
t h a t it i s e r r o n e o u s . No change i s made and t o c o r r e s p o n d t o p r e s e n t p r a c t i c e , we
i n the f i l e . u s u a l l y r e f e r t o a f i l e a s b e i n g on t a p e .
A "file" i n t h i s context i s e s s e n t i a l l y
DELETE LABELS. (key) one map. However, s e v e r a l f i l e s can b e
s t o r e d on one t a p e , b u t o n l y one on F a s t r a n d .
With t h i s c o n t r o l c a r d you can d e l e t e
any o f t h e l a b e l s i n a m a s t e r l a b e l l i s t The t a u e o r F a s t r a n d U n i t o n t o which a
( t h e g i v e n key t e l l s which l i s t ) . Punch f i l e i s t o be w r i t t e n h a s a name. I t i s
t h e l a b e l s t o be d e l e t e d i n l a b e l l i s t a l e t t e r (A, B , C , . . . ) f o r t a p e s and two
format and p u t them a f t e r t h e DELETE LABELS 1-6 c h a r a c t e r names s e p a r a t e d by a s l a s h
card. f o r F a s t r a n d . Each program r e q u i r e s t h i s
u n i t name t o be punched on c a r d s , u s u a l l y
S ~ R TLABELS. (key) i n c l u d e d i n t h e h e a d e r r e c o r d . Sometimes
you may want t o s p e c i f y no u n i t , p e r h a p s
S o r t s a m a s t e r l a b e l l i s t ( d e n o t e d by t o i n d i c a t e t h a t no o u t p u t f i l e i s t o b e
key) i n t o a l p h a b e t i c a l o r d e r and w r i t e s it w r i t t e n . I n t h i s c a s e use t h e word "NONE"
back i n t o t h e f i l e , r e p l a c i n g t h e o l d a s u n i t name. Some examples s h o u l d i l l u s -
list. t r a t e t h e s e r u l e s . "INPUT UNIT=AII i n c l u d e d
i n t h e h e a d e r r e c o r d s p e c i f y i n g an i n p u t
Deck s e t u p f i l e s a y s it i s on t h e t a p e u n i t a s s i g n e d
t o "A" on t h e ASK c a r d . I f it were an
T h i s job e s t a b l i s h e s a f i l e f o r m a s t e r o u t p u t f i l e you would punch "0UTPUT UNIT=A."
O r , "OUTPUT UNIT=N@NE7'i s p o s s i b l e . s p e l l i n g recognized by WRIS (and only one
blank between words p l e a s e ) .
F i l e s have a MODE a t t r i b u t e appearing
i n header r e c o r d s . I t i s a u t o m a t i c a l l y FOREST: The name o f t h e f o r e s t . ( c h a r a c t e r s )
g e n e r a t e d by t h e computer. MODE=1 i n d i c a t e s
a map i n scanner ( g r i d ) form. MODE=? MAP: Map number. ( i n t e g e r )
i n d i c a t e s a map c o n s i s t i n g o f a c o l l e c t i o n
o f non-overlapping polygons. LAYER: Layer name. ( c h a r a c t e r s )

7.3 Card Formats LflCATIflN: Location. ( c h a r a c t e r s )

C e r t a i n forms r e c u r i n t h e card i n p u t SCALE: Representative f r a c t i o n denominator,


t o t h e v a r i o u s WRIS programs. Header r e c o r d s defined a s t h e number o f i n c h e s
and polygon l a b e l s a r e examples p r e v i o u s l y on t h e ground r e p r e s e n t e d by one
d e s c r i b e d . Others a r e d e s c r i b e d i n t h e inch on t h e map. A 4-inch-per-mile
f o l l o w i n g s e c t i o n s . Card i n p u t t o a program map h a s , f o r example, a r e p r e s e n -
i s o f two k i n d s : system c a r d s and program t a t i v e f r a c t i o n o f 1/15840. ( i n t e g e r )
input cards.
GEOGRAPHIC C^SNTR^SLP ~ I N T S : L a t i t u d e and
7.3.1 System Cards l o n g i t u d e o f each c o n t r o l p o i n t ,
l a t i t u d e preceding l o n g i t u d e f o r
Rules f o r t h e s e c a r d s a r e determined each p o i n t . Use d e g r e e s , minutes
by t h e computer i n s t a l l a t i o n and a r e t h u s and seconds, s e p a r a t e d by c o l o n s .
o u t o f t h e programmer's c o n t r o l . These few Do n o t omit z e r o e s . I n t h e seconds
c a r d s a r e a t t h e beginning o f a job deck. p o s i t i o n , you can r e c o r d t o t h e
On t h e Univac 1108, Exec 2, an "an c h a r a c t e r n e a r e s t hundredth second u s i n g a
i n column 1 i d e n t i f i e s most of them. They decimal p o i n t . An accuracy o f a t
c o n s i s t o f a l l c a r d s up t o and i n c l u d i n g l e a s t 0.5 second i s e s s e n t i a l . The
t h e c a r d with "XQT" on i t . maximum meaningful accuracy i s
0.01 second.
In each program w r i t e u p , an example
shows what should be punched. Observe t h e MAP CgNTRgL POINTS: x and y c o o r d i n a t e s
placement o f spaces c a r e f u l l y . Most of o f t h e c o n t r o l p o i n t s , i n u n i t s of
t h e c a r d s a r e t h e same f o r each run. Mainly 0.01 i n c h on t h e map. ( i n t e g e r s )
what v a r i e s a r e ( a ) t h e time and page
e s t i m a t e s on t h e RUN c a r d , and (b) t h e GRID CONTROL POINTS: Row and column
u n i t assignments and t a p e r e e l numbers on coordinates of the control points.
t h e ASG c a r d s , o t h e r t h a n t h e one naming (integers)
t h e program f i l e .
SCAN ROWS: Number o f rows scanned. ( i n t e g e r )
7.3.2 Header Records
SCAN C0LUMNS: Number o f columns scanned.
Items: A header r e c o r d i s a small (integer)
c o l l e c t i o n o f information about one map
f i l e . This information p e r t a i n s t o t h e MODE: I n d i c a t e s a scan g r i d (MODE=l)
e n t i r e map, r a t h e r than t o s p e c i f i c polygons. o r a polygon map (MODE=2). ( i n t e g e r )
P a r t o f it i d e n t i f i e s t h e map. Most programs
i n WRIS r e q u i r e t h e s e i d e n t i f i e r s i n o r d e r ENVELOPE : Overall envelope o f a l l polygons
t o use an e x i s t i n g f i l e . The o t h e r s a r e on t h e map, i . e . , t h e s m a l l e s t x,
g e n e r a t e d and maintained i n t e r n a l l y . Each s m a l l e s t y, l a r g e s t x, and l a r g e s t y .
time a f i l e i s processed, i t s c u r r e n t header Same u n i t s a s map c o n t r o l p o i n t s .
r e c o r d i s p r i n t e d i n f u l l . The u s e r can (integers).
o v e r r i d e an i n t e r n a l l y generated v a l u e , b u t
n o t t h e t h r e e b a s i c identifiers--FOREST, MAP, DATE WRITTEN: The d a t e t h e f i l e was w r i t t e n .
LAYER. To o v e r r i d e one o f t h e o t h e r s , punch (characters)
t h e d e s i r e d value along with t h e r e q u i r e d
i d e n t i f i e r s . The header r e c o r d i s s t o r e d TIME WRITTEN: The time t h e f i l e was w r i t t e n .
on t a p e along with t h e f i l e a t a l l times. (characters)

Here i s a complete l i s t o f p o s s i b l e REEL NUMBER: T e l l s which t a p e r e e l t h e f i l e


items i n a header r e c o r d . C a p i t a l l e t t e r s i s on. ( c h a r a c t e r s )
g i v e t h e " o f f i c i a l " names, i n t h e only
P~SITIONON REEL: I n d i c a t e s one o f perhaps
s e v e r a l f i l e s on t h e r e e l . ( i n t e g e r )
C o n t r o l p o i n t s : Township c o r n e r s 7.3.3 Integer Lists
a r e usually selected a s control points,
a l t h o u g h any o t h e r s h a r p l y d e f i n e d l o c a t i o n s Many programs w i l l r e q u i r e a l i s t
w i l l do. These a r e r e c o r d e d i n a clock- o f i n t e g e r s (whole numbers without decimal
wise manner s t a r t i n g i n t h e lower l e f t p o i n t s ) a s i n p u t from c a r d s a t some p o i n t ,
c o r n e r . Four c o m e r s a r e t h e most d e s i r a b l e and some header r e c o r d items a r e i n t h i s
b u t t h r e e ( o r even two) may be s u f f i c i e n t . form. Rather t h a n r e q u i r e a f i x e d f i e l d
The c o r n e r must be a r e c o g n i z a b l e p o i n t on s i z e and c a r d l o c a t i o n f o r each number, we
o r w i t h i n t h e map boundary, n o t some use a f r e e format. The i n t e g e r s a r e
a r b i t r a r y p o i n t on t h e map s h e e t . Control punched i n a s many columns a s a r e needed.
p o i n t s must be i d e n t i c a l f o r a l l l a y e r s of a Successive i n t e g e r s a r e s e p a r a t e d by
township a s w e l l f o r a l l systems o f measure- commas. The l i s t i s t e r m i n a t e d by e i t h e r a
ment; i n o t h e r words, t h e y r e p r e s e n t t h e semi-colon o r a d o l l a r s i g n , depending on
same ground l o c a t i o n s on a l l l a y e r s , and c o n t e x t . When you r e a c h column 80,
a r e r e c o r d e d i n t h e same o r d e r . c o n t i n u e on t o t h e n e x t c a r d a s i f it were
one long c a r d . Blanks (skipped columns)
Format o f a h e a d e r r e c o r d : A f r e e - f i e l d can be i n s e r t e d anywhere except between
format i s used. Items do n o t have t o appear t h e d i g i t s o f a number.
i n s p e c i f i e d c a r d columns. The computer
knows what each i t e m i s because it i s Three a b b r e v i a t i o n s a r e p o s s i b l e : (a)
l a b e l e d ; f o r example, 11MAP=51ttmeans 51 i s A sequence o f i n c r e a s i n g o r d e c r e a s i n g
t h e map number. The e q u a l s s i g n a t t a c h e s numbers such a s "6, 7, 8 , 9" can be s h o r -
t h e name "MAP" t o t h e v a l u e 51. The computer t e n e d t o "6A9". (b) A r e p e t i t i o n o f t h e
program h a s a l i s t o f t h e s e names; t h e r e - same number, such a s "4,4,4,4,4" can be
f o r e , names must be s p e l l e d c o r r e c t l y . a b b r e v i a t e d "5 (4) ". A combination i s
Sometimes a name r e q u i r e s more t h a n one p o s s i b l e , such a s "2(5,7A9)", which i s
number a s i t s v a l u e . Punch commas between t h e same a s "5,7,8,9,5,7,8,9". In o t h e r
t h e numbers t o s e p a r a t e them. Sometimes a words, whatever i s i n s i d e t h e p a r e n t h e s e s
v a l u e i s n o t a number b u t a s t r i n g of i s r e p e a t e d a s many t i m e s a s t h e number
c h a r a c t e r s . I n "F0REST=ELD0RAD0" t h e i n f r o n t i n d i c a t e s . (c) For e a s e i n
v a l u e i s "ELD0RAD0 . I 1 r e c o r d i n g sequences of c o o r d i n a t e p a i r s , we
a l l o w t h e s p e c i a l forms [x.aAb] and [ a ~ b , y ] .
Thus. we have t h e b a s i c b u i l d i n g The l e t t e r s s t a n d f o r i n t e g e r s . For example,
b l o c k of a h e a d e r r e c o r d , namely an [31,617A653IT1 i s t h e same a s "31,617,31,618,
o f t h e form name=value, where t h e name on .
.. ,31,653".
t h e l e f t i s from a s t a n d a r d l i s t o f names
and t h e v a l u e on t h e r i g h t can be a number, 7 . 3 . 4 Comments
s e v e r a l numbers s e p a r a t e d by commas, o r
a s t r i n g of characters. It is a l l r i g h t t o Comments can be i n c l u d e d anywhere i n t h e
p u t i n e x t r a s p a c e s (blank columns) j u s t program i n p u t c a r d s by e n c l o s i n g t h e comment
s o t h e y a r e n ' t i n t h e middle o f a number m a t e r i a l i n quote marks. A comment i s a n o t e
o r word. Thus, "MAP = 51" and "MAP=51tt t o y o u r s e l f t h a t you do n o t want t h e computer
a r e b o t h p e r m i s s i b l e . But b l a n k s i n a t o r e a d . Whenever t h e computer comes t o a q u o t e
s t r i n g value s i g n i f i c a n t . l'ELDORADOqt mark i n t h e i n p u t s t r e a m , it s c a n s forward
i s n o t t h e same a s "EL DORADO." I n key u n t i l t h e matching quote mark i s found and
punching, when you r e a c h column 80, resumes p r o c e s s i n g a t t h a t p o i n t .
c o n t i n u e d i r e c t l y t o column 1 o f t h e n e x t
c a r d , a s i f you had one long continuous 7.4 Printout
card. Some items show up on n e a r l y e v e r y
p r i n t o u t and may need some e x p l a n a t i o n .
To form a complete h e a d e r r e c o r d , F i r s t , e v e r y c a r d i n t h e i n p u t deck i s
punch one i t e m a f t e r a n o t h e r , s e p a r a t e d p r i n t e d . Those a f t e r t h e XQT c a r d a r e
by semicolons, and punch a d o l l a r s i g n a t l a b e l l e d "INPUT CARD:" T h i s h e l p s you
t h e end t o s i g n a l t h e end o f t h e h e a d e r check your work i n c a s e an e r r o r develops.
r e c o r d . Again, b l a n k s may be f r e e l y Every page p r i n t e d by t h e program i t s e l f
i n s e r t e d b e f o r e and a f t e r t h e s e p u n c t u a t i o n ( i . e . , a f t e r XQT) i s headed by t h e program
c h a r a c t e r s . Here i s an example o f a complete name, t h e d a t e , and a page number. The
header record: d a t e and time o f day i s p r i n t e d a t
beginning and end o f t h e program p r i n t o u t .
F@REST=ELD@RAD@;MAP=51; The message "END OF R U N W i s p r i n t e d
L@CATI@N=T14NRISE; LAYER=TIMBER$ a t t h e end. Most o f t h e i n p u t i n f o r m a t i o n
i s p r i n t e d back a t you i n a somewhat l a b e l f o l l o w s , i n s e r t a comma. I f
d i f f e r e n t form t h a n what was punched n o t , use a d o l l a r s i g n t o s i g n a l
on t h e c a r d s , showing you what t h e t h e end o f t h e l i s t o f l a b e l s .
computer t h i n k s it i s . T h i s h e l p s you
s p o t e r r o r s . Whenever t h e r e i s an Keypunch
o u t p u t f i l e , t h e message "OUTPUT FILE Symbol Function
WRITTEN" w i l l be p r i n t e d a f t e r t h e
w r i t i n g i s complete. You need t h i s Replaces t h e " f r a c t i o n
message t o be s u r e t h e f i l e can be bar"
read a s i n p u t i n a f u t u r e run. Precedes lower case
letters
8. APPENDIXES Separates species
Replaces 5 . The
A--Rules f o r T r a n s c r i b i n g F o r e s t numeral i s t h e number
Type D e s c r i p t i o n s t o Computer- o f dashes.
r e a d a b l e Format Replaces colon ( : )
Replaces U - B r
Reference: Region 5 , U.S. F o r e s t Replaces W (water)
S e r v i c e , S e c t i o n 2441 Replaces B r (brush)
(2441.1 - 2441.5) I n d i c a t e s N@ LABEL
F o r e s t Types and Experimental F o r e s t
C l a s s i f i c a t i o n System P r i v a t e land i n s i d e N.F.
Any land ownership
Encoding Rules: o u t s i d e N.F.
RL Reserved land (wilderness)
1. Species symbols ( c a p i t a l l e t t e r s ) Examples :
a r e copied unchanged. Species
symbols which a r e lower case Map Symbol Characters recorded on
l e t t e r s a r e discussed l a t e r , i n d a t a form f o r keypunching
item 4.
SPwfrf5= SP*WF-RF5 (2) / W F * R F
(3)
~
2. u , s , and o become c a p i t a l s ; WFrf 3~
i . e . , U , S, and 8.
SPwfrf5 ( s ) SP*WF-RF5 (S) /WF*RF3 (0)
3. Numerals do n o t change. WFrf 3 (0)

4. The a s t e r i s k (*) marks t h e PL:Pl (u) PL+P1(U)


beginning o f lower c a s e s p e c i e s
l e t t e r s . I f t h e r e i s no lower
c a s e t h e n t h e r e i s no a s t e r i s k .

5. The dash (-) s e p a r a t e s two


s p e c i e s . I t i s n o t needed
between a s p e c i e s i n upper case
and one i n lower c a s e because t h e
a s t e r i s k s e r v e s t h e same purpose
i n t h i s instance.

6. (1) r e p l a c e s - , (2) r e p l a c e s = ,
(3) r e p l a c e s ,
7. Each l a b e l i s followed by i t s x
and y c o o r d i n a t e s ( i n hundredths
o f an i n c h , a s i n t e g e r s ) by u s i n g
one o r more blanks a s s e p a r a t o r s
between them. Then, i f a n o t h e r
B--Major F o r e s t Type Assignments

MAJOR
FOREST
TYPE VEGETATIVE TYPE
------ ---------------
A A
MAJOR
FOREST
TYPE VEGETATIVE TYPE

D.5A

D.58

D.6

KP.6

MC. 1
MAJOR
FOREST
TYPE
------
MC. 5 B

P. 4B

P.5A

P.56

PP. 1

PP.2

PP. 3A
MAJOR
FOREST
TYPE
------

RF. 2

RF. 3 A

RF. 3 B

RF. 4A

RF . 4 B
MAJOR
FOREST
TYPE

RF. 5B

RF.6

SA. 1

SA. 2

SA. 3 A

SA. 3 B

SA.4B

SA. 5 A

SA. 5 B

SA. 6
C--Scanning Map N e g a t i v e s on t h e PDS-1010 i n t h e x - p o s i t i o n d i s p l a y . Scan t h e n o r t h
Microdensitometer edge t o f i n d zero-y, keeping t h e map edge
above t h e c r o s s h a i r s i n t h e viewing s c r e e n .
Turn on t h e s c a n n e r power, lamp, P r e s s t h e "Enter y" button s o zeroes show
v o l t a g e , x-motor, and y-motor. Make s u r e i n t h e y - p o s i t i o n d i s p l a y . To minimize
t h e Manual Automatic s w i t c h i s i n t h e t h e scan a r e a (thus scan time and p r o c e s s i n g
Manual mode b e f o r e t u r n i n g on t h e d a t a t i m e a l s o ) , t h e s t a g e may be r o t a t e d by
a c q u i s i t i o n s y s t e m (DAS) power and t h e n hand t o l i n e up t h e map edges with t h e x
t h e t a p e u n i t power. Allow a 30-minute and y zero-axes. Scan t h e e a s t edge t o
warm-up p e r i o d . During t h i s w a i t c l e a n f i n d t h e maximum x value i n pm, keeping
t h e s c a n n e r and t a p e u n i t . map edge t o t h e r i g h t of t h e c r o s s h a i r s .
E n t e r t h e maximum x value i n t h e "Final
P o s i t i o n t h e s c a n n e r upper and lower x" thumbwheel switches. I f t h i s number
o p t i c s t o t h e a p e r t u r e ( s l i t ) and magnifica- i s n o t a m u l t i p l e of t h e pmlreading f o r
t i o n s e l e c t e d f o r t h e m a t e r i a l t o be x , each scan l i n e w i l l be ended a t t h e
s c a n n e d . Turn s c a n n e r x and y s t e p p i n g n e x t such m u l t i p l e . Scan t h e s o u t h edge
motors t o p r o p e r gearbox p o s i t i o n s f o r t o f i n d t h e maximum y value. Divide t h i s
d e s i r e d pm/step. (Do n o t use 2 . 4 ) . v a l u e by t h e pm/reading f o r y. I f t h e
number d i v i d e s evenly, add one t o t h e
S e t t h e thumbwheel s w i t c h e s f o r t h e q u o t i e n t . Otherwise, add two t o t h e
DAS program l o c a t i o n a t 400 and t h e r e c o r d q u o t i e n t . Enter t h e r e s u l t i n g v a l u e i n
l e n g t h a t 999. The x-, y-, and manual-data- t h e "Number of Scans" thumbwheel s w i t c h e s .
i n c l u d e s w i t c h e s must be o f f . S e t t h e x and
y um/step thumbwheel s w i t c h e s t o same Drive t h e s t a g e back t o t h e o r i g i n
v a l u e s a s t h e s t e p p i n g motor g e a r b o x e s . (NW c o r n e r of map). Press t h e DAS Reset
S e t t h e x and y s t e p s / r e a d i n g t o o b t a i n b u t t o n , l o c a t e d below t h e "Final x"
t h e s e l e c t e d s p a c i n g of d e n s i t y r e a d i n g s . s w i t c h e s s o t h e value of t h e f u n c t i o n c o u n t e r
P r e s e t / R e s e t t o g g l e s w i t c h e s must be a t shows zero. This w i l l a l s o i n i t i a l i z e t h e
R e s e t (down) f o r b o t h x and y . S e t s t a g e d a t a a c q u i s i t i o n system. The Program
t r a v e l d i r e c t i o n s , using right-arrow f o r Address l i g h t s must show 4008 and t h e Con-
x and up jrrow f o r y. S e t t h e 1 2 t h ( r i g h t t e n t s l i g h t s must show 2400. Turn t h e
hand) thumbwheel manual d a t a s w i t c h t o C l e a r / P r e s l i t knob t o P r e s l i t . S e l e c t
one, t o c o r r e s p o n d w i t h t h e y s t a g e Auto on t h e Manual/Auto b u t t o n . P r e s s
d i r e c t i o n . The f i r s t t e n manual d a t a t h e Program I n i t i a t e b u t t o n t o s t a r t
s w i t c h e s c o n t a i n t h e map number, r i g h t - scanner.
j u s t i f i e d . The 1 1 t h manual d a t a s w i t c h
i s n o t used f o r t h e hlRIS programs and i s When scan i s f i n i s h e d , f i r s t s e l e c t
b e s t l e f t a t z e r o . The t a p e d i s a b l e Manual on t h e ManualIAuto b u t t o n and C l e a r
switch should be o f f unless a t e s t i s t o on t h e C l e a r / P r e s l i t knob. Check f o r
be made w i t h o u t r e c o r d i n g . r e a s o n a b l e p o s i t i o n of NW map c o r n e r i n
r e l a t i o n t o c r o s s h a i r s on viewer. Check
When u n i t s have warmed up, mount and f o r z e r o v a l u e s i n p r e s e n t x and y p o s i t i o n
l o a d a t a p e . With t h e C l e a r / P r e s l i t knob d i s p l a y s and f o r t h e c o r r e c t number o f
on C l e a r s o t h a t t h e e n t i r e viewing s c r e e n scans i n the function counter display.
i s i l l u m i n a t e d , f o c u s t h e u p p e r o p t i c s on I f t h i s was t h e l a s t scan f o r t h i s t a p e ,
an empty s t a g e . Then t u r n t h e knob add two manual f i l e marks b e f o r e rewinding.
( c o u n t e r - c l o c k w i s e always) t o P r e s l i t and Otherwise, do n o t add any f i l e marks.
f o c u s t h e lower o p t i c s , making s u r e t h e Change t h e n e g a t i v e and proceed w i t h t h e
crosshairs are centered i n t h e illuminated n e x t scan job.
c i r c l e . C a l i b r a t e t h e d e n s i t o m e t e r on
P r e s l i t a s d i r e c t e d on p a g e s 68-70 o f
t h e PDS M i c r o d e n s i t o m e t e r T e c h n i c a l Manual.

P l a c e t h e n e g a t i v e on t h e c l e a n
s t a g e , w i t h t h e n o r t h edge away from t h e
o p e r a t o r and west edge toward h i s r i g h t .
Tape f i l m a t c o r n e r s , making s u r e it i s
f l a t and t i g h t . Refocus u p p e r and lower
o p t i c s on a l i n e i n t h e a r e a t o b e s c a n n e d .
Scan t h e west edge t o f i n d z e r o - x , k e e p i n g
t h e map edge t o t h e l e f t o f t h e c r o s s -
h a i r s i n t h e viewing screen. Press t h e
" E n t e r x" b u t t o n s o t h a t z e r o e s show

You might also like