label <-> category value

Malcolm Williamson malcolm at cast.uark.edu
Fri May 7 16:30:48 EDT 1999


Hi Dieter
This is quite simple. Take the category file ("cats" directory) and use 
your favorite editor to turn it into a rules file for r.reclass.

1:4	becomes		1 = 4
2:7			2 = 7
3:4			3 = 4
etc.

Then,
r.reclass i=old_map o=new_map < rules_file

Regards,
	-Malcolm Williamson

On Wed, 5 May 1999, DIETER LEHMANN wrote:

> Hello,
> I need to change the category-value with the label after importing a 
> Arc/Info polygon coverage with m.in.e00.
> 
> Thanks.
> 
> Dieter
> _____________________________________
> 
> Dieter Lehmann 
> State University of applied Sciences
> Schelmenwasen 4-8
> D-72622 Nuertingen, Germany
> lehmann at fh-nuertingen.de
> Phone: +49 (0) 7022 404 Ext. 192 or Ext. 152
> Fax: +49 (0) 7022 404 Ext. 166
> 



More information about the grass-user mailing list