Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > os > by-pkgid > 4b194777eaf705e440bb2ce282d32772 > files > 709

GMT-doc-4.5.3-3.fc14.noarch.rpm

<!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>4.4.2 Coordinate transformations and map projections: The -J option</TITLE>
<META NAME="description" CONTENT="4.4.2 Coordinate transformations and map projections: The -J option">
<META NAME="keywords" CONTENT="GMT_Docs">
<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_Docs.css">

<LINK REL="next" HREF="node40.html">
<LINK REL="previous" HREF="node38.html">
<LINK REL="up" HREF="node37.html">
<LINK REL="next" HREF="node40.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html3105"
  HREF="node40.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3099"
  HREF="node37.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3093"
  HREF="node38.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3101"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3103"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3106"
  HREF="node40.html">4.4.3 Map frame and</A>
<B> Up:</B> <A NAME="tex2html3100"
  HREF="node37.html">4.4 Standardized command line</A>
<B> Previous:</B> <A NAME="tex2html3094"
  HREF="node38.html">4.4.1 Data domain or</A>
 &nbsp; <B>  <A NAME="tex2html3102"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3104"
  HREF="node256.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001242000000000000000">
4.4.2 Coordinate transformations and map projections: The <B>-J</B> option</A>
</H2>
<A NAME="18653"></A>
<A NAME="17509"></A>

<P>
This option selects the coordinate transformation or map projection.  The general format is

<UL>
<LI><B>-J</B><IMG
 WIDTH="14" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img43.png"
 ALT="$\delta$">[<I>parameters</I>/]<I>scale</I>.  Here, <IMG
 WIDTH="14" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img43.png"
 ALT="$\delta$"> is a <I>lower-case</I>
letter of the alphabet that selects a particular map projection, the <I>parameters</I>
is zero or more slash-delimited projection parameter, and <I>scale</I> is map scale given in
distance units per degree or as 1:xxxxx.
</LI>
<LI><B>-J</B><IMG
 WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img44.png"
 ALT="$\Delta$">[<I>parameters</I>/]<I>width</I>.  Here, <IMG
 WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
 SRC="img44.png"
 ALT="$\Delta$"> is an <I>upper-case</I>
letter of the alphabet that selects a particular map projection, the <I>parameters</I>
is zero or more slash-delimited projection parameter, and <I>width</I> is map width (map
height is automatically computed from the implied map scale and region).
</LI>
</UL>
Since <A NAME="tex2html1108"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> version 4.3.0, there is an alternative way to specify the projections: use the same abbreviation as in the mapping package <I>Proj4</I><A NAME="18944"></A>. The options thus either look like:

<UL>
<LI><B>-Jabbrev/</B>[<I>parameters</I>/]<I>scale</I>.  Here, <B>abbrev</B> is a <I>lower-case</I>
abbreviation that selects a particular map projection, the <I>parameters</I>
is zero or more slash-delimited projection parameter, and <I>scale</I> is map scale given in
distance units per degree or as 1:xxxxx.
</LI>
<LI><B>-JAbbrev/</B>[<I>parameters</I>/]<I>width</I>.  Here, <B>Abbrev</B> is an <I>capitalized</I> abbreviation that selects a particular map projection, the <I>parameters</I>
is zero or more slash-delimited projection parameter, and <I>width</I> is map width (map
height is automatically computed from the implied map scale and region).
</LI>
</UL>

<P>

<DIV ALIGN="CENTER"><A NAME="fig:GMT_-J"></A><A NAME="18950"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
The 30+ map projections and coordinate transformations available in <A NAME="tex2html1105"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A>.</CAPTION>
<TR><TD>
<DIV ALIGN="CENTER"><IMG
 WIDTH="526" HEIGHT="326" ALIGN="BOTTOM" BORDER="0"
 SRC="img45.png"
 ALT="\includegraphics{scripts/GMT_-J}"></DIV></TD></TR>
</TABLE>
</DIV>

<P>
The projections available in <A NAME="tex2html1109"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> are presented in Figure&nbsp;<A HREF="#fig:GMT_-J">4.5</A>.
For details on all <A NAME="tex2html1110"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> projections and the required parameters, see the <A NAME="tex2html1111"
  HREF="../man/psbasemap.html"><I><B>psbasemap</B></I></A><A NAME="18964"></A> man page.
We will also show examples of every projection in the next Chapters, and a quick
summary of projection syntax was given in Chapter&nbsp;<A HREF="node28.html#ch:3">3</A>.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html3105"
  HREF="node40.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3099"
  HREF="node37.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3093"
  HREF="node38.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3101"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3103"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3106"
  HREF="node40.html">4.4.3 Map frame and</A>
<B> Up:</B> <A NAME="tex2html3100"
  HREF="node37.html">4.4 Standardized command line</A>
<B> Previous:</B> <A NAME="tex2html3094"
  HREF="node38.html">4.4.1 Data domain or</A>
 &nbsp; <B>  <A NAME="tex2html3102"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3104"
  HREF="node256.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-07-14
</ADDRESS>
</BODY>
</HTML>