Download
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Command Line ArcInfo PowerPoint Presentation
Download Presentation
Command Line ArcInfo

Command Line ArcInfo

363 Views Download Presentation
Download Presentation

Command Line ArcInfo

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

    1. Command Line ArcInfo Also Called Workstation ArcInfo It has four main Part Arc ArcPlot ArcEdit Info - Tables

    2. Why would I use Command line There are some things that cant be done from the GUI Editing of coverages The command line can be much faster to do certain jobs. Newgrid = Mosaic([listfile * -grid]) will tile all of the grids in a directory and create a newfile called Newgrid

    3. Arc 373 commands

    4. The Commands Command Arc: COMMANDS {prefix | wildcard} Arc: Commands<cr> List all Arc commands Arc: commands arc<cr> -lists all Arc commands that begin with arc Arc: commands *arc* -lists all Arc commands that contain arc A command can be run by typing only the capitalized letter of the name listed by the commands command. Arc: commands arcedit ArcEdit Can be run bye typing ae

    5. The USAGE <command> It returns the usage for the command listed Arc: usage hillshade HILLSHADE <in_lattice> <out_grid> {azimuth} {altitude} {ALL | SHADE | SHADOW} {z_factor} If a command has required parameters you can type commandname<cr> and get the usage. <> required parameter {} optional parameter {ALL | SHADE | SHADOW} Optional parameter ALL is the default or you can type shade or shadow in its place You can use the # sign to select the default for a paramterer Hillshade dem hill # # shade 2

    6. CreateWorkspace CW <workspace> Creates a new workspace and info directory

    7. Workspace {workspace} W will list the current workspace W c:\workspace will change to the c:\workspace directory

    8. ADDITEM and APPEND ADDITEM <in_info_file> <out_info_file> <item_name> <item_width> <output_width> <item_type> {decimal_places} {start_item} Append <out_cover> {NOTEST | template_cover | feature_class... feature_class} {NONE | FEATURES | TICS | ALL} appends up to 500 coverages

    9. Clean and Build The clean and build commands create topology CLEAN <in_cover> {out_cover} {dangle_length} {fuzzy_tolerance} {POLY | LINE} You should clean coverages only once. Feature can move up to the distance of the fuzzy_tolerance. Repeated use of the clean command can result in a problem call fuzzy creep. After cleaning once use build. Clean is not recommended for geographic coverages. BUILD <cover> {POLY | LINE | POINT | NODE |ANNO.<subclass>} BUILD will not create nodes at intersections

    10. More Commands COPY <from_geo_dataset> {to_geo_dataset} {DEFAULT | SINGLE | DOUBLE} IMPORT <option> <interchange_file> <output> EXPORT <option> <input> <interchange_file> {NONE | PARTIAL | FULL} {max_lines} Import and export import and export .e00 files LIST <info_file> {from} {to} {item...item} KILLINFO <info_file> HILLSHADE <in_lattice> <out_grid> {azimuth} {altitude} {ALL | SHADE | SHADOW} {z_factor} ListCoverages {workspace} {NOSTATUS | STATUS | PRECISION} KILL <geo_dataset> {ARC | INFO | ALL} ITEMS <info_file>

    11. DESCRIBE <geo_dataset> FEATURE CLASSES Number of Attribute Spatial Feature Class Subclass Features data (bytes) Index? Topology? ------------- -------- --------- ------------ ------- --------- ARCS 853 78 Yes POLYGONS 426 26 Yes Yes NODES 622 SECONDARY FEATURES Tics 16 Arc Segments 26306 Polygon Labels 425 Yes TOLERANCES Fuzzy = 1.402 V Dangle = 0.000 V COVERAGE BOUNDARY Xmin = 375677.813 Xmax = 387157.438 Ymin = 3956741.000 Ymax = 3970757.000 STATUS The coverage has not been Edited since the last BUILD or CLEAN. COORDINATE SYSTEM DESCRIPTION Projection UTM Zone 13 Datum NAD27 Units METERS Spheroid CLARKE1866 Parameters:

    12. ArcTools ArcTools is a GUI for command line.

    13. ArcEdit 312 commands Arc: AE starts arc edit DISPlay <device> {option} Device = 9999 graphics display EDIT <cover> {feature_class} EDIT <info_file> INFO

    14. DrawEnvironment DE list the features from the edit coverage to be drawn in the arc edit session DE all draws all of the features De all off turns off all of the features De arc label node adds arcs, nodes and labels to the drawenvironment DRAW {NOCLEAR} Draws the features to the display SHOW de give a list of current features in the drawenvironment

    15. BackEnvironment Works just like the Drawenvironment except it works on coverages that are not being edited. BackCover <cover> {symbol} Sets the back coverage. The BE command will draw features from the backcover.

    16. EditFeature Sets the feature class that will be edited. EF arc sets the arcs to be edited ADD Adds features

    17. Select SELECT {ONE | MANY | ALL | OUTLINE | DANGLE | CONNECT | UNCLOSED} SELECT PATH {from-to_impedance_item} {to-from_impedance_item} SELECT <BOX | POLYGON | CIRCLE | SCREEN | FEATUREBUFFER> {WITHIN | PASSTHRU} SELECT {FOR} <logical_expression> DRAWSELECT Draws selected features NSELECT Reverses the selected set

    18. CALC, ADD and VertexMove CALCULATE <target_item> = <arithmetic_expression> Sets an attribute value ADD {ONE | FEATUREBUFFER} Adds features MOVE Moves features VERTEX <ADD | DELETE | MOVE {MANY}> {DRAW | NODRAW}

    19. Command Line Mouse Buttons With a 3 button mouse Key Left Center Right NONE 1 2 3 Shift 4 5 6 Ctrl 7 8 9

    20. ArcPlot 487 commands Arc: AP start arc plot It is the command line environment for displaying data It is much easier to create good looking maps in ArcMap

    21. Display Sets up the graphics Display DISPLAY <device> {options} {SIZE {FRAME | CANVAS} <width> <height>} {POSITION <xy | UL | UC | UR | CL | CC | CR | LL | LC | LR> {SCREEN | THREAD <thread>} {xy | UL | UC | UR | CL | CC | CR | LL | LC | LR}} {TOP} DISPLAY RESOLUTION <dots_per_inch> There are 3 other forms The most common devices arc 9999 graphics terminal window 1040 Metafile

    22. Metafile Formats

    23. More Setup PAGESIZE <DEVICE | width height> Sets the Page Size MAPUNITS <INCHES | FEET | CM | METERS |mapunits_per_inch> Sets the map units MAPSCALE <AUTOMATIC | scale_denominator> Sets the map scale MAPEXTENT {feature_class} <cover...cover> MAPEXTENT <* | xmin ymin xmax ymax> MAPEXTENT LAYER <defined_layer...defined_layer> MAPEXTENT TILES {library...library} MAPEXTENT LIBRARY {library...library} MAPEXTENT IMAGE <image...image | image_catalog> MAPEXTENT <geo_dataset...geo_dataset> MAPEXTENT DXF <dxf...dxf>

    24. Setting Symbols SHADESET <shadeset_file> Sets the symbols for polygon fills MARKERSET <markerset_file> Sets the symbols for points LINESET <lineset_file> Sets the symbols for lines SHADESYMBOL <symbol> MARKERSYMBOL <symbol> LINESYMBOL <symbol> <is the index into the shadeset, markerset, or lineset>

    25. Selecting Features ASELECT <cover> <feature_class> {logical_expression} Adds features to the selected set NSELECT <cover> <feature_class> Reverses the selected set RESELECT <cover> <feature_class> {logical_expression} Selects features from the currently selected set CLEARSELECT Clears all of the selected sets CLEARSELECT <cover> <feature_class> Clears the selection for a coverage and feature class

    26. Drawing Features TICS <cover> {IDS | IDSONLY | NOIDS} ARCS <cover> {NOIDS | IDS | IDSONLY} POINTS <cover> {NOIDS | IDS | IDSONLY} POLYGONS <cover> These commands will draw the selected features from the coverages with the current symbol POINTMARKERS POLYGONSHADES ARCLINES These commands will draw symbols using an attribute to select the symbol from the symbol sets

    27. Grid Comes with Spatial Analyst for ArcEditor and ArcInfo It is an ArcPlot window All ArcPlot command will work as well as the grid commands I find it can be much faster to do some functions in grid instead of Spatial Analyst

    28. Info and Tables Gives access to database functions ArcCatalog is easier to use for most of these function INFO {info_directory} AML is not available TABLES {info_directory} {user_name} AML is available

    29. Help To get to the help for Command Line click start : ArcGIS : ArcInfo Workstation : Arc Doc