Glen Bambrick

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 »

Update ArcGIS Online WebMap Extent Based on Feature Geometry 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 in ArcGIS Online. If you have ever had to reset the extent of a WebMap after

Update ArcGIS Online WebMap Extent Based on Feature Geometry with the ArcGIS API for Python Read More »

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

Table of Contents The Video Subscribe 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

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 The Video Subscribe 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

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

Get Field Domain Information from 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 interacting with Feature Layers, their attributes, and getting even more granular, down to their fields and data schema. Domains are an

Get Field Domain Information from ArcGIS Online with the ArcGIS API for Python Read More »

What BaseMaps are Available for my WebMaps in ArcGIS Online using the ArcGIS API for Python?

Table of Contents The Video Subscribe 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 in ArcGIS Online. In an earlier post we focused on the first of

What BaseMaps are Available for my WebMaps in ArcGIS Online using the ArcGIS API for Python? Read More »