ps.map and Linux
Richard E Nairn
ren at spans.gscc.nrcan.gc.ca
Fri Mar 27 07:00:00 EST 1998
> Ok, on to the next problem... I am using ps.select and ps.map.. If I
> don't have a ps painter set up it will use the normal 8.5 / 11
> definition. and it will turn out fine... However if I use ps.select to
> select another page size and run the same script, the raster image
> will come out blank...
> Does anyone else have this problem??? This happens if I compile it
> myself, or if I use the binary compiled version from Markus Neteler.
Ok, after a little debugging, I found the problem with ps.map. The
C code that parses the device files is missing a header declaration,
so it produces garbage. It uses atof and atoi but it forgot to use
#include <stdlib.h> for the definitions. When i made the change it
works very nicely. The file involved was
PS, I notified Markus so that he could patch the official sources.
Geological Survey of Canada
** Email ren at spans.gscc.nrcan.gc.ca **
** nairnr at cadvision.com **
More information about the grass-dev