Many of you may not know my father lives on a sailboat. Sure he has tivo, laptops, GPS, GPRS Modem, DSL and cable (the later 2 only when not under sail) but a sailboat none the less. If I had been paying attention when he had been going on and on about his boat I could tell you how big it was. I do know it was made by 'Dufor'.
He is setting sail today on his annual vacation (I didn't realize people who lived on boats, needed a vacation) sailing from New Rochelle, NY to Newport, RI (Rhode Island, for those of you who's maps aren't printed in wall sized, is the tiny little state robbing both Connecticut and MA from some valuable shore line.)
Originally he was planning on soloing part of this 4 day journey, and having seen too many episodes of Gillian’s Island, Survivor (Richard Hatch is from RI, and we all know how messy THAT could get, and LOST) I decided it was a good excuse to mess around with Google Maps.
I created an email gateway that allows him to email latitude and longitude (from his GPS) to a certain email address which captures his position, and adds a data point to a scrolling (Thanks to Google) updating (thanks to me) map.
From a technical standpoint this may appeal to some of you, from a 'where is my dad' standpoint, it will appeal to even fewer of you. You can see the fruits of my labor at WheresDad or for people with Internet Explorer WheresDad For IE (I couldn't get some of the graphics working in IE).
How it works.
I have my email system set up to pipe email sent to a particular address to a php script that parses the email, extracts Lat, Long, and the accompanying note and inserts it into a mySQL database.
The website is a php script that reads the database, centers the MAP on the last (Chronologically) position, and draws a path backwards to the starting point. Any point that doesn't have a note attached to it gets added to the path, but no icon.
The overlay (in the non IE version) is a hacked up graphic. I use z-layers to get google’s map to appear under it.
If anyone has any questions about Google maps API, or has a project that could take advantage of google maps (Gigs? family? etc) let me know.
-Jason