[GRASSLIST:6074] GRASSLIST@baylor.edu

Hi,

I just started to use GRASS 5.0.1 and I encountered a problem with viewing the colorfilled polygons after sending a SQL query. In fact, the query is well interpreted and there is no problem signalised. It may just be the result of my huge ignorance: as I just say, I am a real beginner.

Could someone try to view the same thing as me:

0. I createdb the database States,
1. I imported the shape file in GRASS without problem with 'v.in.shape',
2. I imported the dbf file also without problem with 'pg.in.dbf',
3. I run 'g.select.pg database=States',
3. then I use 'd.vect.pg' with query 'pop1990 > 10000000':

This is the answer that I get:

     Executing
     select pop1990 from states where pop1990 > 10000000
     ;

     7 Rows

But then on the monitor x0, I visualize nothing.

The g.region is set to
latmin = 23degrees
latmax = 56degrees
longmin = -126degrees
longmax = -66degrees
and I can visualize the boundaries of USA with 'd.vect States' !
Only d.vect.pg does not work !

Can anyone help me ?

Bruno

(attachments)

States.dbf (21.9 KB)
States.shp (217 KB)
States.shx (508 Bytes)