Locationmapr is a project mainly written in JAVASCRIPT and RUBY, it's free.
A simple web app for viewing your iPhone location database in Google Maps
Just a quick webapp to view your iPhone "consolidated.db" location database in Google Maps by date range. You'll need to locate your consolidated.db and copy it to the root of the app. Red indicates a "HorizontalAccuracy" of <= 500, while blue is > 500.
git clone git://github.com/drtoast/locationmapr.git
rvm use ruby-1.9.2-p180
bundle
see http://petewarden.github.com/iPhoneTracker/
cd locationmapr
ruby app.rb
http://localhost:4567