GPS Lap will automatically log your laps. The app records your speed, average speed, altitudes and lap times. This app will work for running and walking.
GPS Lap was designed to record altitudes for use with ski runs.
Your recoded data can be simply copied and pasted into other apps so that you can retain your records.