[GRASS-user] ps.map and vlabel - subheaders possible?

Hamish hamish_nospam at yahoo.com
Wed Jan 24 19:22:14 EST 2007


wqual wrote:
> does anybody know whether it is possible to define subheaders for
> groups of vector categories of the same vector? "Normal" labels of
> such a group should  only contain the range of the drawn categories -
> something like
> 
> LANDUSE (landuse at PERMANENT)
> o forest
> o urban area
> o ...
> 
> This would be helpful for more complex legends...


Not automatically, but you can always create a custom legend,
"Alternatively, the user can create a custom legend by using the
rectangle, point, and text instructions." (ps.map help page vlegend
instruction)


Do you know about the "label" instruction?

typical way using no subheaders, which each cat or SQL group labeled
independently:

vareas landuse
  where 'SQL statement 1'
  label 'legend text 1'
  end
vareas landuse
  where 'SQL statement 2'
  label 'legend text 2'
  end
vareas landuse
  where 'SQL statement 3'
  label 'legend text 3'
  end


Hamish




More information about the grass-user mailing list