[GRASS-user] Import postgis vector form schema

Martin Landa landa.martin at gmail.com
Thu Feb 9 07:00:18 EST 2012


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


More information about the grass-user mailing list