geoprocessing arcgis 9
Post on 21-Oct-2015
105 views
Embed Size (px)
TRANSCRIPT
ArcGIS
9Geoprocessing Commands Quick Reference Guide
Copyright 2004, 2005 ESRIAll rights reserved.Printed in the United States of America.
The information contained in this document is the exclusive property of ESRI. This work is protected under United States copyright law and other international copyright treaties and conventions. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or by any information storage or retrieval system, except as expressly permitted in writing by ESRI. All requests should be sent to Attention: Contracts and Legal Services Manager, ESRI, 380 New York Street, Redlands, CA 92373-8100, USA. The information contained in this document is subject to change without notice.
Contributing WritersMelanie Harlow, Ghislain Prince, Catherine Jones, Corey Tucker, Jeff Reinhart
U.S. GOVERNMENT RESTRICTED/LIMITED RIGHTSAny software, documentation, and/or data delivered hereunder is subject to the terms of the License Agreement. In no event shall the U.S. Government acquire greater than RESTRICTED/LIMITED RIGHTS. At a minimum, use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in FAR 52.227-14 Alternates I, II, and III (JUN 1987); FAR 52.227-19 (JUN 1987) and/or FAR 12.211/12.212 (Commercial Technical Data/Computer Software); and DFARS 252.227-7015 (NOV 1995) (Technical Data) and/or DFARS 227.7202 (Computer Software), as applicable. Contractor/Manufacturer is ESRI, 380 New York Street, Redlands, CA 92373-8100, USA.
ESRI, ArcView, ArcGIS, ArcInfo, ArcCatalog, ArcToolbox, ArcSDE, ModelBuilder, ARC/INFO, ArcMap, 3D Analyst, ArcEditor, and www.esri.com are trademarks, registered trademarks, or service marks of ESRI in the United States, the European Community, or certain other jurisdictions.
Other companies and products mentioned herein are trademarks or registered trademarks of their respective trademark owners.
Introduction 1
ArcGIS Desktop core geoprocessing tools 3
Analysis toolbox 5
Cartography toolbox 11
Conversion toolbox 15
Coverage toolbox 23
Data Management toolbox 41
Geocoding toolbox 79
Linear Referencing toolbox 81
Multidimension toolbox 83
Spatial Statistics toolbox 85
Server toolbox 93
ArcGIS Desktop extensions geoprocessing tools 97
3D Analyst toolbox 99
Data Interoperability toolbox 119
Geostatistical Analyst toolbox 121
Network Analyst toolbox 123
Spatial Analyst toolbox 127
Tracking Analyst toolbox 177
Index 179
Appendix A: Tool licensing A-1
Table of Contents
Introduction
1
Introduction
This reference guide is designed to provide an easy and quick reference for those wanting to use the ESRI command language at the ArcGIS command line and for those writing scripts.
All commands (otherwise known as tools) are maintained in toolsets within the ArcGIS toolboxes.
A toolbox can contain tools, toolsets, and scripts and is organized according to the collection of geoprocessing commands it contains.
A toolset can contain tools, toolsets, and scripts and is organized according to the geoprocessing commands it contains.
There are four different kinds of tools, and they differ only in how they are created and added to a toolbox. However, regardless of their type, all tools can be executed from their dialog or from the command line and can be used in models and scripts.
System toolthese tools are installed and registered on your system. Usually, these tools are installed and registered when you install ArcGIS, although third-party developers can also create and register system tools. System tools are sometimes called function tools by devel-opers.
Model toolthese tools are created by you with ModelBuilder. Some of the tools in the sys-tem toolboxes are model tools.
Script toolthese tools are created by you with a scripting language editor (typically an en-hanced text editor). Some of the tools in the system toolboxes are script tools.
Custom toolcustom tools are built by system developers and have their own unique user interface for creating the tool. The ArcGIS Data Interoperability extension contains custom tools.
This guide describes the following toolboxes:
Analysis toolbox Linear Referencing toolbox
Cartography toolbox Multidimension toolbox
Conversion toolbox Network Analyst toolbox
Coverage toolbox Server toolbox
Data Interoperability toolbox Spatial Analyst toolbox
Data Management toolbox Spatial Statistics toolbox
Geocoding toolbox Tracking Analyst toolbox
Geostatistical Analyst toolbox 3D Analyst toolbox
Each toolbox contains a list of the toolsets and tools as they are organized within ArcToolbox.
The Index section at the end of this guide contains an alphabetical list of each tool, script, toolset, and toolbox.
Intr
oduc
tion
2 ArcGIS 9: Geoprocessing Commands Quick Reference Guide
All tools are available with the ArcInfo license or the extension with which they are associated. However, many are available for use with ArcView or ArcEditor (sometimes with limited func-tionality). Those available with ArcView and ArcEditor are denoted with a , and those available with ArcEditor are denoted with a .
Some tools, such as Clip, exist in multiple toolboxes. Therefore, an alias can be added as a sufx to the tool name when more than one toolbox is available. Examples of alias usages are clip_arc, where clip is the tool and arc is the sufx representing the Coverage toolbox, or clip_analysis, where the sufx represents the Analysis toolbox.
The alias list:
Analysis toolbox _analysis Linear Referencing toolbox _lr Cartography toolbox _cartography Multidimension toolbox _md Conversion toolbox _conversion Network Analyst toolbox _na Coverage toolbox _arc Server toolbox _server Data Interoperability toolbox _di Spatial Analyst toolbox _sa Data Management toolbox _management Spatial Statistics toolbox _stat Geocoding toolbox _geocoding Tracking Analyst toolbox _ta Geostatistical Analyst toolbox _ga 3D Analyst toolbox _3d
The syntax of an example tool:
Union_arc {fuzzy_tolerance} {JOIN | NO_JOIN}
Where:
Union_arc is the tool and the components that follow are the parameters.
< > indicates required parameters.
{ } indicates optional parameters; these do not need to be included. One can be skipped using # if you need to apply only a portion of them.
The | indicates mutually exclusive arguments, and only one of the arguments in the list of options can be specied.
In some commands, there may be an ellipsis between two arguments, such as item1...item4. This indicates that you can give one or more (up to four in this example) names or values for that argument.
Example:Union_arc Treepolycov Newtreecov Finaltreecov # JOIN
ArcGIS Desktop
core geoprocessing tools
Analysis
toolbox
5
Analysis toolbox A suite of geoprocessing tools used to solve spatial or statistical problems.
Extract toolset Contains tools used to manipulate data into manageable datasets containing only the desired features and attributes.
Clip: Extracts those features from an input feature class that overlap with features from a clip feature class.
Clip {cluster_tolerance}
The output feature class will have the attributes of the input features. The input features may be any geometry type, but clip features must have polygon geometry.
Select: Extracts selected features from an input feature class or layer and stores them in the output feature class.
Select {where_clause}
If no SQL expression is included, then all features will be included in the output feature class. If a SQL expression is used but returns nothing, the output feature class will be empty.
Split: Clips the input features and stores them in multiple output datasets.
Split {cluster_tolerance}
The split eld data type must be character. The output feature classes will be named for split eld values; therefore, they must start with a valid character.
The number of output feature classes equals the total number of unique values in the split eld.
Table Select: Extracts selected attributes from an input table or table view and stores them in an output table.
TableSelect {where_clause}
The input can be an INFO table, a dBASE table, a geodatabase table, a VPF table, a feature class, or a table view.
If a SQL expression is used but returns nothing, the output table will be empty.
Ana
lysi
s to
olbo
x
6 ArcGIS 9: Geoprocessing Commands Quick Reference Guide
Overlay toolset Contains tools for topological integration of features based on symmetry.
Erase: Copies input features falling outside the erase polygon feature boundaries to the output.
Erase {cluster_tolerance}
Input feature polygons that are coincident with erase feature polygons will be removed. The erase features must be polygons.
Identity: Intersects two feature classes. The output contains the input features as well as those overlapping features of the identity feature class.
Identity {ALL | NO_FID | ONLY_FID} {cluster_tolerance} {NO_RELATIONSHIPS | KEEP_RELATIONSHIPS}
The input features must be point, multipoint, line, or polygon. The inputs cannot be annotation features, dimension features, or network features.
The identity features must be polygons.
Intersect: Creates an output feature class contain