ArcGIS Python Programming Basics and Applications
芮小平 / 张彦敏Publishing House of Electronics Industry · ChinaJul 2021
Rating 3.8- Word count
- 101K words
- Chapters
- 41
- ISBN
- 9787121409806
Tags
Programming RedevelopmentGeospatial Data ProcessingPractical ApplicationTool ApplicationOpen Source ResourcesSpatial AnalysisProgramming BasicsScriptingCode ExamplesDevelopment GuideSummary
Python is one of today's most popular development languages, and ESRI has adopted it as the primary secondary development language for ArcGIS. Using Python in ArcGIS development lets you efficiently call ArcGIS geoprocessing functions while also drawing on the many open-source Python resources.Drawing on extensive real-world geographic code and data, this book focuses on Python fundamentals, how to use Python in ArcGIS, accessing and managing map documents and layers, spatial data access and operations, vector and raster data analysis, map cartography, custom tools, and add-in creation. It is intended for those in geography, ecology, and related fields who process geographic data, helping them quickly master ArcGIS Python programming.
Editor's review
Aimed at the practical needs of geographic data processing, this book combines Python fundamentals with ArcGIS secondary development, covering the full path from language basics to add-in creation. It introduces Python fundamentals and how to use Python in ArcGIS, and, with extensive real-world geographic code and data, explains accessing and managing map documents and layers, spatial data access and operations, vector and raster data analysis, map cartography, custom tools, and add-in creation. Its value lies in enabling readers to use Python to efficiently call ArcGIS geoprocessing functions while leveraging open-source Python resources to extend analytical capabilities. For those in geography, ecology, and related fields who need to process spatial data, this book serves as a practical reference for moving from manual operations to scripted, automated processing. Readers are advised to reproduce the code in an ArcGIS environment as they read—first mastering access to map documents and layers, then progressing to spatial analysis and cartography, and finally trying custom tools and add-in creation to build a complete workflow.Who it's for
A good fit for
- People in geography, ecology, and related fields who need to process spatial data
- Users who know basic ArcGIS operations and want to learn Python automation
- Technicians who want to batch-complete cartography and spatial analysis with scripts
- GIS application developers who need to create custom tools or add-ins
Not a good fit for
- Complete programming beginners with no ArcGIS operating experience
- Readers who want to systematically learn general Python development rather than GIS applications
- Readers who only need to understand GIS concepts and do not intend to write code
Reading tips
- First install and get familiar with the ArcGIS Python environment, reproducing the sample code as you read
- Work through the chapters in order, moving from Python fundamentals to accessing map documents and layers
- Focus on practicing the vector and raster analysis examples and organizing them into reusable scripts
- After finishing the custom tools section, try packaging common workflows as add-ins
About the publisher
Publishing House of Electronics Industry China · Founded in 1982The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- 版权信息
- 内容简介
- 前言
- 第1章 Python基础
- 1.1 Python发展历史及特点
- 1.2 Python语言基础
- 第2章 ArcPy编写地学数据处理程序
- 2.1 ArcPy概述
- 2.2 ArcGISPython编程环境简介
- 2.3 ArcPy中的函数和类
- 2.4 利用ArcPy编写第一个程序
- 2.5 ArcPy的错误和警告处理机制
- 第3章 管理地图文档与图层
- 3.1 使用当前地图文档
- 3.2 获取地图数据框架
- 3.3 访问地图图层信息
- 3.4 修改地图图层属性
- 3.5 地图文档中的图层操作
- 第4章 ArcPy查询空间数据
- 4.1 属性字段的访问
- 4.2 空间数据的查询
- 4.3 操作二进制数据
- 4.4 ArcGIS中通过属性条件和空间位置关系的查询
- 第5章 ArcPy操作空间数据
- 5.1 属性数据操作
- 5.2 几何数据操作
- 5.3 矢量数据专题图与符号设置
- 5.4 栅格数据操作
- 5.5 栅格数据专题图
- 5.6 地图打印输出
- 第6章 ArcPy空间数据分析
- 6.1 矢量数据空间分析
- 6.2 栅格数据空间分析
- 6.3 定义和调用Arctoolbox工具
- 6.4 基于模型构建器建模的ArcPy使用方法
- 第7章 ArcPy定制Add-In插件
- 7.1 Add-In简介
- 7.2 PythonAdd-In插件的制作方法
- 7.3 安装和共享插件
- 7.4 管理Add-In
- 7.5 插件编程方法及实例
FAQ
Can I read this book without any Python background?
The book includes a section on Python fundamentals that can serve as a starting point. However, its focus is on applications in ArcGIS, so readers should have at least basic ArcGIS operating skills and should type out the code as they read. Those with no programming experience at all will need to set aside more time to practice basic syntax before moving on to the spatial data processing chapters.Can the code and data in the book be run directly?
The book uses extensive real-world geographic code and data for instruction, with the goal of letting readers reproduce and practice in an ArcGIS environment. Running it requires the corresponding ArcGIS software environment and data files. Readers should configure the environment as described in the book and reproduce the code chapter by chapter, adjusting for version differences according to their actual software environment.Does this book focus mainly on ArcPy or on general Python?
The book is centered on using Python in ArcGIS, focusing on accessing and managing map documents and layers, spatial data access and operations, vector and raster data analysis, map cartography, custom tools, and add-in creation. It also introduces Python fundamentals so that readers can use open-source Python resources to support geographic data processing.This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
芮小平 AuthorRui Xiaoping is an author about whom limited public information is available. What can be confirmed is that the single work by this author in our catalog, ArcGIS Python Programming Basics and Applications, falls within the field where geographic information systems meet programming design. The title indicates that the book focuses on combining the Python language with practical work in the ArcGIS platform, aimed at readers who need to use scripts for spatial data processing and automation tasks. Based on the available information, Rui Xiaoping's writing leans toward foundational, hands-on instruction, emphasizing the application of programming knowledge in concrete software scenarios rather than abstract syntax. Such material is approachable for beginners and helps readers understand how Python is used in real GIS work. Because no reliable public record of the author's background, education, or professional experience has been found, no speculation is offered here; this introduction is based only on the subject and category of the work, and further details remain to be added.
张彦敏 Author · 中国Zhang Yanmin is a Chinese author and a doctor of traditional Chinese medicine who teaches at Shanxi University of Chinese Medicine, where she is engaged in teaching, clinical practice, and research in internal medicine of TCM. Her two published works span the quite different fields of medicine and programming design. In medicine, she studied under Zhao Shanghua and compiled Zhao Shanghua's Yuanzong Xuejin Fubian Differentiation Method: Clinical Records of Cancer Treatment, a book based on clinical practice in diagnosing and treating cancer with TCM pattern differentiation, belonging to the genre of organized clinical experience. In programming, ArcGIS Python Programming Basics and Applications introduces Python programming and its practical use in geographic information systems. Beyond this information, public materials are limited, and details such as her birth and death years, English name, and further personal experience remain unclear. Overall, her writing combines summaries of TCM clinical experience with technical tool tutorials, reflecting an interdisciplinary approach to organizing materials and teaching.