[Gpsbabel-misc] Tiger output
Brought to you by:
robertl
From: Gary P. <gpa...@ow...> - 2003-03-08 02:50:35
|
Try as I might, I cannot get the tiger output to work. It is supposed to output: lon,lat:symbol:label I can get a colon between the fields or a commaspace between the fields but I cannot get it to output this combination. The style file in the CVS Repository has the field delimiter as a colon - but when I tried it it did not work. The 'COMMASPACE' in the OField just outputs the text 'COMMASPACE' not ', ' and of course the ',' cannot just be put in the line or it would confuse the parser. The readme says "Note that only certain style file directives map these constants." But not which directives, so how do I get an comma output? Also, how would one get a # to output? Right now I have: # FILE LAYOUT DEFINITIONS: # FIELD_DELIMITER RECORD_DELIMITER NEWLINE BADCHARS COLON PROLOGUE tms-marker OFIELD LON_DECIMAL, "", "%08.5f" OFIELD CONSTANT, COMMASPACE, "%s" OFIELD LAT_DECIMAL, "", "%08.5f" OFIELD CONSTANT, ":reddot10:", "%s" OFIELD DESCRIPTION, "", "%-40.40s" # END |