Skip to content

valkx/naiveGPXlogger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Русское описание

naiveGPXlogger for SignalK License: CC BY-SA 4.0

v. 0.1

A simple plugin that just records a stream of coordinates to a .gpx file in the user-defined directory.

Features

  • record points at a specified time interval or as coordinates arrive
  • recording points at a specified distance
  • creating a new segment when the position is lost during the specified time
  • one log for the whole trip or a separate log every day
  • store depth as Garmin extension
  • server reboot resistance

Usage

By end user

Check and uncheck checkbox "Write log" on plugin configuration page in "Plugin Config" menu of SignalK web admin.
The GaladrielMap can show a recordable file and has a switch in the interface to control the log recording.

By programmer

The naiveGPXlogger creates a navigation.trip.logging path in the SignalK data model. The value by this path is:

{
  "status": boolean,   
  "logFile": "full/log/file/name"
}

where "status" is the state of the record: is on or off; and "logFile" - full name of log file in server file system.
In order to enable logging, the client application must send a delta message for this path with "status": true
If at the same time the "logFile" will contain a directory path (with trailing slash) - the log will be recorded in this directory.
The log recording is stopped by sending a delta message with "status": false
The basic example is in the sample.html

Install&configure:

Use SignalK web admin interface to install plugin from SignalK Appstore as naivegpxlogger.
Restart SignalK,
Use Server -> Plugin Config menu to start plugin and configure parameters.

Support

Discussions

The forum will be more lively if you make a donation at ЮMoney

Paid personal consulting

About

Simple gpx logger for SignalK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.7%
  • HTML 9.3%