Debian Codegraph @

xmldoc/formats/csv.xml

raw
1
2 <para> There are a billion variants of Comma Separated Value
3 data. This is the one specifically that makes <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.delorme.com">DeLorme</link> <trademark>S&amp;A Deluxe 9</trademark> happy. It's
4 also a very simple program and useful for many other programs like
5 spreadsheets, but contains only a very minimal information. For general
6 purpose use, you'll probably be more happy with our
7 <link linkend="fmt_unicsv">universal csv (unicsv)</link> format.</para>
8 <para> CSV is also the correct format for
9 <trademark>Lowrance MapCreate</trademark>,
10 their commercial mapping program, or GDM6 (their free waypoint
11 manager) for iFinder which is available at <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.lowrance.com/Software/GDM6/Default.asp">lowrance.com</link>
12 </para>
13 <para>
14 On write, this format writes simple "latitude, longitude, name" lines, but
15 on read it will read anything supported by our <link linkend="style_def_lathuman">human readable</link> definition.
16 </para>
17 <para>
18 For something-separated data that has headers identifying the various
19 fields, see our <link linkend="fmt_unicsv">universal csv</link> format.
20 </para>
21 <example xml:id="csv_example"><title>Example 'csv' file</title>
22 <programlisting>
23 35.97203, -87.13470, Mountain Bike Heaven by susy1313
24 36.09068, -86.67955, The Troll by a182pilot &amp; Family
25 35.99627, -86.62012, Dive Bomber by JoGPS &amp; family
26 36.03848, -86.64862, FOSTER by JoGPS &amp; Family
27 </programlisting>
28 <para>
29 that same data written in unicsv format would appear as:
30 </para>
31 <programlisting>
32 No,Latitude,Longitude,Name,Altitude,Description,Symbol,URL
33 1,35.972033,-87.134700,"GCEBB",0.0,"Mountain Bike Heaven by susy1313","geocache","http://www.geocaching.com/seek/cache_details.asp?ID=3771"
34 2,36.090683,-86.679550,"GC1A37",0.0,"The Troll by a182pilot &amp; Family","geocache","http://www.geocaching.com/seek/cache_details.asp?ID=6711"
35 3,35.996267,-86.620117,"GC1C2B",0.0,"Dive Bomber by JoGPS &amp; family","geocache","http://www.geocaching.com/seek/cache_details.asp?ID=7211"
36 4,36.038483,-86.648617,"GC25A9",0.0,"FOSTER by JoGPS &amp; Family","geocache","http://www.geocaching.com/seek/cache_details.asp?ID=9641"
37 </programlisting>
38 </example>