> Script Details
Minimum Distance 2 Layers
report inappropriate content
May 1 2003
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.
Takes two feature layers and finds the minimum distance between the feature selected in the source layer and the features selected in the target layer.
Read the Word (.doc) file for info on installation and use.
NOTE: Some rules for this tool are:
1. You must have at least 2 feature layers (points, polylines, polygons) in your map. They can be of different types, but they cannot be CAD layers. It probably doesn't work with SDE layers.
2. Both layers must have the same projection, i.e. they must both have an associated .prj file with the same parameters. As best as I can tell, this is a requirement of ArcGIS.
3. The source layer must have only 1 feature selected. The target layer must have 1 or more features selected.
You may select features on the layers after the tool is activated.