gshhstograss(1gmt)

gshhstograss1gmt

Extracting gshhs and wdbii data in grass-compatible ascii format

Usage

gshhs2grass -i gshhs_ [{f | h | i | l | c}] .b [-xminx] [-Xmaxx] [-yminy] [-Ymaxy]

Overview

gshhs2grass reads the binary coastline (GSHHS) 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 GSHHS binary data file as distributed with the GSHHS 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

gshhs2grass gshhs_f.b

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

Bugs

Not updated to handle the WDBII line data (borders or rivers).

Author

Original version by Simon Cox ([email protected]) with some maintenance by Paul Wessel ([email protected]).

From gmt 4.5.7-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.