Oops, that should have been: First off, in GRASS you index the line and areas from 1 to N, not 0 to N-1. ^ ^ -- Dave Gerdes US Army Construction Engineering Research Lab Spatial Analysis & Systems Team dpgerdes at cerl.cecer.army.mil (217) 352-6511 x591