[Gpsbabel-misc] track name in xcsv to kml conversion
GPSBabel converts and transfers data like waypoints, tracks & routes.
Brought to you by:
robertl
|
From: Joe D. <jnd...@ao...> - 2009-01-06 21:12:03
|
Hello, I'm trying to convert a "track" (actually just a couple of points) from a text file (tab-delimited) to a kml file to view in Google Earth. The TRACK_NAME does not appear in the kml file. Am I doing something incorrectly or is this a bug? Input files are below. Thanks, Joe Text file input: Track Name?Point Name?Index?Lat?Lon?Altitude?Time SF01_p00_r05?Start?1?37.739?-122.184?12500?2002-10-01T20:25:40Z SF01_p00_r05?Stop?2?37.756?-122.273?12500?2002-10-01T20:30:05Z style def file: # Format: name_lat_lon #?? Date: 12/23/2008 # DESCRIPTION? Name Index Lat Lon EXTENSION??? txt # # FILE LAYOUT DEFINITIIONS: # FIELD_DELIMITER TAB RECORD_DELIMITER NEWLINE BADCHARS ," DATUM???? WGS 84 DATATYPE? TRACK SHORTLEN? 32?# shortnames will be at most this many characters long. SHORTWHITE?? 1?# Allow whitespace in shortname PROLOGUE Name Lat Lon # # INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE: # IFIELD TRACK_NAME, "", "%s" IFIELD SHORTNAME, "", "%s" # Name IFIELD INDEX, "1", "%04d" # (Starts counting at one) IFIELD LAT_DECIMAL, "", "%f" # Latitude IFIELD LON_DECIMAL, "", "%f" # Longitude IFIELD ALT_FEET,"","%f" IFIELD ISO_TIME,"","%s" |