IPhone Tracker

iPhone Tracker  is an open-source OS X application that maps the information that your device is recording about your movements based on the flaw in iTunes Backup that copied your consolidated location data to your computer.

Process
It works by opening up the backup and navigating to ~/Library/Caches/locationd/consolidated.db and reading it using a SQLite library. The exact database and table are unknown.