[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Where should I start from?
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] Where should I start from? |
Date: |
Wed, 19 Jun 2019 09:39:21 -0700 |
Yo raaj!
On Wed, 19 Jun 2019 15:28:44 +0800
raaj lokanathan <address@hidden> wrote:
> I have already run the gpspipe client to output the data in json
> format.
Also gpspipe does NMEA and raw output.
> What if I want to see the output such as the latitude and
> longitude?
Right there in the JSON. Right where you were looking. RTFM:
"man gpsd_json"
In the class:TPV, lat:XX and lon:YY. You'll also want to check the
mode to be sure th fix is valid.
Or, use libgps (man libgps) to do the JSON decode for you. Look in
sample client cgps (man cgps) for how that works in C.
If you are coding in Python then "import gps".
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgp3CGyre9_AW.pgp
Description: OpenPGP digital signature
- [gpsd-users] Where should I start from?, raaj lokanathan, 2019/06/12
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/12
- Message not available
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/17
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/17
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/17
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/18
- Message not available
- Re: [gpsd-users] Where should I start from?,
Gary E. Miller <=
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/23
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/24
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/26
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/26
- Message not available
- Re: [gpsd-users] Where should I start from?, Gary E. Miller, 2019/06/28