Hi All, I'm trying export a layer overwriting the table in PostGIS fortmat:
v.out.ogr -c input="bacia_usuario" type=area 'dsn=PG:host=localhost dbname=gis user=marcello password=mypass' olayer=bacia_1 layer=1 format=PostgreSQL but the prompt show the message: ERROR 1: Layer bacia_1 already exists, CreateLayer failed. Use the layer creation option OVERWRITE=YES to replace it. ERROR: Unable to create OGR layer So I tried using this commands, with no results: v.out.ogr -c input="bacia_usuario" type=area 'dsn=PG:host=localhost dbname=gis user=marcello password=mypass' olayer=bacia_1 layer=1 format=PostgreSQL *--overwrite* v.out.ogr -c *OVERWRITE=YES* input="bacia_usuario" type=area 'dsn=PG:host=localhost dbname=gis user=marcello password=mypass' olayer=bacia_1 layer=1 format=PostgreSQL What is the correct way to do this? Thanks in advance, -- *Marcello Benigno B. de Barros Filho* Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE http://profmarcello.blogspot.com http://about.me/marcello.benigno
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user