[GRASS-user] Problems with v.external

Andreas Neumann a.neumann at carto.net
Wed Dec 5 02:03:25 EST 2007


see comments below:

> 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.

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.

Andreas

-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann at carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)



More information about the grass-user mailing list