Glen Bambrick

GeoPandas, The difference a Spatial Index Makes!

Table of Contents Introduction I was recreating the ArcPy Feature Vertices to Points tool using GeoPandas and Shapely and I was unimpressed with the length of time it took to perform against its ArcPy counterpart when it came to processing dangles. However, that was until I applied a spatial index to the workflow, which rapidly sped up …

GeoPandas, The difference a Spatial Index Makes! Read More »

Measuring Geographic Distribution Mean Center

Measuring Geographic Distributions with GeoPandas: Mean Center

Table of Contents Introduction The Mean Center is the average X coordinate and Y coordinate for all features in a study area and is the simplest descriptor of a geographic distribution. The Mean Center is generally used to track the changes in a features distribution over time and can also be used to compare the distribution of multiple features. …

Measuring Geographic Distributions with GeoPandas: Mean Center Read More »

Fix Transect Line Geometries to Exact Dimensions – A Spatial Thoughts Challenge

Table of Contents Introduction Spatial Thoughts on LinkedIn posted the following challenge…Can you take a dataset of a river centerline and varying lengths of line transects and make them exactly the same length? using any tool or platform of choice. This post uses ArcPy with ArcGIS Pro and can be used with a Basic license. Here is …

Fix Transect Line Geometries to Exact Dimensions – A Spatial Thoughts Challenge Read More »

Export ArcGIS Online Feature Layer to Feature Class Without Attachments using the ArcGIS API for Python

Table of Contents Introduction Today’s blog post is inspired by a question posed on Esri Communities. The question asks how to export hosted feature layers using only the ArcGIS API for Python, and specifically states not to use ArcPy. The usual method to extract data from ArcGIS Online is to export an item (a feature service) …

Export ArcGIS Online Feature Layer to Feature Class Without Attachments using the ArcGIS API for Python Read More »

Create Feature Layer from Feature Set

Create a new Feature Layer in an ArcGIS Online Hosted Feature Service from a Feature Set 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 components of ArcGIS Online such as Feature Layers within a Feature Service. In this blog post we …

Create a new Feature Layer in an ArcGIS Online Hosted Feature Service from a Feature Set using the ArcGIS API for Python Read More »

Delete a Feature Layer from a Feature Service in ArcGIS Online using the ArcGIS API for Python blog post

Delete a Feature Layer from a Feature Service 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 components of ArcGIS Online such as Feature Layers within a Feature Service. In this blog post we …

Delete a Feature Layer from a Feature Service in ArcGIS Online using the ArcGIS API for Python Read More »