Comments (11)
Also, I don't understand what the track
and speed
are in UI parsed data. Other tags are self-explanatory. Could you perhaps add some explanation for these two variables in the readme? For example, I get N/A for the track
most of the time and I don't know how bad it is.
from pygpsclient.
Hi @dizcza ,
Thanks for your interest in PyGPSClient - glad you're finding it useful.
To answer your questions in order:
- There are no current plans to enable MQAPIKEY via an environment variable - this can require elevated privileges on some platforms which makes it more fiddly to implement on a consistent cross-platform basis. Hopefully the key file option can work for you.
- Simple answer is no - I'm using the MapQuest API because it's free (for non-commercial use up to 15,000 transactions a month) and relatively easy to implement. Out of interest, do you see any particular advantage in using Google Maps rather than MapQuest? The maps are equally reliable in my experience. If it's the refresh rate that troubles you, you can alter that by changing the
MAP_UPDATE_INTERVAL
constant inglobals.py
, but please appreciate that the map is only provided for quick visual reference purposes. It's not intended to be a full interactive navigation or geolocation aid. - Can you clarify which particular UBX or NMEA message type(s) you're referring to containing the
track
andspeed
attributes? Without knowing which device you're using or how/where it's configured, I can't speak for the particular readings you're getting, but if you tell me which message type you're getting it from I can at least advise on its interpretation.
from pygpsclient.
I'm using a Neo-6M. NMEA protocol.
from pygpsclient.
ok that's a fairly old device. which specific NMEA message type are you getting speed
and track
from?
from pygpsclient.
do you see any particular advantage in using Google Maps rather than MapQuest?
I can freely navigate in a google map.
from pygpsclient.
this can require elevated privileges on some platforms which makes it more fiddly to implement on a consistent cross-platform basis.
Why? The os
built-in module is cross-platform, isn't it?
import os
key = os.environ.get("MQAPIKEY")
Then I can launch the app with MQAPIKEY=... pygpsclient
. Linux folks will appreciate this.
from pygpsclient.
OK so the log you've provided contains a variety of NMEA messages - the message type is bit after <NMEA(,
so for example GPRMC
, GPVTG
, GPGLL
etc. (CAUTION - the coordinates in this log are now visible in the public domain)
The spd
attribute in the GPRMC message, for example, represents the speed over ground in knots; likewise the sogn
attribute in GPVTG. The sogk
attribute in GPVTG represents speed over ground in km/h. I would refer you to the data sheet for your particular device for further information, or post a general question in the u-blox support forum https://portal.u-blox.com/s/.
from pygpsclient.
do you see any particular advantage in using Google Maps rather than MapQuest?
I can freely navigate in a google map.
But, as I say, the map in PyGPSClient is not intended for navigation purposes - it's purely to provide a quick visual reference of the location and horizontal accuracy (where available) provided by the device. There are plenty of other apps available if you want to use a connected GNSS device for real-time navigation.
from pygpsclient.
CAUTION - the coordinates in this log are now visible in the public domain
True. I'll delete the log.
You're right about sticking to simplicity. Your app is cool anyway and perhaps it got working from the start just because it's simple, meant to have a quick look, and lacks features that otherwise would turn your project into a gigantic dependencies list (which would make me feel to search for a simpler solution).
from pygpsclient.
All right. Thanks for your help.
from pygpsclient.
All right. Thanks for your help.
More than happy to consider feature requests. I will as I say look into provisioning map keys as ENV variables, but I may not get round to it for a while. In the meantime, if there's any functionality you think PyGPSClient
could usefully provide within the context of a (relatively) simple Python/tkinter diagnostic and configuration tool, by all means raise the suggestion. Cheers.
from pygpsclient.
Related Issues (20)
- Pygpsclient crashes when "save configuration" on macos HOT 7
- PIL.Image has no attribute ANTIALIAS HOT 5
- Why the advanced configuratinos are hidden for socket server mode? HOT 3
- I'm getting a KeyError: 'serial_settings' from stream_handler.py when trying to use a socket as gnss source. Approx line 124 but I may have added some debug prints.
- KeyError: 'inactivity_timeout' when trying to use l-band spartn corrections:
- Support Ublox NTRIP Client (No MQTT) SPARTN format HOT 3
- Accuracy Estimate Reporting HOT 4
- SPARTN GNSS config - setting both key1 (CURRENT) and key2 (NEXT) to same value
- Aborts on macOS 13.2.1 with couldn't recognize data in image file iconmonstr-location-27-32.png HOT 5
- Saving L-band config into D9S HOT 4
- socket.timeout: timed out HOT 5
- KeyError on private RTCM3 messages HOT 3
- UI text unreadable in MacOS with Dark theme HOT 3
- Unable to start the Tk on Mac m1 HOT 2
- ValueError if pygpsclient starts without default configuration file
- Ublox Config Dialog with TCP Socket HOT 5
- Raspberry Pi 32-bit HOT 10
- incomplete configuration saving and loading HOT 4
- MacOSX 11.7.9 no idea what's wrong HOT 19
- vdop not populated for NMEA messages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygpsclient.