WEEK 13

Moving ArcView files...a time-saving maneuver

  • When moving a map from one computer to another, have you ever had the new file ask you, over and over again, to locate all the shape files and .dbf files?  If so, consider the following approach, particularly when there are many shape files in a single project.
  • When you go to File|Save Project As  in ArcView, you create an .apr file that is a "project" file.  This file is a template that brings back the shape files you chose with the themes colored the way you chose them to be colored, and so forth. It is the top level of a spatial hierarchy!  The .apr file is a text file
  • Text files can be edited in text editors, such as Windows NotePad. 
    • First, open up the .apr file in ArcView and set the working directory to something you want.  Then, save the .apr file again, from ArcView.
    • Next, open up the .apr file in NotePad (it may ask to put the file in WordPad if the file is too large--that is fine).
    • Use the "find" command to find the first occurence of "path c:\esri" or wherever the shape files were saved. 
    • Then, use the replace command to replace c:\esri with d:\esri (or whatever you need).  You may or may not wish to use a global replace command.  You retain the most control simply by repeating use of the "find" command and typing in suitable changes.
Other possibly useful tools, scripts and extensions, in ArcView
  • Point-in-polygon script (not in the ArcView default package--it's in my ifs space and is called ptinpoly.ave--help yourself).  This script allows you to count the number of points inside given polygons.  So, you need a point file and a polygon file (such as a buffer file) to be active.  Run the script and follow the wizards.
  • Try the equivalent "intersect" in x-tools; the graphic display is equivalent to point-in-polygon.  The underlying attribute tables, however, are different.  In the point-in-polygon approach, a simple count of dots is given, only.  In the X-tools approach, the attribute table can be brought along with the dots.
  • Other features in X-Tools and Animal Movement (both available in lab). Use US cities and rivers as an example; buffer the rivers at 50 miles.
    • Add xy coordinates in Movement (only to selected elements in attribute table).
    • Jennrich-Turner Probability ellipse (in Home Range pull-down)--center of ellipse is arithmetic mean of xy coordinates--think about last time with spider diagrams centered on the arithmetic mean.
    • Home Range, Kernel produces contouring by probability contours and often quite interesting results on point files.  In the case of this example, megalapolitan areas are selected depending on city density within them.
  • Various other features in Spatial Analyst Extension--various contouring approaches--IDW is inverse distance weighted (distance decay)--compare to Hagerstrand and spatial diffusion and spatial hierarchy.
Online mapping--conversion of ArcView files to html mapping.