[GRASS-user] Problems with v.external

Hamish hamish_nospam at yahoo.com
Tue Dec 4 20:12:35 EST 2007


Andreas Neumann wrote:
> I am trying to use postgis datasets read-only using v.external. However, I
> am having problems. Here is my command:
> 
> v.external dsn="PG:host=localhost dbname=uster user=an password=mypw"
> layer=natur.naturnahe_gaerten output=gaerten
> 
> And here is my error message:
> 
> Sorry, <dbname> is not a valid parameter
> Sorry, <user> is not a valid parameter
> Sorry, <password> is not a valid parameter
> 
> I expected to run into problems with schemas, maybe, but not with the
> login. What am I doing wrong in the dsn parameters?


For some reason the "quotes" are being removed from your command and so the PG:
settings are being treated as command line parameters to v.external. As
v.external doesn't have those options, you get the error message from the GRASS
command line parser.


Hamish



      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ


More information about the grass-user mailing list