Sunday, February 19, 2006

DIY: Web-based GPS Tracking

Want to build your own web-based GPS tracking system? Look no further.

OpenDMTP or Open Device Monitoring and Tracking Protocol provides a small footprint framework and low bandwidth protocol just for that.

Download the source code for the client (which also includes the code for the server and the track.htm page mentioned below), compile it under Linux or Cygwin, run it on a laptop and have a NMEA 0183 compliant GPS receiver connected to it.

The framework includes support for communication to a server through a GPRS (General Packet Radio Service) modem. After uploading the data to a backend server, you will be able to see the data on a Google Maps based interface.

The server runs a OpenDMTP sockserv binary acting as a provider, your webserver needs to be able to serve a static page, track.html also from the OpenDMTP project that uses Google Maps (API key required).

Check here for the type of data you will get from the server after having data sent by the client during a road trip. This article provides more details if you want to delve further down.

No comments: