> Script Details
Nearest Neighbor 3.6
report inappropriate content
Mar 17 2005
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
Nearest Neighbor 3.6
by Johannes Weigel
Nearest Neighbor by Johannes Weigel (email@example.com) is a tool to find the nearest neighbors (spatial distance) of a shape theme in another shape theme.
New in latest Versions:
You can search for more than 1 Neighbor
You can sort the Neighbors not only by their distance but also by x- or y-coordinates (ascending/descending)
The old version is included because it's faster for simple analysis jobs
You can work with themes in a view now, not only with files. Active themes can be manipulated directly without destroying their theme tables.
You can work with selections now (find nearest neighbors to selected records).
Mark Freeman, National Soil Resources Institute (NSRI), Cranfield University (UK), fixed a bug concerning the additional attributes which had not been added correctly.
No coordinate fields required anymore; works with any shapefile from disk or ftheme from view
Several bugfixes, e.g. trouble with identical field names
Calculation of distances with projected data in geographic coordinate system enabled! Spherical distances (orthodromes) can be calculated.
Calculation of distances from edge to egde of two feature themes enabled!
- Fixed a bug in point distance calculation
- Just copy nearestneighbor3.avx to your $AVEXT-directory (e.g. c:\esri\arcview\av_gis30\ext32).
- Activate Nearest Neighbor in the Extension dialog (-->Program -->Extensions) and open a new view.
Nearest Neighbor 3 adds a new Menu to your View menu bar (no buttons, tools etc., just a menu called "Nearest Neighbor").
It contains two items:
- Find/Sort Nearest Neighbors
- About Nearest Neighbor
No known bugs anymore.
If You find bugs, please send a message to the author (firstname.lastname@example.org).