gshhgtograss1gmt
Extracting gshhs and wdbii data in grass-compatible ascii format
Usage
gshhgtograss -i
gshhs_
[{f | h | i | l | c}]
.b
[-xminx]
[-Xmaxx]
[-yminy]
[-Ymaxy]
Overview
gshhgtograss 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