Beginnings of a GPS App

Friday, August 29, 2008

I just wanted to share the basics of my GPS app. Right now users have to be added with the django admin interface. As of now there is no security. Anybody can get/set another user's position (trying to keep it as simple as possible). The main page will poll the server every 3 seconds and update the marker position on the google map. I have tried this app using my laptop and a USB GPS device while walking around outside and it does work reasonably well except that you have to have a wireless connection.

Here is a zip containing the project. The gpsgame folder contains the django project. The gpsgameclient folder contains a python client that will send your current location to the server from any gpsd compatible device.

Below is a screenshot of the main page. In the first text box you'll have to type the name of the user you wish to monitor. If you want to manually set the users position you can type in the GPS coordinates into the other text boxes and click save.

0 comments: