Hamish wrote:

> if there are no objections I will rename r.cats to be r.category (to match
> v.category), leaving a r.cats symlink for backwards compatibility for the
> duration of GRASS 6.x.
> 
> In addition I mean to move/copy the copy cats from raster= option from
> r.support to r.category and add a rules= option to import category labels from
> a file.

FWIW, I've written an r.support.cats module, but haven't tested it or
committed it yet. I've attached it in case you want to use it for a
base.

> I am unsure if it is better for the import format to match the current r.cats
> output format, or to try and follow what r.reclass has. For FP maps we will
> have to accept "a thru b<FS>Label" as well as "a<FS>Label" input rules. (<FS>
> comes from the fs= option)

I used essentially the existing format, without the header. Each line
is either value:label or min:max:label (for ranges).

-- 
Glynn Clements <[EMAIL PROTECTED]>

Attachment: r.support.cats.tar.gz
Description: r.support.cats

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to