User avatar
johan
GpsGate
Posts: 14925
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Send GPS data using HTTP to your web site

Fri Aug 28, 2009 8:57 pm

You can fetch positions from a GpsGate hosted or self hosted server using "SOAP Platform Kit". More info here:
http://franson.com/forum/topic.asp?TOPIC_ID=8097

(Please start a new Topic for new questions.)

Regards,
Johan

Franson Support

holysaint
Posts: 26
Joined: Wed Nov 02, 2011 5:23 am

RE: GUIDE: Send GPS data using HTTP to your web site

Fri Nov 04, 2011 11:26 am

is this working at this time?

holysaint
Posts: 26
Joined: Wed Nov 02, 2011 5:23 am

RE: GUIDE: Send GPS data using HTTP to your web site

Fri Nov 04, 2011 1:04 pm

Hi Johan,

is there any updates for sending GPS data using HTTP to a web site?..

thanks

User avatar
johan
GpsGate
Posts: 14925
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Send GPS data using HTTP to your web site

Fri Nov 04, 2011 1:20 pm

This information is 4 years old, and has worked the same during that time.

If you have specific questions, please post NEW topics. And describe what you do, and what your problem is.

Regards,
Johan

GpsGate Support

napster
Posts: 6
Joined: Tue Nov 08, 2011 1:43 pm

RE: GUIDE: Send GPS data using HTTP to your web site

Tue Nov 08, 2011 1:46 pm

Hello,

are codes above still working for sending GPS data using HTTP to a web site?

User avatar
johan
GpsGate
Posts: 14925
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Send GPS data using HTTP to your web site

Tue Nov 08, 2011 3:52 pm

Yes, please test.

Post new questions to new topics in the forum.

Regards,
Johan

GpsGate Support

sg09
Posts: 95
Joined: Mon Feb 01, 2010 12:33 am

RE: GUIDE: Send GPS data using HTTP to your web site

Sat Jun 23, 2012 1:24 pm

Hi,
is it possible to send additional data using HTTP (like analog inputs or digital inputs) ?

User avatar
johan
GpsGate
Posts: 14925
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Send GPS data using HTTP to your web site

Sat Jun 23, 2012 2:27 pm

Please take a look at TrackerOne, which also supports HTTP
http://gpsgate.com/developer/gpsgate_trackerone

Regards,
Johan

GpsGate Support

grigor
Posts: 90
Joined: Mon May 14, 2012 6:41 pm
Location: Albania
Contact: Facebook Twitter Skype

RE: GUIDE: Send GPS data using HTTP to your web site

Tue Jun 26, 2012 3:46 pm

hello,

please can anyone help, i dont find the link donwload for "GpsGate.com (Send) plugin" :(

Thanks

User avatar
johan
GpsGate
Posts: 14925
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Send GPS data using HTTP to your web site

Tue Jun 26, 2012 3:52 pm

GpsGate Client is a program you install on your laptop. It is used to share a GPS connected to your laptop between multiple applications. You can also use it to send GPS data over a network, e.g. to GpsGate Server.

More info about GpsGate Client here:
http://gpsgate.com/products/gpsgate_client

GpsGate Client is not a plugin to GpsGate Server, it is a separate application.

Regards,
Johan

GpsGate Support

brizey02
Posts: 5
Joined: Tue Jul 12, 2011 2:17 am

RE: GUIDE: Send GPS data using HTTP to your web site

Sun Aug 26, 2012 7:59 pm

Load into postgis?

<?php
// attempt a connection
$dbh = pg_connect("host=5.5.5.5 dbname=geoserver user=****");
if (!$dbh) {
die("Error in connection: " . pg_last_error());
}

// escape strings in input data
$lat = pg_escape_string($_REQUEST['latitude']);
$lon = pg_escape_string($_REQUEST['longitude']);
$kt = pg_escape_string($_REQUEST['speed']);
$unit = pg_escape_string($_REQUEST['username']);

// execute query
$sql = "UPDATE gpsreports SET lat = '$lat', lon = '$lon', speed = '$kt', the_geom = PointFromText('POINT(' || lon || ' ' || lat || ')',4326) where imeix = '$unit'";
$result = pg_query($dbh, $sql);
if (!$result) {
die("Error in SQL query: " . pg_last_error());
}

echo "Data successfully inserted!";

// free memory
pg_free_result($result);
// close connection
pg_close($dbh);

?>

datasmith
Posts: 6
Joined: Sat Feb 23, 2013 2:27 pm
Location: Canada
Contact: Website

RE: GUIDE: Send GPS data using HTTP to your web site

Sat Feb 23, 2013 2:43 pm

Tony,
It appears that you are treating the HTTP Get as a REST web service correct?

My understanding of REST, is that ideally the HTTP Post verb should be used since intent is to update data as opposed to retrieving data.

Larry Smith

CSchwarz
Posts: 1
Joined: Fri Jun 13, 2014 6:02 am
Location: Australia

RE: GUIDE: Send GPS data using HTTP to your web site

Fri Jun 13, 2014 6:12 am

I have trouble getting to step #3!
-------------

Please follow those steps to configure GpsGate.
1. Start GpsGate
2. Open the Settings dialog
3. Go to the Output tab

------------------


I have just installed GPSGate and updated the plugins.
I can't find the OUTPUT tab anywhere!!

I have logged into GpsGateServer/SiteAdmin/ and clicked on the Settings tab and I only see the options:
License
Localization
Scripts
Admin User
Email
SMS
Branding
Cleanup

And if I go to GpsGateServer/VehicleTracker I only see the following options when I click on Settings:
Marker style
Track visualization
Localization


Please help me find the output section!

User avatar
johan
GpsGate
Posts: 14925
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Send GPS data using HTTP to your web site

Fri Jun 13, 2014 10:43 am

CSchwarz: This guide is about GpsGate Client, not about GpsGate Server.

Regards,
Johan

GpsGate Support

ramonoakz
Posts: 2
Joined: Mon Nov 09, 2015 1:59 pm
Location: Brazil

RE: GUIDE: Send GPS data using HTTP to your web site

Mon Nov 09, 2015 4:04 pm

Hi,

I'm new here. I have installed and I can track my android phone location using the GPS Gate Server and the GpsGate track installed on my phone.

I only want to get the latitude and longitude from GPS Gate server and send it to a Android App that I have been developing.

I know I can get my own location using the Android API but I'm using my phone only for testing it, in fact I want to use any vehicular GPS with GpsGate and send his coordinates to my Android App.

So I think this option "Send GPS data using HTTP" can help me if this give me a URL with the coordinates like the example of this post.

So, I have some questions:

- The option "GpsGate.com (Send)" exist in the actual version of GpsGate Server?

- The option "7. Set "Server" to your web server address E.g. www.myaddress.com" where you say www.myaddress.com is the website where has installed the GpsGate Server or this is a personal webservice?

Sorry for my poor english.

Return to “GpsGate for Developers”