gpsTraces allows to turn your device in a sensor! It saves your devices GPS location, altitude, and accelerometer to a text file.
Doing so you will be able to explore raw data about motion and location of your device. The app works seamlessly in background.
gpsTraces can save JSON or CSV files and are easy to export from iTunes.