If you are a GIS student or professional who needs an understanding of how to use ArcPy to reduce repetitive tasks and perform analysis faster, this book is for you. It is also a valuable book for Python programmers who want to understand how to automate geospatial analyses.
Use Python modules such as ArcPy, ArcREST and the ArcGIS API for Python to automate the analysis and mapping of geospatial data. About This Book Perform GIS analysis faster by automating tasks. Access the spatial data contained within shapefiles and geodatabases and transform between spatial reference systems. Automate the mapping of geospatial analyses and production of map books. Who This Book Is For If you are a GIS student or professional who needs an understanding of how to use ArcPy to reduce repetitive tasks and perform analysis faster, this book is for you. It is also a valuable book for Python programmers who want to understand how to automate geospatial analyses and implement ArcGIS Online data management. What You Will Learn Understand how to integrate Python into ArcGIS and make GIS analysis faster and easier. Create Python script using ArcGIS ModelBuilder. Learn to use ArcGIS online feature services and the basics of the ArcGIS REST API Understand the unique Python environment that is new with ArcGIS Pro Learn about the new ArcGIS Python API and how to use Anaconda and Jupyter with it Learn to control ArcGIS Enterprise using ArcPy In Detail ArcGIS allows for complex analyses of geographic information. The ArcPy module is used to script these ArcGIS analyses, providing a productive way to perform geo-analyses and automate map production. The second edition of the book focuses on new Python tools, such as the ArcGIS API for Python. Using Python, this book will guide you from basic Python scripting to advanced ArcPy script tools. This book starts off with setting up your Python environment for ArcGIS automation. Then you will learn how to output maps using ArcPy in MXD and update feature class in a geodatabase using arcpy and ArcGIS Online. Next, you will be introduced to ArcREST library followed by examples on querying, updating and manipulating ArcGIS Online feature services. Further, you will be enabling your scripts in the browser and directly interacting with ArcGIS Online using Jupyter notebook. Finally, you can learn ways to use of ArcPy to control ArcGIS Enterprise and explore topics on deployments, data quality assurances, data updates, version control, and editing safeguards. By the end of the book, you will be equipped with the knowledge required to create automated analysis with administration reducing the time-consuming nature of GIS. Style and approach The book takes a pragmatic approach, showing ways to automate repetitive tasks and utilizing features of ArcPy with ArcGIS Pro and ArcGIS online.
Extend your ArcGIS expertise by unlocking the world of Python programming. A fully hands-on guide that takes you through exercise after exercise using real data and real problems. NOTE: This book is compatible with ArcGIS Pro 2.9. Key FeaturesLearn the core components of the two Python modules for ArcGIS: ArcPy and ArcGIS API for PythonUse ArcPy, pandas, NumPy, and ArcGIS in ArcGIS Pro Notebooks to manage and analyze geospatial data at scaleIntegrate with ArcGIS Online using Python to publish and manage dataBook Description Integrating Python into your day-to-day ArcGIS work is highly recommended when dealing with large amounts of geospatial data. Python for ArcGIS Pro aims to help you get your work done faster, with greater repeatability and higher confidence in your results. Starting from programming basics and building in complexity, two experienced ArcGIS professionals-turned-Python programmers teach you how to incorporate scripting at each step: automating the production of maps for print, managing data between ArcGIS Pro and ArcGIS Online, creating custom script tools for sharing, and then running data analysis and visualization on top of the ArcGIS geospatial library, all using Python. You'll use ArcGIS Pro Notebooks to explore and analyze geospatial data, and write data engineering scripts to manage ongoing data processing and data transfers. This exercise-based book also includes three rich real-world case studies, giving you an opportunity to apply and extend the concepts you studied earlier. Irrespective of your expertise level with Esri software or the Python language, you'll benefit from this book's hands-on approach, which takes you through the major uses of Python for ArcGIS Pro to boost your ArcGIS productivity. What you will learnAutomate map production to make and edit maps at scale, cutting down on repetitive tasksPublish map layer data to ArcGIS OnlineAutomate data updates using the ArcPy Data Access module and cursorsTurn your scripts into script tools for ArcGIS ProLearn how to manage data on ArcGIS OnlineQuery, edit, and append to feature layers and create symbology with renderers and colorizersApply pandas and NumPy to raster and vector analysisLearn new tricks to manage data for entire cities or large companiesWho this book is for This book is ideal for anyone looking to add Python to their ArcGIS Pro workflows, even if you have no prior experience with programming. This includes ArcGIS professionals, intermediate ArcGIS Pro users, ArcGIS Pro power users, students, and people who want to move from being a GIS Technician to GIS Analyst; GIS Analyst to GIS Programmer; or GIS Developer/Programmer to a GIS Architect. Basic familiarity with geospatial/GIS syntax, ArcGIS, and data science (pandas) is helpful, though not necessary.
This book introduces Python scripting for geographic information science (GIS) workflow optimization using ArcGIS. It builds essential programming skills for automating GIS analysis. Over 200 sample Python scripts and 175 classroom-tested exercises reinforce the learning objectives. Readers will learn to: • Write and run Python in the ArcGIS Python Window, the PythonWin IDE, and the PyScripter IDE • Work with Python syntax and data types • Call ArcToolbox tools, batch process GIS datasets, and manipulate map documents using the arcpy package • Read and modify proprietary and ASCII text GIS data • Parse HTML web pages and KML datasets • Create Web pages and fetch GIS data from Web sources. • Build user-interfaces with the native Python file dialog toolkit or the ArcGIS Script tools and PyToolboxes Python for ArcGIS is designed as a primary textbook for advanced-level students in GIS. Researchers, government specialists and professionals working in GIS will also find this book useful as a reference.
Explore GIS processing and learn to work with various tools and libraries in Python. Key Features Analyze and process geospatial data using Python libraries such as; Anaconda, GeoPandas Leverage new ArcGIS API to process geospatial data for the cloud. Explore various Python geospatial web and machine learning frameworks. Book Description Python comes with a host of open source libraries and tools that help you work on professional geoprocessing tasks without investing in expensive tools. This book will introduce Python developers, both new and experienced, to a variety of new code libraries that have been developed to perform geospatial analysis, statistical analysis, and data management. This book will use examples and code snippets that will help explain how Python 3 differs from Python 2, and how these new code libraries can be used to solve age-old problems in geospatial analysis. You will begin by understanding what geoprocessing is and explore the tools and libraries that Python 3 offers. You will then learn to use Python code libraries to read and write geospatial data. You will then learn to perform geospatial queries within databases and learn PyQGIS to automate analysis within the QGIS mapping suite. Moving forward, you will explore the newly released ArcGIS API for Python and ArcGIS Online to perform geospatial analysis and create ArcGIS Online web maps. Further, you will deep dive into Python Geospatial web frameworks and learn to create a geospatial REST API. What you will learn Manage code libraries and abstract geospatial analysis techniques using Python 3. Explore popular code libraries that perform specific tasks for geospatial analysis. Utilize code libraries for data conversion, data management, web maps, and REST API creation. Learn techniques related to processing geospatial data in the cloud. Leverage features of Python 3 with geospatial databases such as PostGIS, SQL Server, and SpatiaLite. Who this book is for The audience for this book includes students, developers, and geospatial professionals who need a reference book that covers GIS data management, analysis, and automation techniques with code libraries built in Python 3.
This hands on exercise book starts with an overview of the Python 3.x language. You'll learn the basic constructs of this powerful, easy to learn language for automating your ArcGIS Pro geoprocessing tasks. You'll also learn how to install, configure, and write scripts using the popular PyCharm development environment. We'll then dive into the details of the ArcGIS Pro arcpy module by learning how to execute geoprocessing tools from your scripts. From there you'll learn how to manage project and layer files, and manage the data within those files. You'll discover how to programmatically add, insert, remove, and move layers in table of contents. Next, you'll learn how to apply symbology and update properties of layers, work with 2D and 3D display properties, and manage layouts. You'll also learn how to automate map production through the use of map series functionality, formerly called map books. The later part of the books covers attribute and spatial queries, and the creation of selection sets for feature classes and tables along with the arcpy data access module for insert, updating, and deleting data from feature classes and tables. Finally, we'll close the book by discovering how you can create your own custom geoprocessing tools using custom toolboxes with ArcGIS Pro and Python.
Summary Geoprocessing with Python teaches you how to use the Python programming language, along with free and open source tools, to read, write, and process geospatial data. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology This book is about the science of reading, analyzing, and presenting geospatial data programmatically, using Python. Thanks to dozens of open source Python libraries and tools, you can take on professional geoprocessing tasks without investing in expensive proprietary packages like ArcGIS and MapInfo. The book shows you how. About the Book Geoprocessing with Python teaches you how to access available datasets to make maps or perform your own analyses using free tools like the GDAL, NumPy, and matplotlib Python modules. Through lots of hands-on examples, you’ll master core practices like handling multiple vector file formats, editing geometries, applying spatial and attribute filters, working with projections, and performing basic analyses on vector data. The book also covers how to manipulate, resample, and analyze raster data, such as aerial photographs and digital elevation models. What's Inside Geoprocessing from the ground up Read, write, process, and analyze raster data Visualize data with matplotlib Write custom geoprocessing tools Three additional appendixes available online About the Reader To read this book all you need is a basic knowledge of Python or a similar programming language. About the Author Chris Garrard works as a developer for Utah State University and teaches a graduate course on Python programming for GIS. Table of Contents Introduction Python basics Reading and writing vector data Working with different vector file formats Filtering data with OGR Manipulating geometries with OGR Vector analysis with OGR Using spatial reference systems Reading and writing raster data Working with raster data Map algebra with NumPy and SciPy Map classification Visualizing data Appendixes A - Installation B - References C - OGR - online only D - OSR - online only E - GDAL - online only
This book is written in a helpful, practical style with numerous hands-on recipes and chapters to help you save time and effort by using Python to power ArcGIS to create shortcuts, scripts, tools, and customizations."Programming ArcGIS 10.1 with Python Cookbook" is written for GIS professionals who wish to revolutionize their ArcGIS workflow with Python. Basic Python or programming knowledge is essential(?).
Combining GIS concepts and fundamental spatial thinking methodology with real programming examples, this book introduces popular Python-based tools and their application to solving real-world problems. It elucidates the programming constructs of Python with its high-level toolkits and demonstrates its integration with ArcGIS Theory. Filled with hands-on computer exercises in a logical learning workflow this book promotes increased interactivity between instructors and students while also benefiting professionals in the field with vital knowledge to sharpen their programming skills. Readers receive expert guidance on modules, package management, and handling shapefile formats needed to build their own mini-GIS. Comprehensive and engaging commentary, robust contents, accompanying datasets, and classroom-tested exercises are all housed here to permit users to become competitive in the GIS/IT job market and industry.