Commands used in Exercises

Though the cookbook was easy to follow, I had following two difficulties. I lied in download page for my term project. This page has not been updated for the commands used in the script for the analysis used in my term project. Hope I can do it soon, say, in early May.

  1. Didn't understand what I was doing.
  2. Once I suspend, it was hard to figure out which command requires which command to preceed.

Occasional outputs as images and lines help me helped me figure out what I had been doing. I suspended my work several time, and that experience helped me understand the consequence of a command. Here is the summary for my experience, which could be used for reference in future.

Title row shows prompt (e.g. $, Arc:). The first column shows command, the second column contains what the command does, and the last column is apparent, expected consequence on the monitor.

Prompt = $

Command Functions Response Ex.
arc Starts Arc/Info Arc: prompt 2

Prompt = Arc:

Command Functions Response Ex.
addxy coverage_name add xy coordinates to coverage_name, but how? none 2
build coverage_name points create point coverage coverage_name, assuming "Generate coverage_name" dialog has finished. none? 2
describe coverage_name statistics of coverage coverage_name line 4
generate stations starts Generate (don't know why stations is required) Generate: prompt 4
grid starts Grid Grid: prompt 2
help help messages line 2
import grid rootname_of_source_*.e00_file output_directory_name imports data in *.e00 format directory output_directory_name created 2
import [cover|info] rootname_of_source_*.e00_file output_directory_name imports data in *.e00 format directory output_directory_name created 5
intersect coverage_name1 coverage_name2 coverage_name3 line create a line coverage coverage_name3, which is an intersection of coverage_name1 and coverage_name2 directory coverage_name3 4
list coverage_file_name lists content of coverage_name? line output 4
quit quit ArcInfo none 2

Prompt = Grid:

Category 1: Generate news data
Command Functions Response Ex.
grid_name2 = grid_name1 define grid_name2 as a portion of grid_name1 chosen by setwindow. none? 2
grid_name = con(boolean,value) generate grid where value is assigned for cells which has true for boolean none? 2
grid_name2 = flowaccumulation(grid_name1) function for flow accumulation none? 2
coverage_name = gridline(grid_name) do something on data none? 2
polygon_name = gridline(grid_name) do something on data none? 2
grid_name2 = project(grid_namel,#,#,cell_dimension) Initiate projection dialogue. Upon completion, new grid grid_name2, which is a projection onto plane of elipsoidal grid grid_name1. none 2
grid_name3 = streamelink(grid_name1,grid_name2) do something on data none? 2
grid_name3 = watershed(grid_name1,grid_name2) do something on data none? 2
grid_name3 = zonalmax(grid_name1,grid_name2) do something on data none? 2
Category 2: Output in DISPLAY window
Command Functions Response Ex.
arcs coverage_name not sure what coverage means, but anyway we get drawing, rather than paintings image 2
clear clear DISPLAY clear DISPLAY 2
display 9999 Bring up DISPLAY window window 2
gridpaint grid_name Show the data of grid grid_name image on DISPLAY 2
gridpaint grid_name value linear nowrap gray Show the data of grid grid_name in some way image on DISPLAY 2
gridpaint grid_name paint with the same color for the cells with the same value Image 2
Category 3: Line output
Command Functions Response Ex.
describe grid_name statistics of grid grid_name line 2
listgrids lists all grids in the current workspace line 2
list grid_name.vat list contents of "value attribute table" line 2
list polygon_name.pat list contents of "value attribute table" line 2
Category 4: Start child input mode
Command Functions Response Ex.
cellvalue grid_name enters [cellvalue] mode cursor 2
setwindow * enters [setwindow] mode cursor 2
Category 5: Changes environment
Command Functions Response Ex.
fill grid_name SINK 100 # Do something on the data??? None 2
kill grid_name all Forget about grid_name none 2
Linecolor color_ID change linecolor none 2
mape grid_name Define range covered by DISPLAY based on a grid grid_name. Issue this before you issue gridpaint!! none 2
setwindow grid_name select grid_name as a area for succeeding analysis none 2

Cursor = [cellvalue]

Command Functions Response Ex.
Button 1 single click Return value of a cell specified by cursor on DISPLAY (to exit this mode type 9 in DISPLAY) line 2
type 9 exit [cellvalue] mode Grid: prompt 2

Cursor = [setwindow]

Command Functions Response Ex.
Button 1 drag select a portion of DISPLAY as a area for succeeding analysis none 2

Prompt = Project:

Command Functions Response Ex.
output ? none 2
projection albers ? none 2
datum NAD83 ? none 2
units meters ? none 2
parameters Initiate parametes dialogue parameter prompts 2
end ? Grid: prompt 2

Prompt = [parameters:] (meta prompt)

Prompt Command Functions Response Ex.
1st standard parallel [0 0 0.000]: degN min sec Sets environment somehow none 2
2nd standard parallel [0 0 0.000]: degN min sec Sets environment somehow none 2
central meridian [0 0 0.000]: degE min sec Sets environment somehow none 2
latitude of projection origin [0 0 0.000]: degN min sec Sets environment somehow none 2
false easting (meters) [0.000]: x Sets environment somehow none 2
false northing (meters) [0.000]: y Sets environment somehow none 2

Prompt = Generate:

Command Functions Response Ex.
input data_file_name specify input file none 4
points specify output file coverage type none 4
quit quit none 4