[GRASS-user] Problems with v.external

Andreas Neumann a.neumann at carto.net
Wed Dec 5 01:57:26 EST 2007


yes, PostgreSQL works in ogr. I also use it to import Interlis data to
Postgis.

Supported Formats:
  -> "ESRI Shapefile" (read/write)
  -> "MapInfo File" (read/write)
  -> "UK .NTF" (readonly)
  -> "SDTS" (readonly)
  -> "TIGER" (read/write)
  -> "S57" (read/write)
  -> "DGN" (read/write)
  -> "VRT" (readonly)
  -> "AVCBin" (readonly)
  -> "REC" (readonly)
  -> "Memory" (read/write)
  -> "CSV" (read/write)
  -> "GML" (read/write)
  -> "KML" (read/write)
  -> "Interlis 1" (read/write)
  -> "Interlis 2" (read/write)
  -> "PostgreSQL" (read/write)
  -> "GRASS" (readonly)

Seems to be another problem. Maybe with the quotes ...

Andreas


>
> hi Andreas,
>
> it seems to work here. Could it be that your OGR installation is
> not compiled with PG support?
> ogrinfo --formats
> tells you.
>
> Markus
>
>
> Andreas Neumann-7 wrote:
>>
>> Hello,
>>
>> 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?
>>
>> Thanks for any hints,
>> 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)
>>
>
> --
> View this message in context:
> http://www.nabble.com/Problems-with-v.external-tf4944319.html#a14159258
> Sent from the Grass - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


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