Scripts

Home

GIS Research in Longwood Medical Area

GIS at Harvard University

FAQs

Sources of spatial data

Scripts

Spatial Statistics

Links

A large number of scripts are available from www.esri.com under support, downloads, ArcScripts. It is usually best to specify the software you are using (e.g. ArcGIS desktop or ArcView) when you are searching for scripts. ESRI requires you to register to use some features of its website, but there is no charge.

ET Spatial Techniques has free scripts taht can be used with the ArcGIS Field Calculator. Go to "Free ArcGIS tools" and download "Easy Calculate".

Andy Houseman, a Research Associate in the Department of Biostatics, Harvard School of Public Health, has posted some scripts he developed using Avenue for ArcView 3.x on the web at www.biostat.harvard.edu/~ahousema/arcview.index.html

As a novice Visual Basic programmer I have found it convenient to edit attribute tables by loading scripts into the field calculater. Some scripts I frequently use are:

Calculate area in map units

Return x - coordinate (Replace x with y or z to get y and z-coordinates. Z-coordinates only available for 3-d points)

Return length of an arc

Get X coordinate of a polygon's centroid

Get Y coordinate of a polygon's centroid