data management

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 »

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 »

Updating Single Symbology in ArcGIS Pro with Python CIM Access

Table of Contents Introduction The Cartographic Information Model (CIM) is a map content specification for cartographic descriptions of GIS datasets and Project components in ArcGIS Pro. Essentially, it is the JSON that represents specifications for maps, scenes, layouts, layers, symbols, and styles in ArcGIS Pro. The best way to view these JSON specification is to save …

Updating Single Symbology in ArcGIS Pro with Python CIM Access Read More »

Split Line at Point (Data Management) on a Basic License with ArcPy

Table of Contents Introduction This one re-uses plenty of lines of code from the Split Line at Vertices tool. The Split Line at Point (Data Management) geoprocessing tool is only available in ArcGIS Pro with an Advanced license. Here’s how you can use ArcPy to achieve a similar output (if not the exact same for this one!). …

Split Line at Point (Data Management) on a Basic License with ArcPy Read More »

Feature Vertices to Points (Data Management) on a Basic License with ArcPy

Table of Contents Introduction This was a fun and challenging one to do! The Feature Vertices to Points (Data Management) geoprocessing tool is only available in ArcGIS Pro with an Advanced license. Here’s how you can use ArcPy to achieve a similar output. Check out the Esri documentation for more information on the tool here. …

Feature Vertices to Points (Data Management) on a Basic License with ArcPy Read More »

Create Line from Point to Nearest Point on a Line in ArcGIS Pro with ArcPy

Table of Contents Introduction A common workflow is to create a line from each point in a point dataset to the nearest corresponding point on a linear dataset.   Custom Tool Syntax The syntax for the Create Random Points tool is as follows… createLineFromPointToNearestLine( pt_features, ln_features, {max_distance}, {create_new_fc}, {out_feature_class} ) We’re going to take a different …

Create Line from Point to Nearest Point on a Line in ArcGIS Pro with ArcPy Read More »

Create Random Points (Data Management) on a Basic License with ArcPy

Table of Contents Introduction The Create Random Points (Data Management) tool is available with an Advanced license or on a Basic or Standard license if you have 3D Analyst or Spatial Analyst. In this post we will look at creating the tool for use with a Basic license. We’ll keep it simple for now and …

Create Random Points (Data Management) on a Basic License with ArcPy Read More »

Split Line at Vertices (Data Management) on a Basic License with ArcPy

Table of Contents Introduction The Split Line at Vertices (Data Management) geoprocessing tool is only available in ArcGIS Pro with an Advanced license. Here’s how you can use ArcPy to achieve a similar output. While the Advanced tool will take a linear or polygon feature class as input, here, we will only look at splitting …

Split Line at Vertices (Data Management) on a Basic License with ArcPy Read More »