Next: 1.1.6 Overview of GMT Up: 1.1 What is new Previous: 1.1.4 Overview of GMT Contents Index

## 1.1.5 Overview of GMT 4.5.1 [Sept-20, 2009]

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 pscoast 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 GMT to 2.0.1. However, some enhancements were added as well, most significantly support for the polyconic projection (-JPoly), experimental support for grid and image imports via GDAL (requires -enable-gdal during configure and properly installed GDAL libraries and include files), and allowing -JX width/height to recompute a height given as zero based on the width (or vice versa) and the aspect ratio of the region.

Here is the list of bug corrections:

configure.ac
  : 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 `qsort` function.
gmt_customio.c
  : Made surfer grid header i/o 64-bit compliant.
gmt_map.c
  : Changed `GMT_truncate` from being a pointer function (PFL) to a regular function that simply calls `GMT_truncate_x` or `GMT_truncate_tm` depending on whether projection is TM. This to avoid problems with calling `GMT_truncate` with constant argument -1 in 64-bit machines and thus producing wrapped pscoast maps.
gmt_shore.c
  : The -A+r+l 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.
gmt_support.c
  : 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 x_inc variable as function of latitude. `GMT_log_array` recoded to avoid 64-bit error (last value was not included).
grdcontour.c
  : The -L option was not used in limiting contours.
minmax.c
  : The -EH option did not work.
psmask.c
  : With -D, the internal di, dj constants were set way too large.
pswiggle.c
  : With -Jx scale d, distances were not scaled correctly so -D failed.
mgd77/mgd77magref.c
  : Got wrong time as time initialization had changed but not implemented in this program.
mgd77/mgd77sniffer.c
  : Bug in -I option; needed to set bitpattern for bad faa.
misc/gmt2kml.c
  : Option -T did not handle spaces in titles and folder names. Under Windows, the output got scrambled due to DLL hell.
spotter/backtracker.c
  : Failed in 64-bit mode due to variable mismatches.
x2sys/x2sys_get.c
  : The -L option failed if list contained file extensions.
x2sys/x2sys_solve.c
  : Did not allocate array for storing weights.

Here is a list of the recent enhancement to various programs:

1. gmt_customio.c now has optional GDAL read-only interface as format 22 (code gd).
2. gmtset.c has new default TRANSPARENCY = stroke/fill that can change the PDF transparency for stroked and filled items [Note: Only supported by Adobe Distiller].
3. pslib.c has added option to reduce all color to gray scale via PS_COLOR = gray.
4. grdimage.c has optional support that allow single-band image import via GDAL.
5. misc/nc2xy.c now has -bo option.
6. mgd77/mgd77magref.c can combine IGRF and CM4 computations.

Next: 1.1.6 Overview of GMT Up: 1.1 What is new Previous: 1.1.4 Overview of GMT Contents Index