[GRASS5] current status

Glynn Clements glynn.clements at virgin.net
Tue Jun 1 15:45:18 EDT 2004


Radim Blazek wrote:

> BTW 1: Am i right that there is no function which can read rules from
> color table in GRASS, something like
> G_get_color_rule( struct Colors *, int rule, 
>                   CELL*, int*, int*, int*, 
>                   CELL*, int*, int*, int*)
> ?

Correct. Actually, I'm not sure that the data actually exists in
anything resembling that form.

> BTW 2: Color table is stored as double linked list, doesn't that make
> G_get_raster_color too slow?

Lookup tables may be used to speed things up; however, if the lookup
tables aren't active, then lookups will simply iterate through the
list until a matching rule is found.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list