1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344
|
<HTML>
<HEAD>
<TITLE>pscoast</TITLE>
</HEAD>
<BODY>
<H1>pscoast</H1>
<HR>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
pscoast - To plot land-masses, water-masses, coastlines,
borders, and rivers
</PRE>
<H2>SYNOPSIS</H2><PRE>
<B>pscoast</B> <B>-J</B><I>parameters</I> <B>-R</B><I>west/east/south/north</I>[<B>r</B>] [
<B>-A</B><I>min</I><B>_</B><I>area</I>[<I>min</I><B>_</B><I>level</I> <I>[</I> <B>-E</B><I>azimuth/elevation</I> <I>]</I> <I>[</I> <B>-G</B><I>fill</I> <I>]</I> <I>[</I>
<B>-I</B><I>river[/pen]</I> <I>]</I> <I>[</I> <B>-K</B> <I>]</I> <I>[</I>
<B>-L</B><I>[</I><B>f</B><I>][</I><B>x</B><I>]lon0/lat0/slat/length[</I><B>m|n|k</B><I>]</I> <I>]</I> <I>[</I> <B>-M</B><I>[flag]</I> <I>]</I> <I>[</I>
<B>-N</B><I>border[/pen]</I> <I>]</I> <I>[</I> <B>-O</B> <I>]</I> <I>[</I> <B>-P</B> <I>]</I> <I>[</I> <B>-Q</B> <I>]</I> <I>[</I> <B>-S</B><I>fill</I> <I>]</I> <I>[</I>
<B>-U</B><I>[/dx/dy/][label]</I> <I>]</I> <I>[</I> <B>-V</B> <I>]</I> <I>[</I> <B>-W</B><I>pen</I> <I>]</I> <I>[</I> <B>-X</B><I>x-shift</I> <I>]</I> <I>[</I> <B>-Y</B><I>y-</I>
<I>shift</I> <I>]</I> <I>[</I> <B>-c</B><I>copies</I> <I>]</I> <I>[</I> <B>-bo</B><I>[</I><B>s</B><I>]</I> <I>]</I>
</PRE>
<H2>DESCRIPTION</H2><PRE>
<B>pscoast</B> plots grayshaded, colored, or textured land-masses
[or water-masses] on maps and [optionally] draws coast
lines, rivers, and political boundaries. Alternatively, it
can (1) issue clip paths that will contain all land or all
water areas, or (2) dump the data to an ASCII table. The
datafiles come in 5 different resolutions: (<B>f</B>)ull, (<B>h</B>)igh,
(<B>i</B>)ntermediate, (<B>l</B>)ow, and (<B>c</B>)rude. The full resolution
files amount to more than 55 Mb of data and provide great
detail; for maps of larger geographical extent it is more
economical to use one of the other resolutions. If the
user selects to paint the land-areas and does not specify
fill of water-areas then the latter will be transparent
(i.e., earlier graphics drawn in those areas will not be
overwritten). Likewise, if the water-areas are painted and
no land fill is set then the land-areas will be transpar
ent. The <I>PostScript</I> code is written to standard output.
No space between the option flag and the associ
ated arguments. Use upper case for the option flags and
lower case for modifiers.
<B>-J</B> Selects the map projection. Scale is UNIT/degree,
1:xxxxx, or width in UNIT (upper case modifier).
UNIT is cm, inch, or m, depending on the MEA
SURE_UNIT setting in .<A HREF="gmtdefaults.html">gmtdefaults</A>, but this can be
overridden on the command line by appending the c,
i, or m to the scale/width value.
<B>CYLINDRICAL</B> <B>PROJECTIONS:</B>
<B>-Jc</B><I>lon0/lat0/scale</I> (Cassini)
<B>-Jj</B><I>lon0/scale</I> (Miller)
<B>-Jm</B><I>scale</I> (Mercator - Greenwich and Equator as ori
gin)
<B>-Jm</B><I>lon0/lat0/scale</I> (Mercator - Give meridian and
standard parallel)
<B>-Joa</B><I>lon0/lat0/azimuth/scale</I> (Oblique Mercator -
point and azimuth)
<B>-Job</B><I>lon0/lat0/lon1/lat1/scale</I> (Oblique Mercator -
two points)
<B>-Jq</B><I>lon0/scale</I> (Equidistant Cylindrical Projection
(Plate Carree))
<B>-Jt</B><I>lon0/scale</I> (TM - Transverse Mercator, with Equa
tor as y = 0)
<B>-Jt</B><I>lon0/lat0/scale</I> (TM - Transverse Mercator, set
origin)
<B>-Ju</B><I>zone/scale</I> (UTM - Universal Transverse Mercator)
<B>-Jy</B><I>lon0/lats/scale</I> (Basic Cylindrical Projection)
<B>AZIMUTHAL</B> <B>PROJECTIONS:</B>
<B>-Ja</B><I>lon0/lat0/scale</I> (Lambert).
<B>-Je</B><I>lon0/lat0/scale</I> (Equidistant).
<B>-Jf</B><I>lon0/lat0/horizon/scale</I> (Gnomonic).
<B>-Jg</B><I>lon0/lat0/scale</I> (Orthographic).
<B>-Js</B><I>lon0/lat0/</I>[<I>slat/</I>]<I>scale</I> (General Stereographic)
<B>CONIC</B> <B>PROJECTIONS:</B>
<B>-Jb</B><I>lon0/lat0/lat1/lat2/scale</I> (Albers)
<B>-Jd</B><I>lon0/lat0/lat1/lat2/scale</I> (Equidistant)
<B>-Jl</B><I>lon0/lat0/lat1/lat2/scale</I> (Lambert)
<B>MISCELLANEOUS</B> <B>PROJECTIONS:</B>
<B>-Jh</B><I>lon0/scale</I> (Hammer)
<B>-Ji</B><I>lon0/scale</I> (Sinusoidal)
<B>-Jk</B>[<B>f|s</B>]<I>lon0/scale</I> (Eckert IV (f) and VI (s))
<B>-Jn</B><I>lon0/scale</I> (Robinson)
<B>-Jr</B><I>lon0/scale</I> (Winkel Tripel)
<B>-Jv</B><I>lon0/scale</I> (Van der Grinten)
<B>-Jw</B><I>lon0/scale</I> (Mollweide)
<B>NON-GEOGRAPHICAL</B> <B>PROJECTIONS:</B>
<B>-Jp</B>[<B>a</B>]<I>scale</I>[<I>/origin</I>] (polar (theta,r) coordinates,
optional <B>a</B> for azimuths and offset theta [0])
<B>-Jx</B><I>x-scale</I>[<B>l|p</B><I>pow</I>][<I>/y-scale</I>[<B>l|p</B><I>pow</I>]] (Linear, log,
and power scaling)
More details can be found in the <B><A HREF="psbasemap.html">psbasemap</A></B> man
pages.
<B>-R</B> <I>west,</I> <I>east,</I> <I>south,</I> and <I>north</I> specify the Region of
interest. To specify boundaries in degrees and min
utes [and seconds], use the dd:mm[:ss] format.
Append <B>r</B> if lower left and upper right map coordi
nates are given instead of wesn.
</PRE>
<H2>OPTIONS</H2><PRE>
<B>-A</B> Features with an area smaller than <I>min</I><B>_</B><I>area</I> in km^2
or of hierarchical level that is lower than
<I>min</I><B>_</B><I>level</I> or higher than <I>max</I><B>_</B><I>level</I> will not be
<B>-B</B> Sets map boundary tickmark intervals. See <B><A HREF="psbasemap.html">psbasemap</A></B>
for details.
<B>-C</B> Set the shade (0-255), color (r/g/b), or pattern
(<B>p|P</B><I>dpi/pattern</I>; see <B>-G</B>) for lakes [Default is the
fill chosen for "wet" areas (<B>-S</B>)].
<B>-D</B> Selects the resolution of the data set to use
((<B>f</B>)ull, (<B>h</B>)igh, (<B>i</B>)ntermediate, (<B>l</B>)ow, and
(<B>c</B>)rude). The resolution drops off by 80% between
data sets. [Default is <B>l</B>].
<B>-E</B> Sets the viewpoint's azimuth and elevation (for
perspective view) [180/90]'
<B>-G</B> Select painting or clipping of "dry" areas. Append
a shade, color, pattern, or <B>c</B> for clipping. Spec
ify the shade (0-255) or color (r/g/b), or
<B>-Gp</B><I>dpi/pattern</I>, where <I>pattern</I> gives the number of
the built-in pattern (1-90) OR the name of a Sun
1-, 8-, or 24-bit raster file. <I>dpi</I> sets the reso
lution of the image. For 1-bit rasters: use <B>-GP</B> for
inverse video, or append <B>:F</B><I>r/g/b</I>[<B>B</B>[<I>r/g/b</I>]] to spec
ify fore- and background colors (use <I>r/g/b</I> = - for
transparency). See <B><A HREF="GMT.html">GMT</A></B> Cookbook & Technical Refer
ence Appendix E for information on individual pat
terns.
<B>-I</B> Draw rivers. Specify the type of rivers and
[optionally] append pen attributes [Default pen:
width = 1, color = 0/0/0, texture = solid]. Choose
from the list of river types below. Repeat option
<B>-I</B> as often as necessary.
1 = Permanent major rivers
2 = Additional major rivers
3 = Additional rivers
4 = Minor rivers
5 = Intermittent rivers - major
6 = Intermittent rivers - additional
7 = Intermittent rivers - minor
8 = Major canals
9 = Minor canals
10 = Irrigation canals
a = All rivers and canals (1-10)
r = All permanent rivers (1-4)
i = All intermittent rivers (5-7)
c = All canals (8-10)
<B>-K</B> More <I>PostScript</I> code will be appended later
[Default terminates the plot system].
culated at latitude <I>slat</I>, <I>length</I> is in km [miles if
<B>m</B> is appended; nautical miles if <B>n</B> is appended].
Use <B>-Lf</B> to get a "fancy" scale [Default is plain].
<B>-M</B> Dumps a single multisegment ASCII (or binary, see
<B>-bo</B>) file to standard output. No plotting occurs.
Specify any combination of <B>-W,</B> <B>-I,</B> <B>-N</B>. Optionally,
you may append the <I>flag</I> character that is written
at the start of each segment header ['>'].
<B>-N</B> Draw political boundaries. Specify the type of
boundary and [optionally] append pen attributes
[Default pen: width = 1, color = 0/0/0, texture =
solid]. Choose from the list of boundaries below.
Repeat option <B>-N</B> as often as necessary.
1 = National boundaries
2 = State boundaries within the Americas
3 = Marine boundaries
a = All boundaries (1-3)
<B>-O</B> Selects Overlay plot mode [Default initializes a
new plot system].
<B>-P</B> Selects Portrait plotting mode [<B><A HREF="GMT.html">GMT</A></B> Default is
Landscape, see gmtdefaults to change this].
<B>-Q</B> Mark end of existing clip path. No projection
information is needed.
<B>-S</B> Select painting or clipping of "wet" areas. Append
the shade (0-255), color (r/g/b), pattern (see <B>-G</B>),
or <B>c</B> for clipping.
<B>-U</B> Draw Unix System time stamp on plot. User may spec
ify where the lower left corner of the stamp should
fall on the page relative to lower left corner of
plot. Optionally, append a label, or <B>c</B> (which will
plot the command string.). The GMT parameters
UNIX_TIME and UNIX_TIME_POS can affect the appear
ance; see the <B><A HREF="gmtdefaults.html">gmtdefaults</A></B> man page for details.
<B>-V</B> Selects verbose mode, which will send progress
reports to stderr [Default runs "silently"].
<B>-W</B> Draw coastlines. [Default is no coastlines]. Append
pen attributes [Defaults: width = 1, color = 0/0/0,
texture = solid].
<B>-X</B> <B>-Y</B> Shift origin of plot by (<I>x-shift,y-shift</I>). Prepend
<B>a</B> for absolute coordinates; the default (<B>r</B>) will
reset plot origin.
sion [Default is double].
</PRE>
<H2>EXAMPLES</H2><PRE>
To plot a green Africa with white outline on blue back
ground, with permanent major rivers in thick blue pen,
additional major rivers in thin blue pen, and national
borders as dashed lines on a Mercator map at scale 0.1
inch/degree, try
pscoast <B>-R</B>-30/30/-40/40 <B>-Jm</B>0.1<B>i</B> <B>-B</B>5 <B>-I</B>1/1<B>p</B>/0/0/255
<B>-I</B>2/0.25<B>p</B>/0/0/255 <B>-N</B>1/0.25<B>tap</B> <B>-W</B>0.25<B>p</B>/255/255/255
<B>-G</B>0/255/0 <B>-S</B>0/0/255 <B>-P</B> > africa.ps
To plot Iceland using the lava pattern (# 28) at 100 dots
per inch, on a Mercator map at scale 1 cm/degree, try
pscoast <B>-R</B>-30/-10/60/65 <B>-Jm</B>1<B>c</B> <B>-B</B>5 <B>-Gp</B>100/28 > iceland.ps
To initiate a clip path for Africa so that the subsequent
colorimage of gridded topography is only seen over land,
using a Mercator map at scale 0.1 inch/degree, try
pscoast <B>-R</B>-30/30/-40/40 <B>-Jm</B>0.1<B>i</B> <B>-B</B>5 <B>-Gc</B> <B>-P</B> <B>-K</B> > africa.ps
grdimage <B>-Jm</B>0.1<B>i</B> etopo5.grd -Ccolors.cpt <B>-O</B> <B>-K</B> >>
africa.ps
pscoast <B>-Q</B> <B>-O</B> >> africa.ps
</PRE>
<H2>DATABASE INFORMATION</H2><PRE>
The coastline database is compiled from two sources: World
Vector Shorelines (WVS) and CIA World Data Bank II
(WDBII). In particular, all level-1 polygons (ocean-land
boundary) are derived from the more accurate WVS while all
higher level polygons (level 2-4, representing land/lake,
lake/island-in-lake, and island-in-lake/lake-in-island-in-
lake boundaries) are taken from WDBII. Much processing has
taken place to convert WVS and WDBII data into usable form
for <B><A HREF="GMT.html">GMT</A></B>: assembling closed polygons from line segments,
checking for duplicates, and correcting for crossings
between polygons. The area of each polygon has been deter
mined so that the user may choose not to draw features
smaller than a minimum area (see <B>-A</B>); one may also limit
the highest hierarchical level of polygons to be included
(4 is the maximum). The 4 lower-resolution databases were
derived from the full resolution database using the Dou
glas-Peucker line-simplification algorithm. The classifi
cation of rivers and borders follow that of the WDBII. See
the <B><A HREF="GMT.html">GMT</A></B> Cookbook and Technical Reference Appendix K for
further details.
<B>pscoast</B> will first look for coastline files in directory
$GMTHOME/share (where $GMTHOME is an environmental vari
able). If the desired file is not found, it will look for
the file coastline.conf in the same directory. This file
and blank lines are allowed. The desired file is then
sought for in the alternate directories.
</PRE>
<H2>BUGS</H2><PRE>
The options to fill (<B>-C</B> <B>-G</B> <B>-S</B>) may not always work if the
Azimuthal equidistant projection is chosen (<B>-Je|E</B>). If the
antipole of the projection is in the oceans it will most
likely work. If not, try to avoid using projection center
coordinates that are even multiples of the coastline bin
size (1, 2, 5, 10, and 20 degrees for <B>f,</B> <B>h,</B> <B>i,</B> <B>l,</B> <B>c</B>,
respectively). This projection is not supported for clip
ping.
The political borders are for the most part 1970ies-style
and do not reflect the recent border rearrangments in
Europe. We intend to update these as high-resolution data
become avaiable to us.
Some users of <B>pscoast</B> will not be satisfied with what they
find for the Antarctic shoreline. In Antarctica, the
boundary between ice and ocean varies seasonally and
interannually. There are some areas of permanent sea ice.
In addition to these time-varying ice-ocean boundaries,
there are also ice grounding lines where ice goes from
floating on the sea to sitting on land, and lines delimit
ing areas of rock outcrop. For consistency's sake, we have
used the World' Vector Shoreline throughout the world in
pscoast, as described in the GMT cookbook Appendix K.
Users who need specific boundaries in Antarctica should
get the Antarctic Digital Database, prepared by the
British Antarctic Survey, Scott Polar Research Institute,
World Conservation Monitoring Centre, under the auspices
of the Scientific Committee on Antarctic Research. This
data base contains various kinds of limiting lines for
Antarctica and is available on CD-ROM. It is published by
the Scientific Committee on Antarctic Research, Scott
Polar Research Institute, Lensfield Road, Cambridge CB2
1ER, United Kingdom.
</PRE>
<H2>SEE ALSO</H2><PRE>
<I><A HREF="gmtdefaults.html">gmtdefaults</A></I>(l), <I>gmt</I>(l), <I><A HREF="grdlandmask.html">grdlandmask</A></I>(l), <I><A HREF="psbasemap.html">psbasemap</A></I>(l)
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
<body bgcolor="#ffffff">
|