<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2002-2-1 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>1.4.3 Mercator projection</TITLE> <META NAME="description" CONTENT="1.4.3 Mercator projection"> <META NAME="keywords" CONTENT="GMT_Tutorial"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="GMT_Tutorial.css"> <LINK REL="next" HREF="node27.html"> <LINK REL="previous" HREF="node23.html"> <LINK REL="up" HREF="node20.html"> <LINK REL="next" HREF="node26.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html744" HREF="node26.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html738" HREF="node20.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html732" HREF="node24.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html740" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html742" HREF="node63.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html745" HREF="node26.html">1.4.3.1 Exercises</A> <B> Up:</B> <A NAME="tex2html739" HREF="node20.html">1.4 Laboratory Exercises</A> <B> Previous:</B> <A NAME="tex2html733" HREF="node24.html">1.4.2.1 Exercises</A> <B> <A NAME="tex2html741" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html743" HREF="node63.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00343000000000000000"> 1.4.3 Mercator projection</A> </H2> <A NAME="1552"></A> <A NAME="521"></A> <P> Despite the problems of extreme horizontal exaggeration at high latitudes, the conformal Mercator projection (<B>-JM</B>) remains the stalwart of location maps used by scientists. It is one of several cylindrical projections offered by <A NAME="tex2html94" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A>; here we will only have time to focus on one such projection. The complete syntax is simply <BR> <P> <B>-JM</B><I>width</I> <BR> <P> To make coastline maps we use <A NAME="tex2html95" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="1935"></A> which automatically will access the <A NAME="tex2html96" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> coastline data base derived from the GSHHS database<A NAME="tex2html92" HREF="footnode.html#foot1553"><SUP>1.1</SUP></A>. In addition to the common switches we may need to use some of several <A NAME="tex2html97" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="1943"></A> -specific options (see Table <A HREF="#tbl:pscoast">1.2</A>). <P> <BR><P></P> <DIV ALIGN="CENTER"><A NAME="552"></A> <TABLE> <CAPTION><STRONG>Table 1.2:</STRONG> Main options when making coastline plots or overlays.</CAPTION> <TR><TD> <DIV ALIGN="CENTER"><TABLE CELLPADDING=3 BORDER="1"> <TR><TD ALIGN="CENTER" COLSPAN=1><FONT SIZE="-1"> <I>Option</I></FONT></TD> <TD ALIGN="CENTER" COLSPAN=1><FONT SIZE="-1"> <I>Purpose</I></FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-A</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Exclude small features or those of high hierarchical levels (see Appendix K)</FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-D</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Select data resolution (</FONT><FONT SIZE="-1"><B>f</B>ull, </FONT><FONT SIZE="-1"><B>h</B>igh, </FONT><FONT SIZE="-1"><B>i</B>ntermediate, </FONT><FONT SIZE="-1"><B>l</B>ow, or </FONT><FONT SIZE="-1"><B>c</B>rude) </FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-G</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Set color of dry areas (default does not paint) </FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-I</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Draw rivers (chose features from one or more hierarchical categories) </FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-L</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Plot map scale (length scale can be km, miles, or nautical miles) </FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-N</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Draw political borders (including US state borders) </FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-S</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Set color for wet areas (default does not paint) </FONT></TD> </TR> <TR><TH ALIGN="LEFT"><FONT SIZE="-1"> <B>-W</B> </FONT></TH> <TD ALIGN="LEFT"><FONT SIZE="-1"> Draw coastlines and set pen thickness </FONT></TD> </TR> </TABLE><FONT SIZE="-1"> <A NAME="tbl:pscoast"></A></FONT></DIV></TD></TR> </TABLE> </DIV><P></P> <BR> <P> One of <B>-W</B>, <B>-G</B>, <B>-S</B> must be selected. Our first coastline example is from Latin America: <P> <PRE> pscoast -R-90/-70/0/20 -JM6i -P -B5g5 -Gchocolate > map.ps </PRE> <P> <BR><HR> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A> <UL> <LI><A NAME="tex2html746" HREF="node26.html">1.4.3.1 Exercises</A> </UL> <!--End of Table of Child-Links--> <HR> <!--Navigation Panel--> <A NAME="tex2html744" HREF="node26.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html738" HREF="node20.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html732" HREF="node24.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html740" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html742" HREF="node63.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html745" HREF="node26.html">1.4.3.1 Exercises</A> <B> Up:</B> <A NAME="tex2html739" HREF="node20.html">1.4 Laboratory Exercises</A> <B> Previous:</B> <A NAME="tex2html733" HREF="node24.html">1.4.2.1 Exercises</A> <B> <A NAME="tex2html741" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html743" HREF="node63.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>