[GRASS-user] PostGIS
John Abraham
jabraham at ucalgary.ca
Fri Nov 16 00:54:08 EST 2007
>
> v.out.ogr creates this list on the fly, so if you don't see it, this
> might mean that your installation of ogr does not support PostgreSQL.
I have ogr2ogr installed (from FWTools142) and working now, and it
supports PostgreSQL. Is there a way to get grass63RC1 for windows to
use that ogr? I tried setting the path to the directory containing the
FWTools142 OGR, but I still get:
Unable to open data source <PG:host=localhost dbname=postgis user=John>
Full command and error message is:
v.in.ogr -l {dsn=PG:host=localhost dbname=postgis user=John}
min_area=0.0001 snap=-1
D2/3: G__read_Cell_head
D2/3: G__read_Cell_head_array
D3/3: region item: proj: 99
D3/3: region item: zone: 0
D3/3: region item: north: 792983.53551085
D3/3: region item: south: 587911.71541368
D3/3: region item: east: 473652.88022388
D3/3: region item: west: 247879.38013186
D3/3: region item: cols: 20
D3/3: region item: rows: 20
D3/3: region item: e-w resol: 11288.6750046
D3/3: region item: n-s resol: 10253.59100486
D3/3: region item: top: 1
D3/3: region item: bottom: 0
D3/3: region item: cols3: 11
D3/3: region item: rows3: 12
D3/3: region item: depths: 1
D3/3: region item: e-w resol3: 33.09079794
D3/3: region item: n-s resol3: 30.37584014
D3/3: region item: t-b resol: 1
Unable to open data source <PG:host=localhost dbname=postgis user=John>
--
John
More information about the grass-user
mailing list