Glen Bambrick

Truncate a Feature Layer in ArcGIS Online with the ArcGIS API for Python

Truncate a Feature Layer in ArcGIS Online with 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 Feature Services and Feature Layers in ArcGIS Online. In this post we will truncate […]

Truncate a Feature Layer in ArcGIS Online with the ArcGIS API for Python Read More »

Create Rectangle Buffers in ArcGIS Pro Using ArcPy

Create Rectangle Buffers for Point Features in ArcGIS Pro Using ArcPy

Table of Contents The Video Subscribe Introduction Asked on Reddit.  “I need to create a box around a point feature that is 66 ft wide and 50 ft tall. Is there a way to create a buffer that is customized between height and width? Or maybe another geoprocessing tool to help create this??” Import ArcPy

Create Rectangle Buffers for Point Features in ArcGIS Pro Using ArcPy Read More »

Convert ArcGIS Online Epoch Time to DD/MM/YYYY or other format using the ArcGIS API for Python

Convert ArcGIS Online Epoch Time to DD/MM/YYYY or other format using the ArcGIS API for Python

Table of Contents The Video Subscribe Introduction Learn how to convert ArcGIS Online epoch timestamps into readable date formats (DD/MM/YYYY) using the ArcGIS API for Python and Python’s built-in datetime module. Below is a step-by-step guide how to access item properties from ArcGIS Online, extract epoch values, and format them into clean, human-readable dates. Perfect

Convert ArcGIS Online Epoch Time to DD/MM/YYYY or other format using the ArcGIS API for Python Read More »

List Excel File Sheet Names as an Input Parameter for Custom tools in ArcGIS Pro with ArcPy & Pandas

List Excel File Sheet Names as an Input Parameter for Custom tools in ArcGIS Pro with ArcPy & Pandas

Table of Contents The Video Subscribe Introduction The Excel to Table Geoprocessing tool takes an Excel file as a parameter and then exposes the sheet names for the that file as a selection list in another parameter. In this blog post we will see how to use pandas and ArcPy in the custom tool Validator

List Excel File Sheet Names as an Input Parameter for Custom tools in ArcGIS Pro with ArcPy & Pandas Read More »

How to check if an ArcGIS Online Feature Service is a View Layer with the ArcGIS API for Python

How to check if an ArcGIS Online Feature Service is a View Layer with the ArcGIS API for Python

Table of Contents The Video Subscribe Introduction I was recently doing an ArcGIS Online audit for an organisation and needed to know whether a Feature Service was a View Service or the main Hosted Feature Service. When performing a search() with the ContentManager using the ArcGIS API for Python all Feature Services were returned with

How to check if an ArcGIS Online Feature Service is a View Layer with the ArcGIS API for Python Read More »

Count Features in a Feature Class or Table in ArcGIS Pro using ArcPy

Count Features in a Feature Class or Table in ArcGIS Pro using ArcPy

Table of Contents The Video Subscribe Introduction Looking to get the number of features/records in a feature class or table in ArcGIS Pro using ArcPy?  User Input Just the one. The path to the feature class or table. ## the path to the feature class to get the feature count fc_path = r”C:pathtofc_or_table” The GetCount

Count Features in a Feature Class or Table in ArcGIS Pro using ArcPy Read More »

Get your ArcGIS Online Feature Layer OID Field Name with the ArcGIS API for Python

Get your ArcGIS Online Feature Layer OID Field Name with the ArcGIS API for Python

Table of Contents The Video Subscribe Introduction The OID field for your feature layer in ArcGIS Online might be called OBJECTID, it could also be OID, FID, or any other name that you have given it. This can make it difficult to create a script to process data that may not have a standard OID

Get your ArcGIS Online Feature Layer OID Field Name with the ArcGIS API for Python Read More »

Download an Available Survey123 Form from ArcGIS Online and Replicate in Survey123 Connect with the ArcGIS API for Python

Download an Available Survey123 Form from ArcGIS Online using the ArcGIS API for Python and Replicate in Survey123 Connect

Table of Contents The Video Subscribe Introduction Quite a simple but powerful workflow. Here, we are going to access an available Form item in ArcGIS Online that is publicly available and download the Survey123 package where we can then open up the Excel file to see how the same Form can be generated using Survey123

Download an Available Survey123 Form from ArcGIS Online using the ArcGIS API for Python and Replicate in Survey123 Connect Read More »

ArcGIS Online Feature Layer Feature Count with the ArcGIS API for Python

ArcGIS Online Feature Layer Feature Count with the ArcGIS API for Python

Table of Contents The Video Subscribe Introduction Want to know how many features are in your ArcGIS Online Feature Layer while performing a workflow with the ArcGIS API for Python?  arcgis modules The API provides access to your organisations ArcGIS Online via the GIS class in the gis module. This GIS class is the gateway to ArcGIS Online.

ArcGIS Online Feature Layer Feature Count with the ArcGIS API for Python Read More »