Mobile Line Of Business

Richard Jones (MVP)

  Home  |   Contact  |   Syndication    |   Login
  202 Posts | 0 Stories | 36 Comments | 0 Trackbacks


Welcome to the Mobile Line Of Business Blog

Tag Cloud


Post Categories


So I thought, ahead of new year, I should just prove end-to-end the components of the GPSd service.   What better way than to plot our current position on a map.

Using a converted version of the GPSd client, that we talked about previously,  I parse the NMEA data coming from the GPS and produce an XML file of the following -

<?xml version="1.0" encoding="utf-8" ?>

This process runs continually only when we have a valid GPS position (this is important to avoid getting really lost).    I haven't quite finished this bit,  but will post it when complete.


Now the fun bit.   Using a very simple web page and a little bit of AJAX,  we plot a map using Virtual Earth.   Then using AJAX we poll our XML location file every 5 seconds.     We then parse the returned XML and draw an icon on the map.


The icon can of course be anything you like, I've chosen an executive jet :-)

The illusion is then complete, we have a continually updating map showing our current location from wherever the GPSd is running.

I guess, I was thinking that this would be a great web-page to available when you initially connected to the aircrafts/ships wireless network.

Full source 


NMEA parser to follow.

Please let me know if this application is of any use to you?


Happy New Year!

posted on Wednesday, December 31, 2008 11:46 AM


# re: Moving Map, With Virtual Earth 12/31/2008 1:21 PM Lou
I like this idea - It's been neat to follow your recent GPS/Mobile posts!

Post A Comment