Skip to content

Commit

Permalink
bring back See You support (GPSBabel#1280)
Browse files Browse the repository at this point in the history
I think someone was waiting for me to say no. Sometimes, "good enough" (for users with no representation here...) seems to be.
Co-authored-by: Robert Lipe <[email protected]>
  • Loading branch information
tsteven4 authored Sep 14, 2024
1 parent 806bc39 commit 17fb7ed
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 0 deletions.
1 change: 1 addition & 0 deletions gpsbabel.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<qresource prefix="/">
<file>style/arc.style</file>
<file>style/csv.style</file>
<file>style/cup.style</file>
<file>style/custom.style</file>
<file>style/garmin301.style</file>
<file>style/garmin_g1000.style</file>
Expand Down
1 change: 1 addition & 0 deletions reference/format0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ nmea NMEA 0183 sentences
osm osm OpenStreetMap data files
ozi OziExplorer
qstarz_bl-1000 Qstarz BL-1000
cup cup See You flight analysis data
skytraq SkyTraq Venus based loggers (download)
skytraq-bin bin SkyTraq Venus based loggers Binary File Format
subrip srt SubRip subtitles for video mapping (.srt)
Expand Down
1 change: 1 addition & 0 deletions reference/format1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ file nmea NMEA 0183 sentences
file osm osm OpenStreetMap data files
file ozi OziExplorer
file qstarz_bl-1000 Qstarz BL-1000
file cup cup See You flight analysis data
serial skytraq SkyTraq Venus based loggers (download)
file skytraq-bin bin SkyTraq Venus based loggers Binary File Format
file subrip srt SubRip subtitles for video mapping (.srt)
Expand Down
1 change: 1 addition & 0 deletions reference/format2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ file rwrw-- nmea NMEA 0183 sentences
file rw-wrw osm osm OpenStreetMap data files
file rwrwrw ozi OziExplorer
file r-r--- qstarz_bl-1000 Qstarz BL-1000
file rw---- cup cup See You flight analysis data
serial r-r--- skytraq SkyTraq Venus based loggers (download)
file r-r--- skytraq-bin bin SkyTraq Venus based loggers Binary File Format
file ---w-- subrip srt SubRip subtitles for video mapping (.srt)
Expand Down
18 changes: 18 additions & 0 deletions reference/format3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,24 @@ option ozi codec codec to use for reading and writing strings (default windows-1

file r-r--- qstarz_bl-1000 Qstarz BL-1000 qstarz_bl-1000
https://www.gpsbabel.org/WEB_DOC_DIR/fmt_qstarz_bl-1000.html
file rw---- cup cup See You flight analysis data xcsv
https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html
option cup snlen Max synthesized shortname length integer 1 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snlen

option cup snwhite Allow whitespace synth. shortnames boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snwhite

option cup snupper UPPERCASE synth. shortnames boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snupper

option cup snunique Make synth. shortnames unique boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snunique

option cup urlbase Basename prepended to URL on output string https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_urlbase

option cup prefer_shortnames Use shortname instead of description boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_prefer_shortnames

option cup datum GPS datum (def. WGS 84) string https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_datum

option cup utc Write timestamps with offset x to UTC time integer -14 +14 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_utc

serial r-r--- skytraq SkyTraq Venus based loggers (download) skytraq
https://www.gpsbabel.org/WEB_DOC_DIR/fmt_skytraq.html
option skytraq erase Erase device data after download boolean 0 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_skytraq.html#fmt_skytraq_o_erase
Expand Down
9 changes: 9 additions & 0 deletions reference/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,15 @@ File Types (-i and -o options):
proxunit Unit used in proximity values
codec codec to use for reading and writing strings (defa
qstarz_bl-1000 Qstarz BL-1000
cup See You flight analysis data
snlen Max synthesized shortname length
snwhite (0/1) Allow whitespace synth. shortnames
snupper (0/1) UPPERCASE synth. shortnames
snunique (0/1) Make synth. shortnames unique
urlbase Basename prepended to URL on output
prefer_shortnames (0/1) Use shortname instead of description
datum GPS datum (def. WGS 84)
utc Write timestamps with offset x to UTC time
skytraq SkyTraq Venus based loggers (download)
erase (0/1) Erase device data after download
targetlocation Set location finder target location as lat,lng
Expand Down
46 changes: 46 additions & 0 deletions style/cup.style
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# (c) 2006, Robert Lipe, based on sample files by Krzysztof Wojtas
# Reference info: http://www.seeyou.ws/thankyou.php?fname=cup_format.pdf
# Reference info: http://download.naviter.com/docs/cup_format.pdf
# Reference info: http://www.keepitsoaring.com/LKSC/Downloads/cup_format.pdf
#

DESCRIPTION See You flight analysis data
SHORTLEN 8
EXTENSION cup
#
#
# FILE LAYOUT DEFINITIIONS:
#
FIELD_DELIMITER COMMA
RECORD_DELIMITER NEWLINE
BADCHARS ,"
PROLOGUE name,code,country,lat,lon,elev,style,rwdir,rwlen,freq,desc
EPILOGUE -----Related Tasks-----


IFIELD IGNORE,"", ""%s""
IFIELD SHORTNAME,"", "%s"
IFIELD CONSTANT,"", ""
IFIELD LAT_DDMMDIR, "%f", "%08.3f", "absolute"
IFIELD LON_DDMMDIR, "%f", "%09.3f", "absolute"
IFIELD ALT_METERS,"", "%dm"
IFIELD CONSTANT,"", "1"
IFIELD CONSTANT,"", ""
IFIELD CONSTANT,"", ""
IFIELD CONSTANT,"", ""
IFIELD DESCRIPTION,"", ""%s""

OFIELD SHORTNAME,"", ""%s""
OFIELD SHORTNAME,"", "%s"
OFIELD CONSTANT,"", ""
OFIELD LAT_DDMMDIR, "", "%08.3f%c"
OFIELD LON_DDMMDIR, "", "%09.3f%c"
OFIELD ALT_METERS,"", "%3.1fm"
OFIELD CONSTANT,"", "1"
OFIELD CONSTANT,"", ""
OFIELD CONSTANT,"", ""
OFIELD CONSTANT,"", ""
OFIELD DESCRIPTION,"", ""%s""


14 changes: 14 additions & 0 deletions xmldoc/formats/cup.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<para>
This format supports flight analysis data from the
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://naviter.com/seeyou-makes-you-a-better-pilot/">See You</link>
program.
</para>
<para>
Position information is preserved, but the aviation-specific
information such as runway length and airport frequency, are
written as blanks and ignored on read.
</para>
<para>
Tasks are not supported.
</para>

0 comments on commit 17fb7ed

Please sign in to comment.