1GSHHS(1) Generic Mapping Tools GSHHS(1)
2
3
4
6 gshhs - Extract ASCII listings from binary GSHHS or WDBII data files
7
9 gshhs binaryfile.b [ -L ] > asciifile.txt
10
12 gshhs reads the binary coastline (GSHHS) or political boundary or river
13 (WDBII) files and extracts an ASCII listing. It automatically handles
14 byte-swabbing between different architectures. Optionally, only seg‐
15 ment header info can be displayed
16
17 binaryfile.b
18 GSHHS or WDBII binary data file as distributed with the GSHHS
19 data supplement. Any of the 5 standard resolutions (full, high,
20 intermediate, low, crude) can be used.
21
22 -L Only outlut a listing of polygon or line segment headers
23 [default outputs headers and data records].
24
26 To convert the entire intermediate GSHHS binary data to ASCII, run
27
28 gshhs gshhs_i.b > gshhs_i.txt
29
30 To only get a listing of the headers for the river data set at full
31 resolution, try
32
33 gshhs wdb_rivers_f.b -L > riverlisting.txt
34
36 While the GSHHS data is organized as a set of closed polygons, the
37 rivers and boundary data are just a set of line segments in no particu‐
38 lar order. Thus, it is not possible to extract information pertaining
39 to just one river or one country.
40
42 GMT(1), gshhs_dp(1) gshhstograss(1)
43
44
45
46GMT 4.3.1 15 May 2008 GSHHS(1)