Use a GPS and compare it to the data book for best results. (probably the data book is most accurate but, they should be close)

Try comparing it then to a pedometer and I would bet you'll see the folly in attempting to use one to measure hiking on the AT. (just too different of step length beween uphill and level walking)