Dear author! I tried to set up GPSD and it always show FAILED. Please add a simple COM port connection to USB GPS device to show real GPS position and recording track and show "moving map". Thank you very much!
I'm not quite sure what you mean by add "moving map". You may have to be more explicit.
Since you mention COM port - I assume you are using Windows. However GPSD is not supported on Windows - https://gpsd.gitlab.io/gpsd/ - currently says "No, we don't support Windows — get a better operating system."
I feel I should explain a little more about the GPS Layer in Viking and GPSD itself - Viking's Manual is currently perhaps a little terse about GPSD setup - "You must set up gpsd correctly or use a GPSD server"
The GPS Layer tab 'Data Mode' is for transferring data to/from (now generally quite old) GPS devices via a serial connection (using the program GPSbabel in the background). For the serial port option the drop down list is those detected by Viking but you can type in any value as necessary even if it is not shown.
These options are not used in conjunction with GPSD.
The Realtime Tracking Mode is for use with GPSD. GSPD itself is split into two parts - 1 - the main GPSD program which communicates with the GPS device; and 2 - A client access library that allows other programs (such as Viking) to get data from the main GPSD program.
So Viking uses the client access library with options telling it how to access the GPSD program (Gpsd Host and Gpsd Port). This does not have any control over how the GPSD program itself connects to a GPS device.
So on Windows - Viking offers a GPSD client that can connect to running GPSD instance - but practically that means running a GPSD instance on different machine - i.e. one that supported by GPSD (see their website above) - which is of course quite a bespoke setup, not something a typical user would do. e.g. Notionally you could run a Virtual Machine on Windows of a version of Linux to run GPSD.
I hope that helps your understanding,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Rob!Thank you for your reply! I use Windows and mbtiles maps.
Viking is a great app and opens mbtiles quickly. But I want to
realtime tracking by GPS module (I have G-starIV) connected to COM5. I
found GPSD for windows ( GPSd-4-win_0.2.0.0) and when I run it it
connects to COM5 but not able to find NMEA source. And when I connect
Viking to GPSD, GPSD answers that Viking connecting as client but
doesn't get valid GPS data. So I request you is it possible to add to
Viking features a possibility to connect to COM instantly without
GPSD. With best regards and thanks, Roman.
I'm not quite sure what you mean by add "moving map". You may have to be more explicit.
Since you mention COM port - I assume you are using Windows. However GPSD is not supported on Windows - https://gpsd.gitlab.io/gpsd/ - currently says "No, we don't support Windows — get a better operating system."
I feel I should explain a little more about the GPS Layer in Viking and GPSD itself - Viking's Manual is currently perhaps a little terse about GPSD setup - "You must set up gpsd correctly or use a GPSD server"
The GPS Layer tab 'Data Mode' is for transferring data to/from (now generally quite old) GPS devices via a serial connection (using the program GPSbabel in the background). For the serial port option the drop down list is those detected by Viking but you can type in any value as necessary even if it is not shown.
These options are not used in conjunction with GPSD.
The Realtime Tracking Mode is for use with GPSD. GSPD itself is split into two parts - 1 - the main GPSD program which communicates with the GPS device; and 2 - A client access library that allows other programs (such as Viking) to get data from the main GPSD program.
So Viking uses the client access library with options telling it how to access the GPSD program (Gpsd Host and Gpsd Port). This does not have any control over how the GPSD program itself connects to a GPS device.
So on Windows - Viking offers a GPSD client that can connect to running GPSD instance - but practically that means running a GPSD instance on different machine - i.e. one that supported by GPSD (see their website above) - which is of course quite a bespoke setup, not something a typical user would do. e.g. Notionally you could run a Virtual Machine on Windows of a version of Linux to run GPSD.
I hope that helps your understanding,
Dear Rob!Thank you for your reply! I use Windows and mbtiles maps.
Viking is a great app and opens mbtiles quickly. But I want to
realtime tracking by GPS module (I have G-starIV) connected to COM5. I
found GPSD for windows ( GPSd-4-win_0.2.0.0) and when I run it it
connects to COM5 but not able to find NMEA source. And when I connect
Viking to GPSD, GPSD answers that Viking connecting as client but
doesn't get valid GPS data. So I request you is it possible to add to
Viking features a possibility to connect to COM instantly without
GPSD. With best regards and thanks, Roman.
I'm afraid that ((re)writing?) GPSD capabilities into Viking itself solely for Windows is unlikely to get done any time soon, since it's:
Of course this doesn't preclude anyone else from writing and submitting code to achieve this.