You are on page 1of 2

PointDistance

EXTENSION FILE NAME: PointDistance.avx

EXTENSION NAME: COS.Point Distance

PURPOSE: To find the distance between point pairs in a .dbf file. The user is
asked for a .dbf file containing fields representing x and y locations for point pairs
(FROM and TO) and a unique identifier for each point pair record. The extension
outputs a point theme with two records (a FROM and a TO) for each point in the
original record. A distance field is added to each record as well as a field telling
whether the record is the FROM or the TO. In addition, a polyline theme
representing the shortest connection between the two points is created. It
contains the same unique identifier and distance field as the point pairs.

NOTE: Field names do not matter. Other fields are retained and ignored.

UPDATE: 2/14/00 (v2.1) – Wasn’t creating the distance fields, this has been
fixed.
10/15/99 (v2.0) – Runs from a dialog instead of individual message
boxes.

ACTIVATING THE EXTENSION

1. The master copy of the extension, PointDistance.avx, is found in the


directory ArcViewProgramExtensions on the drive GISDeskTop on ‘Scagis01’.
(This drive must be mapped to your computer already. If it hasn’t, you can
map it using, for example, the NT EXPLORER.)

2. Copy the file from step 1 to the Ext32 directory of your ArcView
installation, which is most likely on your C: drive. If you used the default
installation parameters when you installed ArcView, the proper directory will
be C:\Esri\Av_gis30\Arcview\Ext32. (It doesn’t matter if you already installed
Arcview 3.1, that is the default directory name.)

3. If you are running ArcView 3.1, you may skip this step. If you are
running ArcView 3.0, 3.0a, or 3.0b, you will need to copy two more files.
a. Copy the file avdlog.dat from the directory ArcView Program Extensions
on the drive GISDeskTop on ‘Scagis01’ to the Lib32 directory of your ArcView
installation.
b. Copy the file avdlog.dll from the directory ArcView Program Extensions
on the drive GISDeskTop on ‘Scagis01’ to the Bin32 directory of your ArcView
installation.

4. Start ArcView in the usual manner.

PointDistance 1 of 2 08/17/10
City of Scottsdale GIS
PointDistance
5. From the menu bar at the top of the ArcView window is the word File.
Click on it.

6. In the drop-down menu, is the word Extensions. Click on it.

7. In the Available Extensions window search for COS.Point Distance.


Click in the box to the left to place a .

8. Now click on the OK button.

9. A button, looking like , is added to your View Buttonbar. Too, a


menu item is added to your Project menu. (Both perform the same actions).
The menu item looks like this:

USING THE EXTENSION

1. Just push the button or chose the menu item and answer the
questions. The program does the rest.

PointDistance 2 of 2 08/17/10
City of Scottsdale GIS

You might also like