Streming live data to website and...

User 1810492 Photo


Registered User
10 posts

Just wondering if anyone knows how I would go about this, I have done a few google searches and come up with nothing,

I want to send a GPS postition to the web server every 10? seconds and have the server log it for 24 hours before chucking it out, there will be multiple receivers doing it so they will need to have there own login/password when they make the connection, the client will then use this same login/password to retrieve the data live or there desktop software will give them the option to download the stored track.

Any help with where to start would be highly appreciated,

I mostly code in HTML but am open to learning php or whatever I need to do it.

Cheers Benn
The reasonable man adapts himself to the world;
the unreasonable one persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man.
User 184085 Photo


Ambassador
1,707 posts

searching gps to google maps should get you the scripts you need :)
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 1810492 Photo


Registered User
10 posts

Thanks for the suggestion David but I am not going to use Google maps in the application, as some users will not have access to the internet, there data will be short range only and stream via radio link to laptop instead, but for the users who do have access, I want to be able to do the same thing over the internet

Will carry on googling,

Cheers Benn
The reasonable man adapts himself to the world;
the unreasonable one persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man.
User 131437 Photo


Ambassador
151 posts

What recievers and platforms you intend to use in the field sort of matters before making any firm recommendations.

I did a project very similar to yours a couple of years ago. Because cost was an issue for my client we finally went with MobiControl from SOTI soti.net. They intend their product for Windows Mobile platform but it works on XP/Vista platforms too. The functionality you are looking for is built right in.

You might look at XMap and XMap web from Delorme Keith Grey is great to work with they have a PN reciever with satellite reciever that could work.

You could also look into Visual CE from Syware syware.com but be aware customer service isn't there strong point.

If cost isn't an issue then hands-down ESRI is the way to go. Be warned about ESRI you will need one or two C++ or VB developers.
Visit <a href="http://leviabbott.com" target="_blank">LeviAbbott.com</a>!
User 1810492 Photo


Registered User
10 posts

I intend to use Trimble Copernicus Recievers through a cellular modem,(Modem yet to be chosen) on the roving end, it will be powered by a microprocessor and once running requires no user interaction
On the Base end The Map software is called Maptoaster, there is a small app I have half written (WIP) that allows me to read in the GPS data and remove an identifier from the front before passing it via a serial port to Map toaster, it is New Zealand based mapping software,

My issue is with how to get the data across the big space in the middle,

I have the system working with a radio link but efffectivley that is just a really really long serial cable. and only good for one rover, unless the pc has multiple serial ports it also liimts range quite considerably

The identifier at the start will be added buy the microprocessor so that one customers data/rover is not confused with another's

Any help is appreciated
The reasonable man adapts himself to the world;
the unreasonable one persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man.
User 131437 Photo


Ambassador
151 posts

I think that for what your describing you will want to hire a C++ or C# developer and have them code a small simple app that parses and stores the NEMA string into an XML or GML file. This should be a relatively easy and inexpensive because as you said it is simply opening and reading incoming data from a serial port. I would recommend storing the entire NEMA string as well as parsing the LAT/LON/ALT/UTC data. Storing the entire NEMA string will allow (if it is ever needed) for expanded development in the future for example supporting post-processing and also make testing debugging easier. The additional storage space would be almost negligible.

Storing the data in XML or GML also makes the data easy to integrate and transfer. Almost every high language supports read/write parse functions of XML. HTML and GML are both markup languages that have the same origins as XML. Markup languages were created to overcome the exact issues that you face.

I would suggest that you look for more detailed help in GIS or geo-caching communities those geeks live for what your implementing. Keywords to seach would be NEMA string, GIS, geocaching, and GML. A C++ app is really the best way to go with this I think. Chances are very good that map toaster has an API for developers and/or supports importing ESRI, XML, or GML data. To save alot of headaches make sure your develper has actual experience with GIS and raw NEMA strings. GIS has some quirks that can really throw even competent developers if they aren't familar with the technolgy.

By the way nice choice for receiver they are really nice!
Visit <a href="http://leviabbott.com" target="_blank">LeviAbbott.com</a>!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.