This folder contains various toolboxes for working with feature data in ArcGIS Pro.
NOTE
The main testing repository for this package is numpy_geometry on the main landing page.
I move finished materials here when I have completed updates or additions to it.
Free tools are sample tools that use numpy and arcpy to implement tools that normally require a Standard or Advanced ArcGIS Pro license. It should be noted, that in some cases, the implementation is partial because either a full implementation couldn't be done or I didn't feel like it.
In any event, the principles of the tools should be available at the Basic license level... like Split Layer by Attribute ... which took about 15 years to do so.
The script can be examined for details in thes old links as well.
- Frequency and Statistics
- Feature extent to poly features
- Feature to points
- Convex hulls
- Polygons to lines or segments
- Minimum area bounding circles
A collection of tools directed towards work with poly* features.
Update 2020-05-11
This folder contains a zip file (PointTools_pro.zip). The zip contains a toolbox and associated script(s) for working with point features in ArcGIS Pro.
Update 2020-05-17
The toolbox and script(s) contained here are for working with tabular data in ArcGIS Pro. Also available at
The foundations is the ability of NumPy to perform rudimentary array operations simply and efficiently on a vectorized basis. This small toolbox implements
- Concatenate fields
- Concatenate fields together regardless of the data type and stripping 'null' values from the fields. A good demonstration on how to use TableToNumPy array and ExtendTable
- Frequency analysis
- I have always thought that the Frequency tool should be available at all license levels. Give it a try.
- Table to Text
- This tool facilitates getting a textual representation of table data in a .txt format for presentation and documentation processes.
Contains an implementation for concave hull determination based on k-nearest neighbors (included there). Also an implementation of convex hulls in case you want to compare differences between the hulls.
This folder is a collection of scripts which contain defs which can be used in other modules or specifically, they can be used in the field calculator in ArcGIS Pro or ArcMap. The header contains useage information, and a python parser is assumed in all cases. Check the respective help documentation on how to use the field calculator from within a table or the Calculate Field tool in Pro.
Produce axis-aligned extent rectangles from polygon/poline features.
This toolbox provides frequency counts for combinations of tabular data... a combination of the classes in two or more fields. An option ability to determine basic statistics for another numeric field based on the new classes.
A repository for Python Code Samples, largely associated with ArcGIS software but some standalone applications.
Toolboxes are contained in separate folders. Each folder has a scripts folder containing the scripts associated with the toolbox.
To use, all you need to do is download scripts folder and the toolbox and install in your working path or in a path accessible to all projects.
Background
General blog posts
Geometry ... Stuff to do with points
(1) Concave hull Concave hulls: the elusive container
(2) Convex hull
(3) Near as table equivalent
(4) Modify points ... move ... sort
(5) Create points
(6) Space points. Produce point patterns ensuring a certain minimum spacing between them.
(7) Minimum Spanning Trees of point sets
(8) Whatever else I forgot to mention.
The DATA folder contains a number of numpy arrays (structured arrays specifically) that contain the same fixed proportions of data types but contain a variety of record lengths. These arrays can be used to standard your testing when you need to work with tabular data with known properties and you need to assess the affect of table size on processing times.
The arrays can be brought into ArcMap or ArcGIS Pro using the arcpy.da module's NumPyArrayToTable and returned to array format using TableToNumPyArray
More data constructs will be added as needed.