[GRASS-user] ps.map legend with rgbcolumn colors

Luigi Ponti lponti at infinito.it
Wed Mar 3 12:04:06 EST 2010


Hi there,

I haven't been able to find this in previous discussions but it seems 
like a trivial yet impossible (for me) to solve thing. (Running 
grass6.4-svn windows standalone installer win7.)

I am trying to get a ps.map using an input file like the following:

# ps.map input file
border y
    color black
    width 1
    end

raster shadedRelief

vareas ecologicalZones
    layer 1
    rgbcolumn RGB_COLOR
    label  GEZ_CODE
    lpos 1
    end

vlegend
    where 0.5 6
    border black
    font arial
    fontsize 12
    cols 1
    end
end

I would like to print a categorical legend with the same colors as the 
rgbcolumn, but I only get one gray color that is different from the 
RGB_COLOR definitions:
https://docs.google.com/fileview?id=0B0EpsfMZ-IZYNzI2ZjRjMTQtNTNiNi00NTJkLWJlZjAtNzAyN2E0MTM3OWUw&hl=it

Any pointer?

Kind regards,

Luigi


More information about the grass-user mailing list