View Single Post
  #3  
Old January 23rd 13, 12:43 AM posted to rec.aviation.soaring
pcool
external usenet poster
 
Posts: 69
Default CU turnpoints (Question for Brit users)

Hello Martin,

both lk8000 and xcsoar have a dedicated file for text informations about
waypoints.
In LK we call it WAYNOTES.txt , and it is documented in the manual.
There you can print all the text, pages if you want, for each waypoint just
like you would do for a mail to a friend.
But the problem for you is that you want to make a portable and common CUP
file for all programs, of course, and then you must stay with the CUP format
which has no line separations inside comment.

However, speaking for LK, it is very easy to agree on a line separation
which would be used while displaying the comment in the waypoint comment
box, which is scrollable as you well know.
For example, if we agree that we can all use the | character as a line
separator, then it wont hurt to see it if the software does not manage it.

I would suggest to consider the CUP "styles" carefully, because we do use it
to visualize symbols on the moving map, and for smart selection during
flight to give - for example - priority to mountain passes, or to special
places.
For thermals the NDB style is commonly used, I think.

regards
paolo


"Martin Gregorie" wrote in message
...

On Tue, 22 Jan 2013 14:50:02 +0000, Tim Newport-Peace wrote:


You might get more answers if you posted on Gliderpilot.Net, which is a
UK-specific group.

Basically, the reason you get a "goobly lump" is that in CUP files,
there is only one field for available for Description, but the BGA
Database has several field of Description, which are all concatenated
into one field in the CUP file, separated by commas.

I realize that's the reason that the displayed result is messy when the TP
file is fed to LK8000 or XCSoar: these programs treat the commas as just
another printable character and only line wrap at whitespace to prevent
words being split. What I'm trying to find out is if Jeff's TPSelect uses
commas as line delimiters because SYM, which I don't have a copy of, is
written treat commas as line delimiters. I've just mailed him as well
with the same question.

There is no mention of formatting very long descriptions in the "SeeYou
Waypoint file format description" on the naviter.com website, but as the
description can be arbitrarily long they must be using some form of line
wrapping, even in it is just 'start a newline every n characters'.

I'm only referring specifically to the BGA TP list because I know it
contains multi-line descriptions and that TPSelect injects commas at the
line breaks in its master file when its generating a CUP file: for CAI/
Winpilot output files it terminates the comment at the first linebreak.
The same considerations would apply to any other waypoint file that uses
the CUP file format.

I posted here because Naviter people sometimes read r.a.s and I don't
know whether the same applies to gliderpilot.net forums.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |