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

## 1.1.1 Overview of GMT 4.5.3 [Jul-15, 2010]

This is mostly a bug-fix release, including more corrections to the political boundaries distributed via the GSHHS netCDF files (these affect the Syria-Israel, Israel-Jordan, Moldova-Ukraine, and the Eritrea-Ethiopia borders) as well as missing river-lake metadata in the GSHHS distribution. Therefore, this version requires the new GSHHS 2.1.0 release.

Here is the list of bug corrections:

configure
  : Fixed reversed use off -enable-flock.
gmt_init.c
  : Chop off any eventual EOLs characters that might be in argv strings as it will happen when it was created by a shell command. We need this so that native Windows binaries can be used in Cygwin.
gmt_io.c
  : `GMT_is_a_blank_line` saw ``t'' instead of TAB as whitespace. Added `GMT_io.skip_duplicates` [FALSE] to control if consecutive records with identical x,y should be skipped. This is needed by programs that uses `GMT_sph_inonout`, which does not expect to find duplicates vertices. `GMT_fgets` now checks for input record truncation and handles this gracefully (gives warning and winds to next record).
gmt_map.c
  : Tried to free memory when nothing had been allocated. `GMT_wesn_clip` function would clip polygons even though there were no restrictions on longitudes (w/e = 360).
gmt_plot.c
  : Parallels that should be straight (e.g., in -JI) would sometimes appear with jump gaps. Fixed bug in `GMT_plot_map_scale` that could lead to endless loops when using scales to 100 km or any exact power of 10. Error was limited to 64-bit.
gmt2rgb
  : Option -G was freeing the output name before it was even allocated.
grdcontour.c
  : The L or H color for first min/max annotation was not set. Placement of H and L annotations improved by using centroids.
grdmask.c
  : Did not handle periodic longitude input when -fg was used.
grdview.c
  : Fixed bug in parsing of -W[mcf] option when color starts with [mcf]. Check that topo and illumination file have the same size, otherwise it would crash.
greenspline.c
  : Must insist that one of [-R -I], -N, or -T is specified.
mapproject.c:
  : Applied scaling to -C dx/dy when -Fk was used, despite docs saying -C is in meters when -F is used. Fixed, and clarified docs/man to say with -F, -C is always in meters.
nearneighbor.c:
  : Did not handle periodic longitude input when -fg was used.
ps2raster.c:
  : Now checks that all PS files begin with %!PS. End matter did not get parsed when there is no %%Orientation.
pshistogram.c:
  : Fixed incorrect bin count when a datapoint equaled xmax.
pslegend.c:
  : Uninitialized text string could put garbage in script.
psmask.c:
  : Did not handle periodic longitude input when -fg was used.
psxy.c:
  : For -Svs, the 2nd set of coordinates did not obey -:. The -SwW symbols did not handle the azimuth/direction conversions properly. Added better handling of dimensions with units passed via columns in the data file.
psxyz.c:
  : For -Svs, the 2nd set of coordinates did not obey -:. The -SwW symbols did not handle the azimuth/direction conversions properly. Added better handling of dimensions with units passed via columns in the data file.
surface.c:
  : Did not handle periodic longitude input when -fg was used.
meca/psmeca.c
  : Removed out of place and repeated line to compute size in -a option.
meca/submeca.c
  : Replaced calls to `d_atan2` by `d_atan2d` since the code expects angles in degrees.
mgd77/mgd77.c
  : Incorrectly added track list =tracks.lis as another track name after correctly including all the listed tracks. No harm done other than an annoying ``Cannot find track =tracks'' message.
mgd77/mgd77magref.c
  : Fix bug in -A option when using const time in calendar format.
mgg/mgd77togmt.c
  : Now has proper synopsis.
misc/kml2gmt.c
  : Did not anticipate optional attributes for tags like PlaceMark, etc.
sph/sphtriangulate.c
  : Incorrect items for cols 3-4 for -N.
x2sys/x2sys.c
  : Need to include the ``.'' when checking if a suffix is present in a filename. Reading of data formats .gmt and custom returned all columns and not just the requested columns, causing errors upstream.
x2sys/x2sys_datalist.c
  : Check to see if both lon and lat had been requested only checked for longitude (twice).
x2sys/x2sys_list.c
  : Implemented -S[+] to print info relevant to both cruises.

Here is a list of the recent enhancement to various programs; these were introduced to correct mistakes or overcome limitations:

1. gmtmath.c has added function SQR (square).
2. grdgradient.c now lets -S work alone without requiring -G.
3. grdmath.c] has added function SQR (square).
4. pswiggle.c -Dx gap now allows gaps to be in projected distances.
5. mgd77/mgd77.c was updated for 11th generation IGRF - IGRF2010.
6. x2sys/x2sys_get.c needed -L+[list] so internal crossovers can be added.
7. GMT_nighttime.cpt color table donated by Andreas Trawoeger.
8. GMT_paired.cpt qualitative color table by Cynthia Brewer.

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