[GRASS-user] r.out.gmt -- color palette with gaps?

Hamish hamish_b at yahoo.com
Wed Feb 20 00:00:48 EST 2008


Carlos wrote:
> Hi all.
> I have this color shaded relief map created with r.his and
> r.composite. I want to use it as a base map in GMT, sou I went to the
> AddOns page to get the r.out.gmt script, which creates the color
> palette (.cpt) for me. But when I try to create the map with GMT, I
> get this msg:
> 
> guano at eclipse$ grdimage america_sul_srtm30plus_shade_color.grd -JM15c
> -R-56/-34/-26/0 -Camerica_sul_srtm30plus_shade_color.cpt > amsul.ps
> 
> grdimage: GMT Fatal Error: Color palette table
> america_sul_srtm30plus_shade_color.cpt has gaps - aborts!
> 
> I remember using this script a while ago, and it worked fine..
> 
> thanks for any hint.


can you post the problematic .cpt file here? It's just plain text.
Also what is the data range? (r.info -r)


see also the r.cpt2grass script (but that goes in the other direction)
 http://trac.osgeo.org/grass/browser/grass-addons/raster/r.colors.tools
 http://hamish.bowman.googlepages.com/grass_color_maps


Hamish



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the grass-user mailing list