[GRASS5] Re: grass5 digest, Vol 1 #1667 - 4 msgs

On 5/14/05 4:01 AM, “grass5-request@grass.itc.it” grass5-request@grass.itc.it wrote:

Why not an icon in GIS Manager?
Select the vector map in the list and press the thematic icon. It
have to extract the vector name automatically.

OK. I’m working on this. I’ve got the basic interface done and now need to add in the thematic code. The main issue I see at this point is how to create even a text legend. I thought I might be able to do it using d.graph, but this only shows the standard GRASS colors AFAICT (.e.g., red, green, blue,…). I need to learn how to send tcltk output to a new and different window. I can get it into a file, but users will want to see the results without opening the file.

Other future option:

  • thematic mapping for TEXT values. Unique values

This depends first on whether the GRASS subset of SQL will produce a unique value query. This is the easiest way to go, but I don’t remember seeing the ‘unique’ keyword in the SQL list. There are other ways to do this (the way I did v.lda, for example) but they aren’t as straightforward.

Great work Michael

Thanks very much.

Michael


C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

[d.vect.thematic legends]

OK. I¹m working on this. I¹ve got the basic interface done and now
need to add in the thematic code. The main issue I see at this point
is how to create even a text legend. I thought I might be able to do
it using d.graph, but this only shows the standard GRASS colors AFAICT
(.e.g., red, green, blue,...).

d.graph is now updated in CVS to take RGB triplets.

enjoy,
Hamish