python

Assessing the Categories Schema for ArcGIS Online with the ArcGIS API for Python

Table of Contents Introduction The ArcGIS API for Python is a powerful Python library that allows users to interact with and automate tasks in ArcGIS Online (or Portal). The API is excellent for programmatically creating, maintaining, and updating components of ArcGIS Online such as content item category schemas. Creating an Item Categories Schema with the ArcGIS API for …

Assessing the Categories Schema for ArcGIS Online with the ArcGIS API for Python Read More »

Turn On/Off ArcGIS Online WebMap Layer Labels with the ArcGIS API for Python

Table of Contents Introduction The ArcGIS API for Python is a powerful Python library that allows users to interact with and automate tasks in ArcGIS Online (or Portal). The API is excellent for programmatically creating, maintaining, and updating webmaps and feature layers in ArcGIS Online. In this post we will focus on updating a webmap …

Turn On/Off ArcGIS Online WebMap Layer Labels with the ArcGIS API for Python Read More »

Query ArcGIS Online Point Features in a WebMap based on a Polygon Feature using the ArcGIS API for Python

Table of Contents Introduction The ArcGIS API for Python is a powerful Python library that allows users to interact with and automate tasks in ArcGIS Online (or Portal). The API is excellent for programmatically creating, maintaining, and updating webmaps and feature layers in ArcGIS Online. In this post we will focus on updating a webmap …

Query ArcGIS Online Point Features in a WebMap based on a Polygon Feature using the ArcGIS API for Python Read More »

Polygon-Polygon Overlap Percentage in ArcGIS Pro with Pairwise Intersect and ArcPy

Table of Contents Introduction A common task is to calculate the percentage overlap between a polygon feature class overlaying another polygon feature class. One general workflow is to use the (Pairwise) Intersect tool with the Join Attributes parameter set to Only feature IDs, add a field to store the percentage overlap attributes, join the underlay polygons to the output based on Feature IDs, and …

Polygon-Polygon Overlap Percentage in ArcGIS Pro with Pairwise Intersect and ArcPy Read More »

Add/Update Feature Layer Filter in ArcGIS Online with the ArcGIS API for Python

Table of Contents Introduction The ArcGIS API for Python is a powerful Python library that allows users to interact with and automate tasks in ArcGIS Online (or Portal). The API is excellent for programmatically creating, maintaining, and updating webmaps and feature layers in ArcGIS Online. In this post we will focus on updating a filter …

Add/Update Feature Layer Filter in ArcGIS Online with the ArcGIS API for Python Read More »

Update Split/Merge Policy for a Domain in an ArcGIS Online Hosted Feature Service with the ArcGIS API for Python

Table of Contents Introduction The ArcGIS API for Python is a powerful Python library that allows users to interact with and automate tasks in ArcGIS Online (or Portal). The API is excellent for programmatically creating, maintaining, and updating hosted feature services in ArcGIS Online. You may come across a couple of scenarios…1. You have published …

Update Split/Merge Policy for a Domain in an ArcGIS Online Hosted Feature Service with the ArcGIS API for Python Read More »

Sequentially Increment Numbered Values in ArcGIS Pro with ArcPy

Table of Contents Introduction Many years ago I came across the How to Create Sequential Numbers in a Field in ArcMap using Python in the Field Calculator from Esri Technical Support and I have used this as the basis for more complex numbering throughout the years for various different projects. Our workflow for this blog post will …

Sequentially Increment Numbered Values in ArcGIS Pro with ArcPy Read More »

Add Layer/Table Definition Query in ArcGIS Pro Based on Selection with ArcPy

Table of Contents Introduction You have made a selection based on attributes or location in ArcGIS Pro (or via a script or tool) and you want to set a definition query that only shows the selected records. Let’s walk through making that tool in ArcGIS Pro with ArcPy Custom Tool Syntax The syntax for the Definition Query from Selection …

Add Layer/Table Definition Query in ArcGIS Pro Based on Selection with ArcPy Read More »