The Feature Class in ArcGIS
A feature class is a single geometry with an attribute table...period. True, it should also have a spatial reference, and likely needs one to function correctly. Still, in the simplest form, all you...
View ArticleCleanse Feature Class Names in Python
Today I ran across a problem with what should be a simple solution, but took me the better part of the morning to figure out...primarily because I was not familiar enough with regular expression...
View ArticleGrocery Home Delivery with ArcGIS
Most of the time my work related blog posts are much more on the side of technical and less on the side of marketing. This particular post likely ebbs more toward the latter than the former. However,...
View ArticleInstalling Python Packages on an ArcGIS Python Installation
It is little secret I use a ton of Python to get tasks in ArcGIS done. If serious about getting volumes of data processed with ArcGIS, Python is far and above the way to get things done quickly. If you...
View ArticleArcGIS to Pandas Data Frame
With the release of ArcGIS 10.4, a few packages included have come to my attention. While numpy has been in there for quite some time, now scipy and pandas are now included. GIS data scientists the...
View ArticleArcPy Field Name List
Frequently, especially when using cursors, I need to quickly get a list of field names not including the ObjectID nor Geometry fields. I accomplish this by using a quick shorthand function. fields_list...
View ArticleArcGIS Python Reproject Geometry Object List
Frequently I have a large list of geometry objects I need to get reprojected for analysis. A while back I discovered the reprojectAs method of the arcpy.Geometry object. While useful, I still needed a...
View ArticleFilter NotNull Geometries in an ArcGIS SpatialDataFrame
When working with Pandas DataFrames it is fairly common to filter out records with null values using the notnull Pandas function. This however, does not work with the geometry column created when...
View ArticleKeeping the ArcGIS Python API with ArcGIS Pro Current
If you are running the ArcGIS Python API in a virgin Conda environment, this very likely does not apply to you. If you are running the ArcGIS Python API in the Python environment installed with ArcGIS...
View ArticleCreating a SpatialDataFrame from a Web GIS Item
The relatively recent addition of the SpatialDataFrame object to the ArcGIS Python API was a gigantic leap forward. The SpatialDataFrame marries the common data structure used for data munging and data...
View ArticleLoading a Previously Saved SpatialDataFrame from CSV
Increasingly I find myself working with SpatialDataFrames for analysis in Jupyter Notebooks in Python. Much of the time the easiest way to save results for future work is saving to a CSV file. This CSV...
View ArticleUse ArcPy to Match Spatial Reference
Frequently when performing data preparation or analysis in GIS the spatial reference or projections need to be modified to match. Also, much of the time the data needs to be modified to match one...
View ArticlePurge Scratch GeoDatabase
In a lot of the scripts I write, especially data preparation pipelines, I use the scratch Geodatabase - a lot. At the end of these pipelines, especially when testing and re-running the processes...
View ArticleRelative Module Imports in an ArcGIS Python Toolbox
The idea of ArcGIS Python toolboxes really appeals to me. I really like them. As is frequently the case in life, the devil is in the details. Python Toolboxes have plenty of interesting personality...
View ArticleAutomatically Convert to Esri Spatially Enabled Dataframe
Even for a single workflow, frequently I prototype the workflow from a local Feature Class. Then, depending on where the data is coming from, I have to ingest data from data already in a Spatially...
View Article
More Pages to Explore .....