gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Hoe to send GPS data from GPSD to remote Server/databas


From: Monali Bhattacharya
Subject: Re: [gpsd-users] Hoe to send GPS data from GPSD to remote Server/database server
Date: Thu, 9 Apr 2015 08:04:36 +0000

Is there any existing example program for this? I'm a beginner and it will be 
helpful if get some examples.

-----Original Message-----
From: Chris Kuethe [mailto:address@hidden
Sent: Thursday, April 09, 2015 12:16 PM
To: Monali Bhattacharya
Cc: address@hidden
Subject: Re: [gpsd-users] Hoe to send GPS data from GPSD to remote 
Server/database server

http://www.catb.org/gpsd/gpsd_json.html

The gpsd protocol can include device ID. Connect your receivers and run gpsd, 
then use gpsmon to view the devices...

On Wed, Apr 8, 2015 at 11:24 PM, Monali Bhattacharya <address@hidden> wrote:
> Thanks for the input. But I'm having this confusion. As I'm having 5( gps + 
> gpsd )running embedded device, in the single server side PC how can I get the 
> log of each separately and identify them.
>
>
> -----Original Message-----
> From: Chris Kuethe [mailto:address@hidden
> Sent: Thursday, April 09, 2015 11:11 AM
> To: Monali Bhattacharya
> Cc: address@hidden
> Subject: Re: [gpsd-users] Hoe to send GPS data from GPSD to remote
> Server/database server
>
> It's dead easy.
>
> You can do this in a couple of screens of python, perl, or php; open socket 
> to gpsd, create a connection to your chosen database, read lines of json, 
> parse json into dict/hash, sql insert (or update) items in the hash into the 
> database. repeat.
>
> Wacky thought: maybe you want to look at mongodb, since it takes json input 
> and gpsd emits json output.
> Larsen & Toubro Limited
>
> www.larsentoubro.com
>
> This Email may contain confidential or privileged information for the 
> intended recipient (s). If you are not the intended recipient, please do not 
> use or disseminate the information, notify the sender and delete it from your 
> system.



--
GDB has a 'break' feature; why doesn't it have 'fix' too?
Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended 
recipient (s). If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]