Skip to content

Latest commit

 

History

History
102 lines (59 loc) · 5.08 KB

README.md

File metadata and controls

102 lines (59 loc) · 5.08 KB

Tools for ArcGIS Pro


This folder contains various toolboxes for working with feature data in ArcGIS Pro.


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 was not attempted.


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

  1. 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
  1. Frequency analysis
  • The Frequency tool should be available at all license levels.
  1. Table to Text
  • This tool facilitates getting a textual representation of table data in a .txt format for presentation and documentation processes.

Concave hulls

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.


field_calculator

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.

Feature Extent to Poly Features

Produce axis-aligned extent rectangles from polygon/poline features.

Frequency and Statistics

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.


Python Code Samples

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


DATA

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.