<!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.1.3 Overview of GMT 4.5.1 [Sept-20, 2009]</TITLE> <META NAME="description" CONTENT="1.1.3 Overview of GMT 4.5.1 [Sept-20, 2009]"> <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="node14.html"> <LINK REL="previous" HREF="node12.html"> <LINK REL="up" HREF="node10.html"> <LINK REL="next" HREF="node14.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html2680" HREF="node14.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2674" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2668" HREF="node12.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2676" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2678" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2681" HREF="node14.html">1.1.4 Overview of GMT</A> <B> Up:</B> <A NAME="tex2html2675" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2669" HREF="node12.html">1.1.2 Overview of GMT</A> <B> <A NAME="tex2html2677" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2679" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00913000000000000000"> 1.1.3 Overview of </A><A NAME="tex2html233" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 4.5.1 [Sept-20, 2009] </H2> <P> This is almost entirely a bug-fix release where we address several 64-bit incompatibilities and rebuild the netcdf GSHHS library to include some attributes from GSHHS that were needed by new options in <A NAME="tex2html234" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="3190"></A> and other programs. Note that the GSHHS polygons have not changed (still at version 2.0), but we had to update the derived netcdf repackaging used by <A NAME="tex2html235" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> to 2.0.1. However, some enhancements were added as well, most significantly support for the polyconic projection (<B>-JPoly</B>), experimental support for grid and image imports via GDAL (requires -enable-gdal during configure and properly installed GDAL libraries and include files), and allowing <B>-JX</B><I>width/height</I> to recompute a <I>height</I> given as zero based on the <I>width</I> (or vice versa) and the aspect ratio of the region. <P> Here is the list of bug corrections: <DL> <DT><STRONG><A NAME="tex2html236" HREF="../man/configure.ac.html"><I><B>configure.ac</B></I></A><A NAME="3200"></A></STRONG></DT> <DD>: Now use -enable-flock to enable file locking, instead of -disable-flock to disable if. Use -enable-64 to force 64-bit compilation, use -disable-64 to force 32-bit compilation; otherwise use default. Switch -DGMT_QSORT is now on only for OS X prior to Snow Leopard as the latter has a correctly working 64-bit <TT>qsort</TT> function. </DD> <DT><STRONG><A NAME="tex2html237" HREF="../man/gmt_customio.c.html"><I><B>gmt_customio.c</B></I></A><A NAME="3206"></A></STRONG></DT> <DD>: Made surfer grid header i/o 64-bit compliant. </DD> <DT><STRONG><A NAME="tex2html238" HREF="../man/gmt_map.c.html"><I><B>gmt_map.c</B></I></A><A NAME="3211"></A></STRONG></DT> <DD>: Changed <TT>GMT_truncate</TT> from being a pointer function (PFL) to a regular function that simply calls <TT>GMT_truncate_x</TT> or <TT>GMT_truncate_tm</TT> depending on whether projection is TM. This to avoid problems with calling <TT>GMT_truncate</TT> with constant argument -1 in 64-bit machines and thus producing wrapped <A NAME="tex2html239" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="3220"></A> maps. </DD> <DT><STRONG><A NAME="tex2html240" HREF="../man/gmt_shore.c.html"><I><B>gmt_shore.c</B></I></A><A NAME="3225"></A></STRONG></DT> <DD>: The <B>-A+r</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$"><B>+l</B> option was premature as more info in the GSHHS netcdf files were needed to properly skip features. Now working with the revision GSHHS 2.0.1. </DD> <DT><STRONG><A NAME="tex2html241" HREF="../man/gmt_support.c.html"><I><B>gmt_support.c</B></I></A><A NAME="3231"></A></STRONG></DT> <DD>: The routine that checks if a points is inside or outside a polar cap had trouble when a point's longitude exactly equalled one of the polygon points since round-off could cause our test to fail. Fixed bug in <I>x_inc</I> variable as function of latitude. <TT>GMT_log_array</TT> recoded to avoid 64-bit error (last value was not included). </DD> <DT><STRONG><A NAME="tex2html242" HREF="../man/grdcontour.c.html"><I><B>grdcontour.c</B></I></A><A NAME="3237"></A></STRONG></DT> <DD>: The <B>-L</B> option was not used in limiting contours. </DD> <DT><STRONG><A NAME="tex2html243" HREF="../man/minmax.c.html"><I><B>minmax.c</B></I></A><A NAME="3243"></A></STRONG></DT> <DD>: The <B>-EH</B> option did not work. </DD> <DT><STRONG><A NAME="tex2html244" HREF="../man/psmask.c.html"><I><B>psmask.c</B></I></A><A NAME="3249"></A></STRONG></DT> <DD>: With <B>-D</B>, the internal <I>di, dj</I> constants were set way too large. </DD> <DT><STRONG><A NAME="tex2html245" HREF="../man/pswiggle.c.html"><I><B>pswiggle.c</B></I></A><A NAME="3255"></A></STRONG></DT> <DD>: With <B>-Jx</B><I>scale</I><B>d</B>, distances were not scaled correctly so <B>-D</B> failed. </DD> <DT><STRONG><A NAME="tex2html246" HREF="../man/mgd77/mgd77magref.c.html"><I><B>mgd77/mgd77magref.c</B></I></A><A NAME="3262"></A></STRONG></DT> <DD>: Got wrong time as time initialization had changed but not implemented in this program. </DD> <DT><STRONG><A NAME="tex2html247" HREF="../man/mgd77/mgd77sniffer.c.html"><I><B>mgd77/mgd77sniffer.c</B></I></A><A NAME="3267"></A></STRONG></DT> <DD>: Bug in <B>-I</B> option; needed to set bitpattern for bad faa. </DD> <DT><STRONG><A NAME="tex2html248" HREF="../man/misc/gmt2kml.c.html"><I><B>misc/gmt2kml.c</B></I></A><A NAME="3273"></A></STRONG></DT> <DD>: Option <B>-T</B> did not handle spaces in titles and folder names. Under Windows, the output got scrambled due to DLL hell. </DD> <DT><STRONG><A NAME="tex2html249" HREF="../man/spotter/backtracker.c.html"><I><B>spotter/backtracker.c</B></I></A><A NAME="3279"></A></STRONG></DT> <DD>: Failed in 64-bit mode due to variable mismatches. </DD> <DT><STRONG><A NAME="tex2html250" HREF="../man/x2sys/x2sys_get.c.html"><I><B>x2sys/x2sys_get.c</B></I></A><A NAME="3284"></A></STRONG></DT> <DD>: The <B>-L</B> option failed if list contained file extensions. </DD> <DT><STRONG><A NAME="tex2html251" HREF="../man/x2sys/x2sys_solve.c.html"><I><B>x2sys/x2sys_solve.c</B></I></A><A NAME="3290"></A></STRONG></DT> <DD>: Did not allocate array for storing weights. </DD> </DL> <P> Here is a list of the recent enhancement to various programs: <P> <OL> <LI><A NAME="tex2html252" HREF="../man/gmt_customio.c.html"><I><B>gmt_customio.c</B></I></A><A NAME="3295"></A> now has optional GDAL read-only interface as format 22 (code gd). </LI> <LI><A NAME="tex2html253" HREF="../man/gmtset.c.html"><I><B>gmtset.c</B></I></A><A NAME="3300"></A> has new default <B>TRANSPARENCY</B> = <I>stroke/fill</I> that can change the PDF transparency for stroked and filled items [Note: Only supported by Adobe Distiller]. </LI> <LI><A NAME="tex2html254" HREF="../man/pslib.c.html"><I><B>pslib.c</B></I></A><A NAME="3305"></A> has added option to reduce all color to gray scale via <B>PS_COLOR</B> = gray. </LI> <LI><A NAME="tex2html255" HREF="../man/grdimage.c.html"><I><B>grdimage.c</B></I></A><A NAME="3310"></A> has optional support that allow single-band image import via GDAL. </LI> <LI><A NAME="tex2html256" HREF="../man/misc/nc2xy.c.html"><I><B>misc/nc2xy.c</B></I></A><A NAME="3315"></A> now has <B>-bo</B> option. </LI> <LI><A NAME="tex2html257" HREF="../man/mgd77/mgd77magref.c.html"><I><B>mgd77/mgd77magref.c</B></I></A><A NAME="3321"></A> can combine IGRF and CM4 computations. </LI> </OL> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html2680" HREF="node14.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2674" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2668" HREF="node12.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2676" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2678" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2681" HREF="node14.html">1.1.4 Overview of GMT</A> <B> Up:</B> <A NAME="tex2html2675" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2669" HREF="node12.html">1.1.2 Overview of GMT</A> <B> <A NAME="tex2html2677" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2679" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>