[GRASS-user] Import postgis vector form schema
matteo poletti
pollo1_91 at yahoo.it
Wed Feb 8 18:59:46 EST 2012
Hi,
I tried to import a postgis layer from a non public schema.
I used this commands according to the documentation (http://grass.fbk.eu/gdp/html_grass64/v.in.ogr.html):
> db.connect driver=pg database="host=aaa,dbname=bbb" schema=administrative
> db.login user=_____ 'password=******'
> db.connect -p
driver:pg
database:host=aaa,dbname=bbb
schema:administrative
group:
> db.tables -p
...
administrative.test
...
> v.in.ogr dsn=./ layer=test output=prova1
ERROR: Unable to open data source <./>
I'm using GRASS 6.4.0. Command such
v.in.ogr dsn='PG:host=aaa dbname=bbb user=____ password=*****' output=prova layer=prova
worked since prova is in the public schema.
Many thanks!
Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120208/230df3b7/attachment-0001.html
More information about the grass-user
mailing list