GSHHS2GRASS(1gmt) Generic Mapping Tools GSHHS2GRASS(1gmt)NAME
gshhs2grass - Extracting GSHHS and WDBII data in GRASS-compatible ASCII format
SYNOPSIS
gshhs2grass -i gshhs_[f|h|i|l|c].b [ -xminx ] [-Xmaxx ] [ -yminy ] [ -Ymaxy ]
DESCRIPTION
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
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 maintenance by Paul Wessel (pwessel@hawaii.edu).
SEE ALSO GMT(1), gshhs(1)gshhs_dp(1)GMT 4.5.7 15 Jul 2011 GSHHS2GRASS(1gmt)
Check Out this Related Man Page
GMT2DAT(1gmt) Generic Mapping Tools GMT2DAT(1gmt)NAME
gmt2dat - Convert a binary gmt file to an ASCII file
SYNOPSIS
gmt2dat gmtfile
DESCRIPTION
gmt2dat reads a <legid>.gmt file and converts it to a regular ASCII text file that can be edited using the text editor. The ASCII text is
sent to standard output and can be redirected to a file/program/printer, etc.
EXAMPLES
To convert c2104.gmt to ASCII:
gmt2dat c2104.gmt > c2104.ascii
SEE ALSO dat2gmt(1), GMT(1)REFERENCES
Wessel, P., and W. H. F. Smith, 2011, The Generic Mapping Tools (GMT) version 4.5.7 Technical Reference & Cookbook, SOEST/NOAA.
Wessel, P., and W. H. F. Smith, 1998, New, Improved Version of Generic Mapping Tools Released, EOS Trans., AGU, 79(47), p. 579.
Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, EOS Trans., AGU, 76(33), p. 329.
Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, http://www.agu.org/eos_elec/95154e.html, Copyright
1995 by the American Geophysical Union.
Wessel, P., and W. H. F. Smith, 1991, Free Software Helps Map and Display Data, EOS Trans., AGU, 72(41), p. 441.
GMT 4.5.7 15 Jul 2011 GMT2DAT(1gmt)
hi
i am receiving a file from one system , i have to verify the format of the file data i.e whether the data is in acii format or binary format,
please help
thanks in advance
satya (1 Reply)
Hi,
Is there a way to convert the binary file to ascii . the binary file is pipe delimited.
from source the file(pipe delimited) is ftped to mainframe and from mainframe it is ftped to the unix box using binary format. Is there a way to change it back to ascii and view it?
Thanks! (3 Replies)
Hi All,
I have a small query. I have a file containing the following lines
File 1:
29-Jul-2011 GMT Static data requires update <Extraction should start here>
-----------
-----------
--------------------
-----------------------
----------- <should stop here>
Pattern1 will be time... (2 Replies)
I have the code
message={TP=2012:09:23:00:00:00:GMT,SD=2012:09:23:00:00:00:GMT,SP=2,FT=CCGT,FG=3605}
I want to extract the FG=3605 parts of this. Please help. I am trying to do this using awk or unix. (5 Replies)
Hi All,
I have a binary file which is being exported from a Database, and i need to convert that to ASCII format. How can i achieve that? And this solution should work for any file which is given to us; means they will give different files from different tables.
Thanks in advance. (8 Replies)