[GRASSLIST:10396] unable to display PostGIS layer
Martin Landa
landa.martin at gmail.com
Sat Feb 18 13:10:55 EST 2006
Hi all,
I have created a PostGIS layer by v.out.ogr.
v.out.ogr in=cr olayer=cr dsn="PG:dbname=pgis_cr" type=area
format="PostgreSQL"
Then trying to display this layer in QGIS I get the following errors:
No oid column in table ...
~
Qgis row key was not set.
public.cr (wkb_geometry) sql= is an invalid layer - not loaded
Fresh CVS GRASS & QGIS
PostGIS 1.1.1
GDAL/OGR 1.3.1
Best regards, Martin
ps: ALTER TABLE cr RENAME ogc_fid to oid; helped, but I don't like
this solution...
More information about the grass-user
mailing list