ArcPy

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 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 to […]

List Excel File Sheet Names as an Input Parameter for Custom tools in ArcGIS Pro with ArcPy & Pandas 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 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 Geoprocessing

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

Enhancing the ArcGIS Pro Definition Query Spatial Clause with ArcPy with a Multi-layer Geometry Filter

Enhancing the ArcGIS Pro Definition Query Spatial Clause with ArcPy with a Multi-layer Geometry Filter

Table of Contents The Video Introduction ArcGIS Pro 3.5 saw the addition of the Spatial Clause functionality for a Definition Query. While limited, it is a very useful addition where we can filter a layers features where they intersect another layer entirely or based on a selection. We are limited to intersects and we ae

Enhancing the ArcGIS Pro Definition Query Spatial Clause with ArcPy with a Multi-layer Geometry Filter 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 »