Thanks to all that replied to the message. We took one of the C routines, converted it to PHP and have it working. We didn't get a chance to confirm the results, but it looks as if its in the ball park for finding square footage of a parking lot. Thank you, Chad