[GRASS-user] categories in raster map
Hamish
hamish_b at yahoo.com
Thu Feb 26 21:39:08 EST 2009
stephanie.faroux wrote:
> I see the function r.cats which allows to read categories
> of a raster map, but how can i define these attributes?
r.cats has been replaced by r.category in grass 6.3+, the new version
can both read and write attribute labels.
> Should i pass by a vector map? In the database menu, it
> doesn't seem possible to add a table for a raster map.
actually v.to.rast's labelcol= option is slightly broken right now, see
bug #175: http://trac.osgeo.org/grass/ticket/175
(work-around given in the bug report)
it's not nearly as rich as vector attribute management (DB).
see also http://grass.osgeo.org/wiki/Tips_for_Arc_users#Import_ArcASCII_raster_grid_and_connect_to_database
Hamish
More information about the grass-user
mailing list