[GRASS-user] Import postgis vector form schema
matteo poletti
pollo1_91 at yahoo.it
Thu Feb 9 08:02:15 EST 2012
> this example seems very weird to me.
Same for me, I thought that db.connect would create some files in ./ but this is not true.
> From user POV I would assume
> db.connect driver=pg database=test schema=user1 group=group1
> db.login driver=pg database=test user=user1 password=pwd1
> v.in.ogr dsn=*PG:dbname=test* layer=river output=river # -> table
> user1.river
> db.select table=user1.river
I've tried also this but still no results...
________________________________
Da: Martin Landa <landa.martin at gmail.com>
A: matteo poletti <pollo1_91 at yahoo.it>
Cc: GRASS list <grass-user at lists.osgeo.org>
Inviato: Giovedì 9 Febbraio 2012 13:00
Oggetto: Re: [GRASS-user] Import postgis vector form schema
Hi,
2012/2/9 matteo poletti <pollo1_91 at yahoo.it>:
> In the manual page http://grass.fbk.eu/gdp/html_grass64/v.in.ogr.html,
> section "Support of database schema", there is an example in which is used
> <./>.
this example seems very weird to me. From user POV I would assume
db.connect driver=pg database=test schema=user1 group=group1
db.login driver=pg database=test user=user1 password=pwd1
v.in.ogr dsn=*PG:dbname=test* layer=river output=river # -> table
user1.river
db.select table=user1.river
`./` means that OGR tries to open current directory as a data-source.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120209/829b420c/attachment-0001.html
More information about the grass-user
mailing list