[GRASSLIST:173] Re: ps.map label number limit

Francesco Mirabella mirabell at unipg.it
Thu Mar 16 09:54:17 EST 2006


Hi Hamish, 
thanks for your suggestions, I made a single large label files using cat
... > new_file and it worked fine.

cheers
Francesco



On Thu, Mar 16, 2006 at 01:18:01PM +1300, Hamish wrote:
> > 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