How to send GPS data using HTTP to a web site
This article is for developers who wants to post GPS data to his own web site using HTTP.
GpsGate 2.5.0 build 207 (and later) can send GPS data over http. Any web server can receive and process the position data sent to it.
Please follow those steps to configure GpsGate.
1. Start GpsGate
2. Open the Settings dialog
3. Go to the Output tab
4. Add a "GpsGate.com (Send)" plugin.
5. Click on "..." (or "More Options..." in the 2.6 Windows version)
6. Change the "Protocol" to "HTTP".
7. Set "Server" to your web server address E.g. www.myaddress.com
8. Set the "File path" to the script address. E.g. /gpsgate.php if /gpsgate.php is the page on your web server to process the requests. Do not forget the first "/".
8. Click OK
9. Now configure in which intervals you want GpsGate to send data to your web site.
10. Click OK.
URL format
The URL posted will have the following parameters:
longitude=34.2333&latitude=23.2222&altitude=34.0&speed=30.3&heading=234.5&date=20070529&time=123445.234&username=myuser&pw=encryptedpassword
longitude: Decimal degrees (WGS84)
latitude: Decimal degrees (WGS84)
altitude: Above sea level in meters.
speed: Speed over ground in knots
heading: Heading in degrees. 0 is north, 90 is east, 180 is south, 270 is west.
date: UTC data in the format: YYYYMMDD
time: UTC time in the format: HHMMSS.sss
username: The username specified.
password: The password specified with a simple encryption. The encryption/decryption algorithm can be found here:
topic.asp?TOPIC_ID=5638
End user deployment
All configuration in GpsGate are stored in XML files ending with the extension .ggXML, you can use those files for simpler configuration. If you prepare one ggXML file and copy it to the "Chains" folder in the GpsGate root directory, you can have a menu option with your settings ready in GpsGate!
GpsGate for Windows will also allow you to install a ggxml file over the web by clicking on it in a browser (this feature will soon be available in the PPC version as well). In this way you can provide a link to the ggxml file which contains the configuration to send data to your website.
Additional info
Note that you can also send data over TCP/IP and UDP using the "GpsGate.com (Send)" PlugIn.
When you select to send data to another server, no data will be sent to GpsGate.com
Regards,
Johan
Franson Support