On Thu, 22 Mar 2012, Helmut Kudrnovsky wrote:

v.out.ogr input=polygons type=area \
         dsn="PG:host=localhost dbname=postgis user=postgres" \
         olayer=polymap format=PostgreSQL

missing format definition?

Helmut,

  Er, looks like I did forget the format definition.

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

  I'll give this a try. I can then delete the original map and copy the new
one back to the project mapset.

  Will let everyone know how this works.

Thanks,

Rich

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to