Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use ArcGIS 10 I want to use an arcscript to compute an index of ruggedness for each cell of my map. For this purpose, I found, Evan's TRI.aml script here:

I have never added a script to ArcGIS before. So I downloaded it, and aded to as a script to my newly created toolbox. However, I do not know what to enter when I am asked to add parameters, and if I don't add any I cannot use the script when I double click on it.

This might seem very basic, but I would really appreciate some help to understand this. No specific indication on "parameters"is available on the website from which I downloaded the aml file.

share|improve this question
Do you have ArcInfo Workstation installed? – blah238 Sep 5 '13 at 17:02
You might look at this:… – johns Sep 5 '13 at 17:10
up vote 5 down vote accepted

ArcInfo Macro Language (AML) is old in ESRI Terms though it is possible to run .amls in ArcGIS 10.0 if you have the right requirements:

It's possible to use ARC Macro Language (AML) files in the ArcGIS Desktop environment by creating a new geoprocessing script tool. If you have an ArcInfo license and ArcInfo Workstation installed, you can add a custom script tool that references an AML.

Though the recommendation is to convert it to Python

Using AML with script tools (ArcGIS 10.0 with Workstation installed)

share|improve this answer
Thank you for your answer, I think I'm just gonna go for converting the script to Python – Doon_Bogan Sep 6 '13 at 8:06

You don't need to create a Tool to run the AML. If you have ArcInfo installed follow these steps.

copy the aml to that same folder as your DEM
open a cmd window
cd to the folder where your DEM is located
enter arc
enter &r tri.aml yourdem outputdem

share|improve this answer
For clarification sake, you actually need to have ArcInfo WORKSTATION installed. This is different than an ArcGIS (ArcMap) ArcInfo license. – RyanDalton Sep 5 '13 at 19:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.