Glen Bambrick

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 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 »

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 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 will focus on the first of those – …

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

Add Table from Hosted Feature Service to Another in ArcGIS Online and Create a Relationship using the ArcGIS API for Python

Table of Contents Introduction Data can often be provided as a Shapefile with an accompanying file containing the attribute information, or surplus attributes to compliment those in the Shapefile, such as a CSV for example. This is the case for Census Data in Ireland, provided by the Central Statistics Office (CSO), results are available in CSV format and can be related to …

Add Table from Hosted Feature Service to Another in ArcGIS Online and Create a Relationship using the ArcGIS API for Python Read More »

Extracting from an ArcGIS Online Feature Service to a File Geodatabase

Table of Contents Introduction In this blog post we will assess the options for extracting layers and tables from an ArcGIS Online Feature Service to Feature Classes and Tables in a File Geodatabase. We will use ArcPy, the ArcGIS API for Python, and a combination of both. Here are the options we will assess: Export …

Extracting from an ArcGIS Online Feature Service to a File Geodatabase Read More »

The ArcPy Search Cursor Spatial Filter Parameter with ArcGIS Pro

Table of Contents Introduction ArcGIS Pro 3.2 added three new parameters to the Search Cursor (and Update Cursor) with ArcPy. These parameters are named spatial_filter, spatial_relationship, and search_order. Here, we will discuss the first two. The search_order parameter can only be used with an enterprise geodatabase. As of ArcGIS Pro 3.2 the Search Cursor syntax …

The ArcPy Search Cursor Spatial Filter Parameter with ArcGIS Pro Read More »