[GRASSLIST:1565] problems with using d.rast.pg

an lu anlu999 at yahoo.com
Wed Mar 7 17:18:12 EST 2001


Hi,

in grass5.0, i try to use d.rast.pg to generate and
display a reclass map.

first, i used :
   d.rast.pg key=sect_id tab=rd_tb col=speed
where={rd_tb.speed>60.0} input=rd_map out=new_map

--which all the parameters follow the specification of
the manual( except the where clause, which is not
specified by the manual)

the error info. i got is:
    can not indentify ">", you will have to retype
this query using an explicit cast.

but i can do such query in psql directly.

then i try to use:
  d.rast.pg -s sql=f input=rd_map output=new_map  
 with f:
  retrieve unique (color_map002.sect_id,          
color_map003.sect_id)
where color_map003.color="green"

getting the error info. : parse error at or near
"retieve".

could anyone tell me how to fix it?

thanks in advance.

--lu  


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




More information about the grass-user mailing list