>Used v.out.ogr to export from dbf to a postgres table v.out.ogr - Converts GRASS vector map to one of the supported OGR vector formats.
v.out.ogr export the entire vector map (geometry and attribute) not only the attribute table from the manual: http://grass.osgeo.org/grass64/manuals/html64_user/v.out.ogr.html Export to PostgreSQL/PostGIS Export areas from GRASS vector map directly to PostGIS: v.out.ogr input=polygons type=area \ dsn="PG:host=localhost dbname=postgis user=postgres" \ olayer=polymap format=PostgreSQL > v.out.ogr in=surface_h2o >type=point dsn="PG:dbname=buckhornmine" missing format definition? default format is shape-file what I would do (a very lazy way): - create a new mapset - using db.connect (Prints/sets general DB connection for current mapset and exits.) to define postgres as the mapset database backend - g.copy surface_h2o to the new mapset and the attribute table should be automagically in the postgres ----- best regards Helmut -- View this message in context: http://osgeo-org.1560.n6.nabble.com/v-out-ogr-Convert-Attribute-Database-tp4645995p4646386.html Sent from the Grass - Users mailing list archive at Nabble.com. _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
