The Core

Why We Are Here => Hardware & Technology => Topic started by: ukgimp on September 21, 2012, 09:15:28 PM

Title: Live GPS to Website
Post by: ukgimp on September 21, 2012, 09:15:28 PM
I want to have a realtime feed from a GPS unit to a website (Wordpress)

Has anyone seen this or know how this could be done.

Any good examples would be ace.

Thanks.
Title: Re: Live GPS to Website
Post by: JasonD on September 22, 2012, 02:01:30 PM
The absolutely simplest way is to do it via the html5location API in a browser.

Imagine a perm web page open "on your mobile" that has a simple meta refresh every X hour or so. The web page access the GPS coordinates etc via the location abstraction layer and pings your server with the details. Once its server side it's a proverbial piece of cake.

http://html5demos.com/geo
Title: Re: Live GPS to Website
Post by: ukgimp on September 22, 2012, 03:30:09 PM
This looks interesting, just have to figure out what sort of device was needed.

http://opengts.sourceforge.net/
Title: Re: Live GPS to Website
Post by: ukgimp on September 22, 2012, 03:38:54 PM
http://www.naonline.co.uk/gps-tracker/trackstick-super.php
Title: Re: Live GPS to Website
Post by: JasonD on September 22, 2012, 04:51:07 PM
Gimpy, what are you trying to track because it feels like you are trying to over complicate it

http://www.mobilefun.co.uk/sim-free-bluechip-neon-android-smartphone-p35669.htm £50 and 30 mins html  - Bobs your uncle!
Title: Re: Live GPS to Website
Post by: ukgimp on September 22, 2012, 06:06:10 PM
You know about my trip from UK to Alaska with no real knowledge of how we are getting from NYC to Alaska. Well I would like a GPS unit that feeds back our location. I want to avoid massive data costs and it needs to work in the middle of the Atlantic, on a boat, in a plane.

I suppose I am after easy.
Title: Re: Live GPS to Website
Post by: JasonD on September 22, 2012, 06:13:16 PM
I presumed that is what it was for. :)

If you do it my way, it will all ... just work... as long as there is a data connection (wifi, 3g, gprs etc of some kind) and it will auto update and be available and in real time.

So, presuming we can cover everywhere other than the boat in the middle of the Atlantic due to no data connection, although in reality the boat is likely to have a wifi connection you can pay for, this will ping your server with co ords of where you. The server will receive the co ordinates and post / update whatever needs to be updated. It will need some basic html and a little adaptation to a plugin or script to receive the ping.

Whatever route you end up going there has to be a return path to your server for the co ordinates to get there so whether it be SMS or IP connection, you will need a mobile signal / wifi etc to get the information back to the sever in real time. If you forego realtime then it becomes even simpler and you may as well just do it manually when you are back.