[GRASSLIST:145] Re: ps.map label number limit
Hamish
hamish_nospam at yahoo.com
Wed Mar 15 19:18:01 EST 2006
> I have some vector maps and associated labels which I would like to
> print out with ps.map.
> Unforunately, I got this error message:
>
> ps.map input=file.txt output=file.ps
> ERROR: cdp_label in PERMANENT : no more label files allowed
>
> Why is there a limit in label number?
> Is there a way to increase the number of labels which can be printed??
ps/ps.map/labels.h
defines MAXLABELS as 10. I don't know why. You can try increasing that,
recompiling, and see what happens.
alternatively make a master labels file out of the multiple smaller
ones:
cd $MAPSET/paint/labels/
cat labelfile1 labelfile2 labelfile3 > labelsfile_all
then just use labelsfile_all. maybe open in a text editor and make sure
the spacing between files is correct. I think it should be ok though.
Hamish
More information about the grass-user
mailing list