ArcPy与ArcGIS:Python地理空间分析实战

需积分: 19 7 下载量 171 浏览量 更新于2024-07-19 收藏 4.19MB PDF 举报
"本书《ArcPy and ArcGIS - Geospatial Analysis with Python》由Packt Publishing出版,是一本深入讲解如何使用ArcPy进行地理处理和空间分析的英文原版教程。书中涵盖了Python语言基础,以及在ArcGIS环境中使用Python进行地理空间分析的重要概念和技术。" 在本书中,读者将了解到: 1. **Python概述**:首先,书籍介绍了Python编程语言的基本特点,如它是解释型语言,拥有丰富的标准库,并作为胶水语言可以连接不同组件。Python的灵活性使其成为GIS领域的强大工具。 2. **Python基础**:包括导入语句(import statements)、变量、循环(如for loops和while statements)、条件语句(if/elif/else statements)、注释、数据类型(如字符串、整数、浮点数、列表、元组和字典),以及迭代数据类型和其他关键概念,如缩进、函数、关键字、命名空间和零索引等。 3. **重要的Python模块用于GIS分析**:书中特别强调了几个在GIS领域常用的Python模块: - **ArcPy模块**:这是Esri提供的核心模块,用于与ArcGIS Desktop和Server进行交互,执行地理处理任务,创建脚本和应用。 - **操作系统(OS)模块**:允许在Python中进行文件和目录操作,与操作系统进行交互。 - **Python系统(SYS)模块**:提供对Python解释器和环境的访问,例如设置系统路径或获取命令行参数。 - **XLRD和XLWT模块**:这两个模块用于读写Excel文件,对于处理和导出GIS数据非常有用。 4. **ArcGIS集成**:书中详细阐述了如何通过ArcPy将Python与ArcGIS结合,实现复杂的地理空间分析,包括数据处理、空间查询、模型构建以及地图制图等功能。 5. **读者群体**:本书面向已经具备一定Python基础知识,并希望在ArcGIS环境中提升地理空间分析技能的读者。 6. **反馈和支持**:作者鼓励读者提供反馈,同时出版社提供了相关的客户支持服务,包括示例代码下载、彩图获取、错误报告等。 通过本书的学习,读者将能够熟练运用Python和ArcPy进行高级地理空间分析,解决实际的GIS问题,并构建自定义的GIS工作流程。无论是GIS专业人员还是对GIS感兴趣的程序员,都能从中受益匪浅。
2017-09-10 上传
12: Arc GIS API for Pythonb'Chapter 12: Arc GIS API for Python'b'Introduction to the Arc GIS API for Python'b'Creating a Jupyter Notebook'b'Starting the Arc GIS API for Python'b'Adding an item to a web map'b'Importing a CSV with pandas'b'Summary'6: The arcpy.mapping Moduleb'Chapter 6: The arcpy.mapping Module'b'Using Arc Py with map documents \xc3\x82\xc2\xa0'b'Summary'7: Advanced Analysis Topicsb'Chapter 7: Advanced Analysis Topics'b'Using Network Analyst'b'The Network Analyst module'b'Accessing the Spatial Analyst extension'b'Summary'8: Introduction to Arc GIS Onlineb'Chapter 8: Introduction to Arc GIS Online'b'Arc GIS Online'b'Summary'9: Arc Py and Arc GIS Onlineb'Chapter 9: Arc Py and Arc GIS Online'b'Arc GIS Online REST services'b'URL parameters'b'Feature sets'b'Arc GIS Online tokens'b'Putting it all together'b'Summary'10: Arc REST Python Packageb'Chapter 10: Arc REST Python Package'b'Introducing the Arc REST module'b'Arc GIS Online administration'b'Querying hosted feature services'b'Summary'11: Arc Py and Arc GIS Prob'Chapter 11: Arc Py and Arc GIS Pro'b'Introducing\xc3\x82\xc2\xa0Arc GIS Pro'b'Installing and configuring Arc GIS Pro'b'The Arc GIS Pro Python window'b'Python 2.7 and Python 3.5 with Arc Pro'b'Conda and Arc GIS Pro'b'Reviewing Conda basics'b'Summary'1: Introduction to Python for Arc GISb'Chapter 1: Introduction to Python for Arc GIS'b'Python as a programming language'b'The basics of Python programming'b'Data types'b'Other important concepts'b'Important Python modules'b'How Python executes a script'b'Integrated Development Environments (IDEs)'b'Python folder structure'b'Summary'2: Creating the First Python Scriptb'Chapter 2: Creating the First Python Script'b'Prerequisites'b'Model Builder'b'Exporting the model and adjusting the script'b'String manipulation'b'The Arc Py tools'b'The final script'b'Summary'3: Arc Py Cursors - Search, Insert, and Updateb'Chapter 3: Arc Py Cursors - Search, Insert, and Update'b'Pythonfunctions\xc3\x82\xc2\xa0\xc3\xa2\xc