[GRASS-user] v.in.ogr from PostGIS

Leonardo Lami lami at faunalia.it
Wed Apr 9 11:54:19 EDT 2008


Hi all,

I'm trying to import a PostGIS table in GRASS by v.in.ogr.
in this table there is a field 'id' that is a primary key, the 
importation works well and I have a correct GRASS vector but if I look 
the table I see that the field 'id' lacks.

If i make the same operation with a copy of the original PostGIS table, 
where the field 'id' is not a primary key, I have a GRASS vector with 
the field 'id' is present on its table.

Do you know if this is a problem of v.in.ogr or of the ogr library?

Thank you
Leonardo


More information about the grass-user mailing list