A GIS based method for trail alignment planning