ArcPy

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 »

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 »