[GRASS-dev] Re: [GRASS GIS] #1133: ps.map doesn’t accept more than 10 ‘labels’ instructions

GRASS GIS trac at osgeo.org
Fri Aug 20 05:59:53 EDT 2010


#1133: ps.map doesn’t accept more than 10 ‘labels’ instructions
-------------------------+--------------------------------------------------
 Reporter:  clerici      |       Owner:  hamish          
     Type:  enhancement  |      Status:  new             
 Priority:  minor        |   Milestone:  6.4.1           
Component:  ps.map       |     Version:  svn-develbranch6
 Keywords:  labels       |    Platform:  Linux           
      Cpu:  All          |  
-------------------------+--------------------------------------------------
Changes (by hamish):

 * cc: grass-dev@… (added)
  * component:  default => ps.map
  * priority:  normal => minor
  * owner:  grass-dev@… => hamish
  * version:  6.4.0 RCs => svn-develbranch6
  * milestone:  6.4.0 => 6.4.1
  * keywords:  => labels
  * type:  defect => enhancement
  * cpu:  Unspecified => All


Comment:

 see
  source:grass/trunk/ps/ps.map/r_labels.c
 and MAXLABELS in
  source:grass/trunk/ps/ps.map/labels.h

 just edit labels.h to however big you want it, and recompile.
 (how many do you want?)


 since the "labels" files are just text, to work around it you
 can just go into $MAPSET/paint/labels/ and do

   cat * > all_labels

 to combine them all into a single labels file. (they will
 remember thier own font sizes, colors, etc)

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1133#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list