[GRASSLIST:6074] GRASSLIST@baylor.edu

Bruno GUILLAUME guib at aero.obs-mip.fr
Thu Apr 17 08:54:56 EDT 2003


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: States.dbf
Type: application/octet-stream
Size: 22423 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20030417/0e6b00ec/States.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: States.shp
Type: application/octet-stream
Size: 222344 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20030417/0e6b00ec/States-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: States.shx
Type: application/octet-stream
Size: 508 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20030417/0e6b00ec/States-0002.obj


More information about the grass-user mailing list