[GRASSLIST:7619] graduate color in NVIZ based on Postgres

Hi everybody,
d.vect.thematic script creted a colum in database named grassrgb
(which is a varchar column containing RRR:GGG:BBB values). Now, we
would like display this layer in NVIZ. Thematic classification should
be based on grassrgb colum. Is it possible to do that ?

Thank you,
Peter Misovic
Peter Sasvari

Peter,

In d.vect (also in GIS Manager), one of the options is to draw a map with
areas colored by the value of the GRASSRGB column.

Currently, this only works for fills of areas. Hopefully it will also work
for points and lines/boundaries soon.

Michael

On 7/19/05 12:27 PM, "Ing.Peter Misovic" <peter.misovic@gmail.com> wrote:

Hi everybody,
d.vect.thematic script creted a colum in database named grassrgb
(which is a varchar column containing RRR:GGG:BBB values). Now, we
would like display this layer in NVIZ. Thematic classification should
be based on grassrgb colum. Is it possible to do that ?

Thank you,
Peter Misovic
Peter Sasvari

____________________
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>

Hi Michael,
I've tried this functionality as the first step (in GIS manager), but with
no effect. But, I've applied this functionallity on points theme. This
should be a problem, hm. So, if I understand it well, there is no
functionality for displaing and color-based classifing database point layer
through GIS manager? Thank you for your time,

Peter

-----Original Message-----
From: owner-GRASSLIST@baylor.edu [mailto:owner-GRASSLIST@baylor.edu] On
Behalf Of Michael Barton
Sent: Wednesday, July 20, 2005 9:31 AM
To: Ing.Peter Misovic; GRASSLIST@baylor.edu
Subject: [GRASSLIST:7633] Re: graduate color in NVIZ based on Postgres

Peter,

In d.vect (also in GIS Manager), one of the options is to draw a map with
areas colored by the value of the GRASSRGB column.

Currently, this only works for fills of areas. Hopefully it will also work
for points and lines/boundaries soon.

Michael

On 7/19/05 12:27 PM, "Ing.Peter Misovic" <peter.misovic@gmail.com> wrote:

Hi everybody,
d.vect.thematic script creted a colum in database named grassrgb
(which is a varchar column containing RRR:GGG:BBB values). Now, we
would like display this layer in NVIZ. Thematic classification should
be based on grassrgb colum. Is it possible to do that ?

Thank you,
Peter Misovic
Peter Sasvari

____________________
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>

__________ NOD32 1.1173 (20050719) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

d.vect.thematic script creted a colum in database named grassrgb
(which is a varchar column containing RRR:GGG:BBB values). Now, we
would like display this layer in NVIZ. Thematic classification
should be based on grassrgb colum. Is it possible to do that ?

..

In d.vect (also in GIS Manager), one of the options is to draw a map
with areas colored by the value of the GRASSRGB column.

Currently, this only works for fills of areas. Hopefully it will also
work for points and lines/boundaries soon.

..

I've tried this functionality as the first step (in GIS manager), but
with no effect. But, I've applied this functionallity on points
theme. This should be a problem, hm. So, if I understand it well,
there is no functionality for displaing and color-based classifing
database point layer through GIS manager? Thank you for your time,

This isn't a NVIZ solution, but a dumb way of getting around the fact
that only areas respect the GRASSRBG column so far is to use v.buffer to
make your points into little areas and then "d.vect -a color=none" to
avoid drawing the boundary.

If I end up being the one who programs it (no sooner than 2 months from
now) d.vect type=point with GRASSRGB fill color for symbols should be
pretty easy to do, and then ps.map vareas,vpoints is the next priority.
I think someone else will have to do NVIZ.

Hamish

Peter,

You are correct, in that you can't use the values stored in a GRASSRGB
column to color points. I seem to remember that someone was working on
changing this.

This is in part why I wrote the thematic mapper script. Using
d.vect.thematic, you CAN create a thematic point (or line or area) map with
the colors varying according to the (numeric) value of one of the attribute
fields. It's pretty flexible for making such color-themed maps.

Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Peter Misovic <grass_konferencia@centrum.sk>
Date: Wed, 20 Jul 2005 19:24:54 +0200
To: <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:7641] Re: graduate color in NVIZ based on Postgres

Hi Michael,
I've tried this functionality as the first step (in GIS manager), but with
no effect. But, I've applied this functionallity on points theme. This
should be a problem, hm. So, if I understand it well, there is no
functionality for displaing and color-based classifing database point layer
through GIS manager? Thank you for your time,

Peter

-----Original Message-----
From: owner-GRASSLIST@baylor.edu [mailto:owner-GRASSLIST@baylor.edu] On
Behalf Of Michael Barton
Sent: Wednesday, July 20, 2005 9:31 AM
To: Ing.Peter Misovic; GRASSLIST@baylor.edu
Subject: [GRASSLIST:7633] Re: graduate color in NVIZ based on Postgres

Peter,

In d.vect (also in GIS Manager), one of the options is to draw a map with
areas colored by the value of the GRASSRGB column.

Currently, this only works for fills of areas. Hopefully it will also work
for points and lines/boundaries soon.

Michael

On 7/19/05 12:27 PM, "Ing.Peter Misovic" <peter.misovic@gmail.com> wrote:

Hi everybody,
d.vect.thematic script creted a colum in database named grassrgb
(which is a varchar column containing RRR:GGG:BBB values). Now, we
would like display this layer in NVIZ. Thematic classification should
be based on grassrgb colum. Is it possible to do that ?

Thank you,
Peter Misovic
Peter Sasvari

____________________
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>

__________ NOD32 1.1173 (20050719) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

Hallo Michael,
Thank you for your informations. We are using your script, it works well, it
created GRASSRGB column in database. It is ok, thank you. Now , me and my
friend are in a phase of learning basics of Grass capabilities, so
everything is new for US. We are learning Grass workflows etc.

Nice day.
Peter

-----Original Message-----
From: Michael Barton [mailto:michael.barton@asu.edu]
Sent: Thursday, July 21, 2005 11:02 PM
To: Peter Misovic; GRASSLIST@baylor.edu
Subject: Re: [GRASSLIST:7641] Re: graduate color in NVIZ based on Postgres

Peter,

You are correct, in that you can't use the values stored in a GRASSRGB
column to color points. I seem to remember that someone was working on
changing this.

This is in part why I wrote the thematic mapper script. Using
d.vect.thematic, you CAN create a thematic point (or line or area) map with
the colors varying according to the (numeric) value of one of the attribute
fields. It's pretty flexible for making such color-themed maps.

Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Peter Misovic <grass_konferencia@centrum.sk>
Date: Wed, 20 Jul 2005 19:24:54 +0200
To: <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:7641] Re: graduate color in NVIZ based on Postgres

Hi Michael,
I've tried this functionality as the first step (in GIS manager), but with
no effect. But, I've applied this functionallity on points theme. This
should be a problem, hm. So, if I understand it well, there is no
functionality for displaing and color-based classifing database point

layer

through GIS manager? Thank you for your time,

Peter

-----Original Message-----
From: owner-GRASSLIST@baylor.edu [mailto:owner-GRASSLIST@baylor.edu] On
Behalf Of Michael Barton
Sent: Wednesday, July 20, 2005 9:31 AM
To: Ing.Peter Misovic; GRASSLIST@baylor.edu
Subject: [GRASSLIST:7633] Re: graduate color in NVIZ based on Postgres

Peter,

In d.vect (also in GIS Manager), one of the options is to draw a map with
areas colored by the value of the GRASSRGB column.

Currently, this only works for fills of areas. Hopefully it will also work
for points and lines/boundaries soon.

Michael

On 7/19/05 12:27 PM, "Ing.Peter Misovic" <peter.misovic@gmail.com> wrote:

Hi everybody,
d.vect.thematic script creted a colum in database named grassrgb
(which is a varchar column containing RRR:GGG:BBB values). Now, we
would like display this layer in NVIZ. Thematic classification should
be based on grassrgb colum. Is it possible to do that ?

Thank you,
Peter Misovic
Peter Sasvari

____________________
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>

__________ NOD32 1.1173 (20050719) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

__________ NOD32 1.1175 (20050721) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

Hallo Hamish,
Thank you for your explanation, we shall try to do that way. We are looking
forward to use this functionality.

Peter

-----Original Message-----
From: owner-GRASSLIST@baylor.edu [mailto:owner-GRASSLIST@baylor.edu] On
Behalf Of Hamish
Sent: Thursday, July 21, 2005 11:18 AM
To: grass_konferencia@centrum.sk
Cc: GRASSLIST@baylor.edu
Subject: [GRASSLIST:7659] Re: graduate color in NVIZ based on Postgres

d.vect.thematic script creted a colum in database named grassrgb
(which is a varchar column containing RRR:GGG:BBB values). Now, we
would like display this layer in NVIZ. Thematic classification
should be based on grassrgb colum. Is it possible to do that ?

.

In d.vect (also in GIS Manager), one of the options is to draw a map
with areas colored by the value of the GRASSRGB column.

Currently, this only works for fills of areas. Hopefully it will also
work for points and lines/boundaries soon.

..

I've tried this functionality as the first step (in GIS manager), but
with no effect. But, I've applied this functionallity on points
theme. This should be a problem, hm. So, if I understand it well,
there is no functionality for displaing and color-based classifing
database point layer through GIS manager? Thank you for your time,

This isn't a NVIZ solution, but a dumb way of getting around the fact
that only areas respect the GRASSRBG column so far is to use v.buffer to
make your points into little areas and then "d.vect -a color=none" to
avoid drawing the boundary.

If I end up being the one who programs it (no sooner than 2 months from
now) d.vect type=point with GRASSRGB fill color for symbols should be
pretty easy to do, and then ps.map vareas,vpoints is the next priority.
I think someone else will have to do NVIZ.

Hamish

__________ NOD32 1.1174 (20050720) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com