ave_scripts
 

ArcView 3.x Scripts and Extensions

Use scripts for ArcView 3.x to automate tasks, add new capabilities, and build complete applications.

Add X and Y coordinates of features to attribute table
Add two new fields, named X-coord and Y-coord, to the table of the first active theme in the TOC, and fill the respective fields with the X,Y coordinates of the selected points (or all points if no selection is defined) in a point theme.

Animal Movement Extension
Animal Movement Extension contains more than 40 functions designed to aid in the analysis of animal movement. It may also be useful for analyzing other point phenomena.

ArchTools
ArchTools is a set of GIS scripts useful for common tasks in archaeology applications of GIS.
When loaded, it adds a menu (ArchTools) to the View and Table GUIs with the following choices:

1. Create a SW Corner Column (useful for labeling).
2. Create a polygon grid (site grid).
3. Create excavation blocks based on SW Datum Points.
4. Find missing numbers in a sequence.
5. Find Dimensions of Polygons.
6. Summarize multiple columns.

Axwoman: An Analytical Tool for Urban Morphological Analysis
This is an analytical tool based on space syntax theory for urban morphological analysis. Through the implementation, we have successfully brought urban morphological analysis capability to GIS users. Incorporating space syntax into GIS promotes both GIS and urban morphology research. It enhances GIS functionality in spatial analysis into the domain of urban morphological analysis. On the other hand, GIS provides rich georeferenced data, spatial analysis, and visualization capability for urban morphology research.

Bivariate regression script
This script will perform a bivariate regression analysis on the selected data of the active theme or all data in the active theme if no selection exists. The result of this script is the coefficient of determination, or R squared.

Calculate demographics
This computes the demographics (or any numeric attributes) of selected polygons or a polygon theme from another polygon theme's data. It adds fields to the destination theme if they do not already exist. Attributes are assigned proportionally based on their area of intersection, i.e. a source polygon 100 percent within the destination polygon will transfer 100 percent of the values, a source polygon 93 percent contained will transfer 93 percent, and so on. (Updated 2/21/01 to work with projected features.)

Concatenate fields
This script allows two existing fields within a shapefile to be concatenated and written to a user–specified field. To concatenate more than two fields, run the script in succession.

Correlation coefficient tool
This extension has four files: corrcoef.avx, which goes in your AVHOME/ext32 directory; corrcoef.apr, which was used to create the corrcoef.avx file that you can store anywhere; avdlog.dll, which goes in your AVHOME/bin32 directory; and avdlog.dat, which goes in your AVHOME/lib32 directory.

Count points in polygons
This extension is used to count points from a point shape theme that are contained by each polygon from a polygon shape theme. The count is stored in the field "PointCount" in the polygon theme table, which should be editable. It can also count variety according to a field in the point feature table. (Modified on Aug. 19, 2000.)

CrimeStat spatial statistics program
Ned Levine, CrimeStat: A Spatial Statistics Program for the Analysis of Crime Incident Locations (v 1.1). Ned Levine & Associates, Annandale, VA, and the National Institute of Justice, Washington, D.C. July 2000.

Distances and Bearings between Features (v. 2.1)
This extension calculates the distance and bearing between features with identical attribute values, allowing you to generate connecting lines and calculate data for specific sets of features.

Generate randomly distributed points
This generates points that are randomly distributed within a polygon boundary. It might be used in assigning survey locations for soil sampling, etc., using a watershed or fence line as a bounding box.

Graphic grid
GridMaker_v#.avx will generate graphic grid lines, corner/intersect points, and polygons.
The grid can be of any orientation, since you specify the corner point coordinates and number of rows and columns.

Graphics.Graphics2Shapes
This converts selected graphic(s) to a shapefile. This might be useful in conjunction with the Grid Creation (graphics) script.

Grdmake2 - make polygonal grids
This script creates a grid (not a raster file) within selected polygon(s) area. Inputs include maximum and minimum cell sizes and Latitude/Longitude to feet conversion. Output is a vector shapefile with square cells. It is similar to Grdmaker.ave, but Grdmake2 allows for a user–defined cell size and keeps cells within polygons.

Grid and Theme Regression 3.1e
This extension allows you to conduct Simple and Multiple Linear Regression analyses for both tabular and grid data. This extension also gives you the ability to calculate a wider range of summary statistical data than the basic set provided by Esri and the power to generate probability values and critical values from a wide range of statistical distributions.

Grid–to–Image Conversion / Georeference / World File Creator
This extension adds two buttons to the View user-interface for converting grids to TIFF, JPEG, BSQ, BIP, and BIL images, easily georeferencing those images, and creating/tweaking image world files in general.

GStats
GStats provides additional functionality for analysis of point data in ArcView. The application was developed in the first instance to aid mineral exploration through the analysis of multivariate point data in plan view. In particular, GStats allows the user to create ternary Diagrams; log-cumulative probability plots; XY Scatter plots histograms; percentile plots; bivariate plots, multivariate point ("spider") plots; etc. GStats also has a multi-attribute point-labeling tool; a multi-source "data leveler" and a variety of statistical functions including regression, correlation, sum, count, mean, max, min, median, midRange, harMean, quadMean, mode, range, std Dev; and variance. GStats is ideally suited to any application that requires analysis of multiple attributes with regard to point locations.

Harmonic mean
This modifies the system Table Statistics to include Kurtosis, Skewness, and the Coefficient of variation using the Harmonic Mean.

Identify Features within Distance
This extension lets you identify features that are within a specified distance of each of a set of input features.

Interpolate Multi Z-Value Data
This extension adds menu choices to View and Scene GUIs and provides dialog boxes that let a user make interpolations on an attribute of a point theme. When many points with different Z-values are located at the same XY coordinates, the extension stratifies the data based on the Z value, and makes an interpolated grid from each stratum. The user can control the selection of data based on Z values and can also control the number of strata to make. The output is a set of interpolated grids. A common use for this extension is to make a set of interpolated grids based on sample readings, often some groundwater contaminant level, taken from a group of wells.

Median calculator
This calculates the median for a numeric field in a table. Other than in Tim Keane's script, null values are not treated as zero.

NearestFeature
For each feature in the input theme, this script finds the nearest feature in a base theme, records its distance, and optionally records its ID. A distance field (and optionally an ID field) will be added to the input theme's table with values corresponding to the nearest feature in the base theme.

Nearest Features, with Distances and Bearings (v. 3.8b)
This extension creates a new button on the VIEW toolbar that enables you to identify which comparison features are nearest to some set of input features you are interested in. The extension then creates a results table (described below) containing various user-selected fields such as distance and bearing between features. Optionally, you can request lines to be drawn connecting each input feature with that closest comparison feature and save these lines as a Polyline shapefile.

Nearest neighbor
Nearest Neighbor is a tool to find the nearest neighbors (spatial distance) of a shape theme in another shape theme.

Nearest Neighbor Analyst
Nearest Neighbor Analyst Extension provides the ArcView 3.1 users with the ability to perform nearest neighbor analysis on a point theme using a polygon theme as a study area.

PATHMATRIX
This is a tool for use with the ArcView 3.x Spatial Analyst extension to compute matrixes of effective geographic distances among samples based on a least-cost path algorithm.

Polygon theme creation from point theme script
This Avenue script generates a polygon theme (rectangles) from length and width fields located in a point theme's feature table.

Simple random sample
This generates statistical sampling designs with the push of a button in ArcView 3.x. It specializes in producing so-called "simple random" samples of features in polygon themes.

Spatial Tools
Animal Movement is an ArcView extension that contains a collection of more than 40 functions specifically designed to aid in the analysis of animal movement. This data could be collected from radio tags, sonic tags, Argos satellite tags, or observational data. The program is designed to implement a wide variety of animal movement functions in an integrated GIS environment. The program also has a significant utility for analyzing other point phenomena.

Spider diagram script
Use this script to generate a Spider diagram shapefile with spider legs connecting service center points to only customer points closest to each service center. Use the resulting shapefile in combination with Thiessen polygons for a really cool service area analysis.

Statistics and Probability Distributions (v. 1.02)
This extension gives you the ability to calculate a wider range of summary statistical data than the basic set provided by Esri, and also the power to generate probability values and critical values from a wide range of statistical distributions.

Surface Tools for Points, Lines, and Polygons (v. 1.6b)
This extension allows you to calculate various surface and topographic characteristics for Point, Line, or Polygon Themes that overlay a GRID or TIN surface.

Vector grid
This creates a shapefile containing rectangular polygon grids from origin, extent, and grid size information. Useful for local coordinate systems (e.g. British National Grid). Each polygon is given a unique identifier.

Weighted Mean Center of Points (1.1)
This extension enables the user to calculate the weighted mean of a group of points. The user has the option to create a RESULTS table containing this information, a new shapefile of the weighted mean center point, and/or a graphic symbol representing the weighted mean.

3D Weighted Mean Center of Points
This extension enables the user to calculate the 3D weighted mean of a group of points. These points can either be in the Point format, with elevation values included in a field in the point attribute table, or in the PointZ format, in which the elevation values are embedded in the actual point. You have the option to create a RESULTS table, a new shapefile, and/or a graphic symbol of the weighted mean center.

_EC_ FishNet ver 1.1
FishNet 1.1 includes two example calling scripts. 

Contact Us | Privacy | Legal | Site Map