没有合适的资源?快使用搜索试试~ 我知道了~
Writing Geoprocessing Scripts With ArcGIS 9 (英文版本)
4星 · 超过85%的资源 需积分: 10 40 下载量 14 浏览量
2009-11-06
06:49:48
上传
评论 1
收藏 10.49MB PDF 举报
温馨提示
试读
88页
属于教程类的材料,PDF版本,比.chm文件阅读起来更方便。材料共分7个章节: 1. Introduction to scripting in ArcGIS 2. Getting started 3. Using tools 4. Batch processing 5. Messaging and script tools 6. Data properties and access 7. Working with geodatabases 其中第二章开始,是详细讲述python的,适合初学者,还有自学的人,虽然是英文版本,但是不需要很高深的英文水平,只要金山词霸,也能理解,很高兴于大家分享!
资源详情
资源评论
资源推荐
Writing Geoprocessing Scripts
With ArcGIS
Ar cGIS
®
9
Copyright © 2004 ESRI
All 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
Manager, ESRI, 380 New York Street, Redlands, California 92373-8100,
USA.
The information contained in this document is subject to change without
notice.
Author
Corey Tucker
U.S. GOVERNMENT RESTRICTED/LIMITED RIGHTS
Any 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, California 92373-8100, USA.
PUBLISHED BY
ESRI
380 New York Street
Redlands, California 92373-8100
ESRI, ArcView, SDE, ArcInfo, ArcSDE, ArcCatalog, ArcScene, 3D Analyst,
ModelBuilder, ArcGlobe, ArcMap, ArcEditor, ArcGIS, ArcObjects, GIS by
ESRI, the ArcGIS logo, 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.
Attribution.pmd 04/01/2004, 12:16 PM1
Contents
CHAPTER 1: INTRODUCTION TO SCRIPTING IN A
RC
GIS ..................... 1
Scripting support in ArcGIS ........................................................................................ 2
Python and the geoprocessor ....................................................................................... 3
Getting help ................................................................................................................ 5
CHAPTER 2: GETTING STARTED ............................................................. 7
Working with Python .................................................................................................. 8
An introduction to Python and PythonWin ................................................................ 10
Creating a script ........................................................................................................ 12
Debugging ................................................................................................................. 16
CHAPTER 3: USING TOOLS ..................................................................... 21
The geoprocessor object ............................................................................................ 22
Tools and methods .................................................................................................... 24
Environment settings ................................................................................................ 30
Complex parameters .................................................................................................. 32
Listing tools, toolboxes, and environments ................................................................. 33
Licensing and extensions ............................................................................................ 34
CHAPTER 4: BATCH PROCESSING ......................................................... 37
Listing data ............................................................................................................... 38
Multiple inputs .......................................................................................................... 41
CHAPTER 5: MESSAGING AND SCRIPT TOOLS .................................... 45
Messages ................................................................................................................... 46
Getting messages ....................................................................................................... 47
Script tools ............................................................................................................... 48
Setting messages ........................................................................................................ 49
Using script tool parameters ...................................................................................... 52
CHAPTER 6: DATA PROPERTIES AND ACCESS ..................................... 55
Describing data ......................................................................................................... 56
Data access using cursors ........................................................................................... 63
TOC.pmd 04/01/2004, 12:17 PM3
iv • Writing Geoprocessing Scripts with ArcGIS
CHAPTER 7: WORKING WITH GEODATABASES .................................. 73
Geodatabases ............................................................................................................ 74
Naming feature classes and tables ............................................................................... 75
Field name validation ................................................................................................ 76
Qualifying table and field names ................................................................................ 77
Parsing table and field names ..................................................................................... 79
INDEX ........................................................................................................ 81
TOC.pmd 04/01/2004, 12:17 PM4
Introduction to
scripting in ArcGIS
This chapter reviews what a script is and why it is
relevant to today’s geographic information system (GIS)
user. Issues such as what scripting language should be
used and how ESRI
®
ArcGIS
®
works with scripting
languages are also covered.
11
11
1
剩余87页未读,继续阅读
sqjunior77
- 粉丝: 18
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3