Waypoint File (.wpt)
Line 1 : File type and version information
Line 2 : Geodetic Datum used for the Lat/Lon positions for each waypoint
Line 3 : Reserved for future use
Line 4 : GPS Symbol set - not used yet Waypoint data One line per waypoint each field separated by a comma comma's not allowed in text fields, character 209 can be used instead and a comma will be substituted. non essential fields need not be entered but comma separators must still be used (example ,,) defaults will be used for empty fields Any number of the last fields in a data line need not be included at all not even the commas.
Field 1 : Number - this is the location in the array (max 1000), must be unique, usually start at 1 and increment. Can be set to -1 (minus 1) and the number will be auto generated.
Field 2 : Name - the waypoint name, use the correct length name to suit the GPS type.
Field 3 : Latitude - decimal degrees.
Field 4 : Longitude - decimal degrees.
Field 5 : Date - see Date Format below, if blank a preset date will be used
Field 6 : Symbol - 0 to number of symbols in GPS
Field 7 : Status - always set to 1
Field 8 : Map Display Format
Field 9 : Foreground Color (RGB value)
Field 10 : Background Color (RGB value)
Field 11 : Description (max 40), no commas
Field 12 : Pointer Direction
Field 13 : Garmin Display Format
Field 14 : Proximity Distance - 0 is off any other number is valid
Field 15 : Altitude - in feet (-777 if not valid)
Field 16 : Font Size - in points
Field 17 : Font Style - 0 is normal, 1 is bold.
Field 18 : Symbol Size - 17 is normal size
Field 19 : Proximity Symbol Position
Field 20 : Proximity Time
Field 21 : Proximity or Route or Both
Field 22 : File Attachment Name
Field 23 : Proximity File Attachment Name
Field 24 : Proximity Symbol Name
Se aika:
Date Format Delphi stores date and time values in the TDateTime type. The integral part of a TDateTime value is the number of days that have passed since 12/30/1899. The fractional part of a TDateTime value is the time of day.
Following are some examples of TDateTime values and their corresponding dates and times:
0 - 12/30/1899 12:00 am
2.75 - 1/1/1900 6:00 pm
-1.25 - 12/29/1899 6:00 am
35065 - 1/1/1996 12:00 am
-teppo
*Out of the frying pan and into the fire*
*
www.laplandtrophy.com *
*
www.psory.fi *
Edited by - Scout on 19/08/2006 13:50:35