The contour vector coverage

I already had a coverage with the contour lines in it (as seen in the last section) so I started with this to create my contour line vector coverage. I entered ARCEDIT and edited the coverage contpoly. The first thing I did was remove all the labels. To do this I used the following commands.
Arcedit : editcoverage contlines
Arcedit : editfeature labels
Arcedit : select box *

I then used the cursor to draw out a box covering the whole area (selecting all the labels ). I then used the delete command to remove them. Next I removed the arcs that provided the boundary of the area. These arcs were necessary to provide polygon closure in the last case but are not actually contour lines. Now that I had the contour arcs only , I saved and quit from arcedit. I then built an arc attribute table for the coverage using the build command.

Arc: build contlines line

Note the use of the line option this time. This option results in ARC-INFO creating arc attribute table (.AAT) and not a polygon attribute table (.PAT). I then went into INFO.

Arc: info
 INFO  EXCHANGE  CALL
12/07/1994  10:39:01
 INFO  9.42  11/11/86  52.74.63*
 COPYRIGHT 1986 HENCO SOFTWARE, INC.
 PROPRIETARY TO HENCO SOFTWARE, INC.
 US GOVT AGENCIES SEE USAGE RESTRICTIONS IN HELP FILES (HELP RESTRICTIONS)
 ENTER USER NAME>arc
 
 ENTER COMMAND >     

I selected the contlines table and looked at the items.

ENTER COMMAND >SELECT CONTLINE.AAT
      19 RECORD(S) SELECTED
 
 ENTER COMMAND >ITEMS
 DATAFILE NAME: CONTLINE.AAT                                        07/12/1994
    7 ITEMS: STARTING IN POSITION    1
 COL  ITEM NAME         WDTH OPUT TYP N.DEC  ALTERNATE NAME
    1  FNODE#              4    5  B    -
    5  TNODE#              4    5  B    -
    9  LPOLY#              4    5  B    -
   13  RPOLY#              4    5  B    -
   17  LENGTH              4   12  F    3
   21  CONTLINE#           4    5  B    -
   25  CONTLINE-ID         4    5  B    -

As in the last section, I created a data file to hold the heights so I could merge it with contlines.AAT.

ENTER COMMAND >DEFINE SPOT.DAT 
 ITEM NAME,WIDTH [,OUTPUT WIDTH] ,TYPE [,DECIMAL PLACES] [,PROT.LEVEL]
    1
 ITEM NAME>CONTLINE-ID
 ITEM WIDTH>4
 ITEM OUTPUT WIDTH>5
 ITEM TYPE>B
    5
 ITEM NAME>SPOT
 ITEM WIDTH>4
 ITEM OUTPUT WIDTH>4
 ITEM TYPE>I
    9
 ITEM NAME>
 ENTER COMMAND >Q STOP

Arc: joinitem
Usage: JOINITEM    
                 {LINEAR | ORDERED | LINK}

Arc:  joinitem contline.aat spot.dat contline.aat contline-id contline-id
Joining contline.aat and spot.dat to create contline.aat
** Item "CONTLINE-ID" duplicated, Join File version dropped **
 
Arc: 

I then checked that the new item had been added. Notice I had not actually entered any heights into the data file, in fact it was easier to do it interactively in ARCEDIT as will be seen later.

Arc: items contlines.aat
DATAFILE NAME: CONTLINE.AAT                                        07/12/1994
    8 ITEMS: STARTING IN POSITION    1
 COL  ITEM NAME         WDTH OPUT TYP N.DEC  ALTERNATE NAME
    1  FNODE#              4    5  B    -
    5  TNODE#              4    5  B    -
    9  LPOLY#              4    5  B    -
   13  RPOLY#              4    5  B    -
   17  LENGTH              4   12  F    3
   21  CONTLINE#           4    5  B    -
   25  CONTLINE-ID         4    5  B    -
   29  SPOT                4    4  I    -

I then entered ARCEDIT and edited the arc features of the contlines coverage.

Arcedit: editcoverage contline
The edit coverage is now /SUNGIS3/LANDUSE/GISCOURSE/CONTLINE
Arcedit: &stat 9999
WARNING the Map extent is not defined
Defaulting the mapextent to BND of /SUNGIS3/LANDUSE/GISCOURSE/CONTLINE
Arcedit: drawenvironment all on
Arcedit: editfeature arcs
19 element(s) for edit feature ARCS
Coverage has no COGO attributes
Arcedit: draw

You can update values in ARCEDIT and I used this feature to enter the height data. Initially I updated the spot record of the arcs which made up the 0m contours.

Arcedit: update spot 0
SPOT = 0
1 = Select   2 = Next   3 = Who   4 = Skip  9 = Quit
Enter point 

Figure 4: Updating the height of one of the 0m arcs.

I moved the cursor over the first arc and entered '1', then moved it over the second arc and entered '1' , there were no more arcs of 0m in altitude so I entered '9' to finish this update. During this process the following messages come up :

POT = 0
1 = Select   2 = Next   3 = Who   4 = Skip  9 = Quit
Enter point 
Arc 2 User-ID: 5 with 19 points
SPOT = 0
1 = Select   2 = Next   3 = Who   4 = Skip  9 = Quit
Enter point 
Arc 1 User-ID: 4 with 19 points
SPOT = 0
1 = Select   2 = Next   3 = Who   4 = Skip  9 = Quit
Enter point 

I then repeated the process for each of the heights and finally saved the coverage. The following message appears.

Arcedit: save
Saving changes for /SUNGIS3/LANDUSE/GISCOURSE/CONTLINE
Saving arcs...
** NOTE ** Only arc attribute(s) updated
Reopening arcs...
Saving labels...
** NOTE ** Label(s) unchanged
Reopening labels...
Saving tics...
** NOTE ** Tic(s) unchanged
Reopening tics...
   BND replaced into /SUNGIS3/LANDUSE/GISCOURSE/CONTLINE
Saving set tolerances to TOL file...
Re-establishing edit feature

I then listed the contents of contlines.aat to check that all the arcs had been updated properly. To do this I used the list command.

Arcedit: list contline.aat
Record  FNODE# TNODE# LPOLY# RPOLY#       LENGTH CONTLINE# CONTLINE-ID SPOT
     1      4      5      0      0     21843.598     1         4          0
     2      5      2      0      0     22646.461     2         5          0
     3      6      7      0      0     54425.746     3         7        200
     4      8      9      0      0     91922.109     4        10        400
     5     10     11      0      0     39833.703     5        13        600
     6     12     13      0      0     27995.510     6        15        800
     7     14     15      0      0     20020.670     7        18       1000
     8     17     18      0      0     46015.527     8        23        600
     9     19     20      0      0     32066.268     9        25        800
    10     21     22      0      0     22696.230    10        28       1000
    11     23     24      0      0     10649.475    11        31       1200
    12     26     27      0      0     63650.066    12        36        600
    13     28     29      0      0     63534.285    13        39        800
    14     30     31      0      0     63144.336    14        42       1000
    15     32     33      0      0     61143.621    15        45       1200
    16     34     35      0      0     60122.773    16        48       1400
    17     37     37      0      0     67231.102    17        52       1600
    18     38     38      0      0     48862.109    18        53       1800
    19     39     39      0      0     20117.861    19        54       200

As you can see it was all in order. If there were any mistakes I could always go back and re-update those arcs.

That completes all the coverages bar the ASCII data file forest.dat . The ASCII file was created by entering in to a text file the values of each cell in the grid. A standard ARC header was added so that ARC-INFO could import the ascii data into an ARC-INFO grid.

Thats it. Simple (NOT!).

go on to the analysis .

go back

go home