Kohteesta FEWiki
Loikkaa: valikkoon, hakuun


Tämä tyylitiedosto on aputiedosto gpsbabel ohjelmalle jolla gpsbabel osaa lukea SeaTrace ohjelman TRT-tiedostoja.

http://www.gpsbabel.org/htmldoc-1.3.5/style_define.html

Huomaa että allaoleva toimii gpsbabelin-1.3.5 versiossa. Esim. Ubuntu 8.04 versiossa on vasta 1.3.3 versio.

# Style file for gpsbabel to read SeaClear's companion SeaTrace's TRT file.
#  3 jun 08 harald, added datatype so we can filter output using gpsbabel track-filters.
#  7 Feb 06 Harald, first version

DESCRIPTION SeaTrace TRT format

DATATYPE    TRACK

#
COMMA   ,
FIELD_DELIMITER    COMMA
RECORD_DELIMITER    NEWLINE

# Look in the file seatrace.format for info on TRT files.
# first column i date (from computer)
#   20050907 15:08:12 CZ    # date, from computer!!
# second column is LAT as D.D
# third column is LON as D.D



#IFIELD YYYYMMDD_TIME,"","%ld"
IFIELD  GMT_TIME,"","%Y%m%d %H:%M:%S %Z" # 0 time
IFIELD  LAT_DECIMAL,"","%f" # 1 LAT
IFIELD  LON_DECIMAL,"","%f" # 2 LON
IFIELD  IGNORE,"","" # 3 SOG, GPS-speed, too jumpy usually
IFIELD  IGNORE,"","" # 4 true heading gps
IFIELD  IGNORE,"","" # 5 HDM
IFIELD  IGNORE,"","" # 6 mag. err.
IFIELD  IGNORE,"","" # 7 depth
IFIELD  IGNORE,"","" # 8 true wind dir rel. heading
IFIELD  IGNORE,"","" # 9 real wind dir
IFIELD  IGNORE,"","" # 10 geo wind dir
IFIELD  IGNORE,"","" # 11 TWS
IFIELD  IGNORE,"","" # 12 AWS
IFIELD  IGNORE,"","" # 13 speed parallell to wind (VMG?)
IFIELD  IGNORE,"","" # 14 HDM
IFIELD  PATH_SPEED_KNOTS,"","%f" # 15 LOG
IFIELD  IGNORE,"","" # 16 WP lat pos
IFIELD  IGNORE,"","" # 17 WP lon pos