GSHHG2GRASS(1) Generic Mapping Tools GSHHG2GRASS(1)NAMEgshhgtograss - Extracting GSHHS and WDBII data in GRASS-compatible
ASCII format
SYNOPSISgshhgtograss-i gshhs_[f|h|i|l|c].b [ -xminx ] [-Xmaxx ] [ -yminy ] [
-Ymaxy ]
DESCRIPTIONgshhgtograss reads the binary coastline (GSHHS) or binary river/border
(WDBII) and and translates it into an ASCII format suitable for import
into GRASS. It automatically handles byte-swabbing between different
architectures.
gshhs_[f|h|i|l|c].b
One of the GSHHG binary data file as distributed with the GSHHG
data supplement. Any of the 5 standard resolutions (full, high,
intermediate, low, crude) can be used. The resulting files are
called dig_[ascii|att|cats].gshhs_[f|h|i|l|c].
OPTIONS-x Specify a minimum (west) longitude.
-X Specify a maximum (east) longitude.
-y Specify a minimum (south) latitude.
-Y Specify a maximum (north) latitude.
EXAMPLES
To convert the full GSHHS data set , try
gshhgtograss gshhs_f.b
BUGS
Not updated to handle the WDBII line data (borders or rivers).
AUTHOR
Original version by Simon Cox (simon@ned.dem.csiro.au) with some main‐
tenance by Paul Wessel (pwessel@hawaii.edu).
SEE ALSOGMT(1), gshhg(1)gshhg_dp(1)GMT 4.5.14 1 Nov 2015 GSHHG2GRASS(1)