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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
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>5.1.4 Geographical linear projection</TITLE>
<META NAME="description" CONTENT="5.1.4 Geographical linear projection">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="GMT_Docs.css">
<LINK REL="next" HREF="node40.html">
<LINK REL="previous" HREF="node38.html">
<LINK REL="up" HREF="node35.html">
<LINK REL="next" HREF="node40.html">
</HEAD>
<BODY bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1539"
HREF="node40.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html1533"
HREF="node35.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html1527"
HREF="node38.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html1535"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html1537"
HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1540"
HREF="node40.html">5.1.5 Linear Projection with</A>
<B> Up:</B> <A NAME="tex2html1534"
HREF="node35.html">5.1 Non-map Projections</A>
<B> Previous:</B> <A NAME="tex2html1528"
HREF="node38.html">5.1.3 Power projection</A>
  <B> <A NAME="tex2html1536"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1538"
HREF="node149.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION001314000000000000000"></A>
<A NAME="sec:linear"></A><A NAME="6074"></A>
<A NAME="6075"></A>
<BR>
5.1.4 Geographical linear projection
</H2>
<P>
<P></P>
<DIV ALIGN="CENTER"><A NAME="fig:GMT_linear_d"></A><A NAME="6085"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5.4:</STRONG>
Linear transformation of map coordinates</CAPTION>
<TR><TD><IMG
WIDTH="643" HEIGHT="325" BORDER="0"
SRC="img60.gif"
ALT="\begin{figure}\centering\epsfig{figure=eps/GMT_linear_d.eps}\end{figure}"></TD></TR>
</TABLE>
</DIV><P></P>
<P>
While these linear projections are primarily designed for generic
<I>x</I>,<I>y</I> data, it is sometimes necessary to plot geographical
data in a linear projection. This poses a problem since longitudes
have a 360<IMG
WIDTH="11" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img61.gif"
ALT="$^{o}$"> periodicity. <A NAME="tex2html300"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> therefore needs to be informed
that it has been given geographical data although a linear projection
has been chosen. We do so by appending a <B>d</B> (for degrees) to
the end of the <B>-Jx</B> (or <B>-JX</B>) option. As an example, we
want to plot a crude world map centered on 125<IMG
WIDTH="11" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img61.gif"
ALT="$^{o}$">E. Our command will be
<P>
<P>
<BR>
<P>
<BR CLEAR="ALL">
<HR>
<BR>
<PRE>
#!/bin/sh
# $Id: GMT_linear_d.sh,v 1.1 2001/03/21 04:10:21 pwessel Exp $
#
gmtset GRID_CROSS_SIZE 0.1i BASEMAP_TYPE FANCY DEGREE_FORMAT 3
pscoast -R-55/305/-90/90 -Jx0.014id -B60g30f15/30g30f15WSen -Dc -A1000 -G200 -W0.25p -P \
> GMT_linear_d.ps
gmtset GRID_CROSS_SIZE 0
</PRE>
<P>
<BR>
<BR>
<P>
<BR CLEAR="ALL">
<HR>
<P>
with the result reproduced in Figure <A HREF="node39.html#fig:GMT_linear_d">5.4</A>.
<P>
<A NAME="6142"></A>
<A NAME="6143"></A>
<A NAME="6168"></A>
<P>
<BR><HR>
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>
|