[GRASS-user] Problems with v.external

Hamish hamish_nospam at yahoo.com
Sun Dec 9 06:01:48 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?
>
Hamish:
> > 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.
>
Andreas:
> yes, this seems to be the case. Any ideas on why the quotes are removed? I
> compiled against a nightly version of gdal, somewhere between 1.4.3 and
> 1.5. I can try with 1.5 again.


are you running it from the command line or gui? what platform? (win/lin/mac)
in a script?


Hamish



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



More information about the grass-user mailing list