
Let's get you setup and running for the course. In this video we will look at downloading and accessing the course material.
This video provides a description and short overview of the SearchCursor.
In this video we will use the SearchCursor within ArcGIS Pro and only use the two required parameters necessary to operate. We use the SearchCursor to iterate through all records in a layer.
In this video we will witness the power of the where_clause parameter. The where_clause is an SQL statement used to limit the number of records returned from the SearchCursor.
In this video we will use field Tokens to access system maintained fields and the geometry of a feature.
In this video we will assess the use of the optional spatial_reference and datum_transformation parameters.
In this video we will take a look at using the optional explode_to_points parameter with the SearchCursor.
In this video we will assess the use of the optional sql_clause with the SearchCursor.
In this video we will see the optional spatial_filter parameter in action. This parameter is new as of ArcGIS Pro 3.2. If you do not have ArcGIS Pro 3.2 do not worry, just watch the video and see the capabilities. The workflow in this video will not have an affect on material for the rest of the course.
The SearchCursor only has one property and that is the fields property. We will see how you can return a list of field names used by the cursor.
In this video we will see the SearchCursor reset() method in action. The reset() method sets the cursor back to the first row.
In this video we showcase how we can move through each row, returned from a SearchCursor, one row at a time.
In this video we will witness the power and efficiencies when combining the SearchCursor with Python List Comprehension.
In this video we will see the value in using Python Set Comprehension with a SerchCursor to efficiently retrieve unique values for a field.
In this video we will use the SearchCursor in tandem with Python Dictionary Comprehension to showcase how to store attribute information with ArcPy scripts.
Getting unique values using a SearchCursor will more than likely be required at some stage. It is something that I have used on almost any project I have worked with for quick data exploration and also for reporting.
In this video we get a brief introduction to the InsertCursor.
In this video we will walkthrough the Esri documentation for the Insert Cursor.
In this video we will insert new features to a point and polygon layers using the InsertCursor and only using the required parameters for the InsertCursor to work.
In this video we take a look at Esri recommendations for using the InsertCursor with Point feature classes.
In this video we will see the importance of using a datum transformation when using the InsertCursor to insert geometry from one feature class to another.
In this video we will assess the use of the optional explicit parameter when using the InsertCursor.
The InsertCursor object has one property, the fields property.
We have been using the insertRow() method throughout this section, here, we will learn some more information about the method itself.
This video will show you how to setup the data if you are skipping InsertCursors or are returning to restart the course at this point.
This video is a brief introduction to the UpdateCursor
In this video we will walkthrough the Esri documentation for the Update Cursor. You can download a .txt file containing a link to the documentation in the Resources for this video.
In this video we will use the UpdateCursor with required parameters only to update field attributes in a feature class.
In this video we will use the optional where_clause parameter with the UpdateCursor to limit the rows returned by the cursor. This will enable us to update a subset of features.
In this video we will use field tokens to access system maintained and geometry fields for a feature. While most system maintained fields are read-only, we can use tokens with an UpdateCursor to update feature geometries.
In this video we will assess the optional explode_to_points parameter with the UpdateCursor.
In this video we will assess the use of the optional sql_clause with the UpdateCursor. Heads-up! It doesn't make for great watching as most of the clauses are defunct with the UpdateCursor. Its almost like the documentation was copied and pasted from the SearchCursor with little thought.
In this video we will take a look at the optional explicit parameter with the UpdateCursor. The explicit parameter enables you to override a default value and set as NULL if the field allows NULL values.
In this video we will see the optional spatial_filter parameter in action with the UpdateCursor. This parameter is new as of ArcGIS Pro 3.2. If you do not have ArcGIS Pro 3.2 do not worry, just watch the video and see the capabilities. You could also download a trial version of ArcGIS Pro for access to 3.2
In this short video we will see the only property available with the UpdateCursor, the fields property, which allows you to access a tuple of field names used by the cursor.
We have been using the UpdateCursor updateRow() method throughout this section, lates take a deeper look.
In this video we will asses the use of the UpdateCursor deleteRow() method.
In this video we will look at the reset() method available with the UpdateCursor.
In this video we will use the in-built Python next() function to iterate through rows in an UpdateCursor one-by-one.
The Python Script behind our custom Feature Vertices to Points tool. We will use a SearchCursor and an InsertCursor.
In this video we will create the custom tool in ArcGIS Pro
In this video we will see the tool in action in ArcGIS Pro
In this video we will walk through the Python Script for our custom Archive Deleted Rows tool.
In this video we will create the custom tool in ArcGIS Pro.
In this video we will see the custom tool in action in ArcGIS Pro.
Unlock the full potential of ArcPy Cursors with our intensive and in-depth course, "Mastering ArcGIS Pro ArcPy Search, Insert, & Update Cursors." Designed for GIS professionals, analysts, and enthusiasts, this course delves into the intricacies of Search, Insert, and Update Cursors in the ArcPy library, empowering you to manipulate and manage spatial data with precision and efficiency.
Key Learning Objectives:
Search Cursors:
Understand the fundamentals of Search Cursors and their role in querying spatial data.
Explore advanced querying techniques to extract specific information from feature classes.
Insert Cursors:
Gain proficiency in using Insert Cursors to add new records to your feature classes.
Update Cursors:
Dive into the world of Update Cursors to modify existing spatial data.
Implement conditional updates.
Real-world Applications:
Apply your newfound skills to real-world GIS scenarios with Custom tools.
Showcase practical exercises to reinforce your understanding of ArcPy Cursors in action.
By the end of this course, you'll have the expertise to navigate ArcPy Cursors confidently, enabling you to streamline your GIS workflows, automate repetitive tasks, and unleash the full potential of spatial data manipulation in ArcGIS Pro. Elevate your GIS skills and become a proficient ArcPy developer with our comprehensive deep dive into Cursors. Enroll now and take the next step in mastering the ArcPy library! The online geospatial communities and forums are littered with questions about ArcPy Cursors. This course will set you up to successfully implement cursors with your daily ArcPy tasks.
Your course instructor, Glen Bambrick, has over 17 years' experience with GIS and geospatial data, and has implemented standardized workflows utilizing ArcPy to great affect. Glen is an huge advocate for standardized data management and content management. ArcPy Cursors are a daily routine.
This course mainly uses the Python Window in AcrGIS Pro to write and run Python code. In some videos we use PyScripter to write the Python code. You can use any code editor software that you prefer. The course solely focusses on ArcPy and no other third-party modules are utilized.
The Mastering ArcGIS Pro ArcPy Search, Insert, & Update Cursors course requires a Basic license for ArcGIS Pro. Only tools and workflows that can be performed at the basic license level are used and assessed during the course.
Please Note! ArcGIS Pro requires a license to use which is a paid license. You can get a 21-day free trial, or you can get a Personal Use license for a fraction of a Commercial license.
It is recommended to get the free trial if you have no other access to ArcGIS Pro software.