Hi All,<br><br>I&#39;m trying export a layer overwriting the table in PostGIS fortmat:<span id="result_box" class="short_text" lang="en"><span title="Clique para mostrar traduções alternativas" class="hps"></span></span><br>
<br>v.out.ogr -c input=&quot;bacia_usuario&quot; type=area &#39;dsn=PG:host=localhost 
dbname=gis user=marcello password=mypass&#39; olayer=bacia_1 layer=1 
format=PostgreSQL<br><br>but the prompt show the message: <br><br>ERROR 1: Layer bacia_1 already exists, CreateLayer failed.<br>Use the layer creation option OVERWRITE=YES to replace it.<br>ERROR: Unable to create OGR layer<br>
<br>So I tried using this commands, with no results:<br><br>v.out.ogr -c input=&quot;bacia_usuario&quot; type=area &#39;dsn=PG:host=localhost dbname=gis user=marcello password=mypass&#39; olayer=bacia_1 layer=1 format=PostgreSQL <b>--overwrite</b><br>
<br clear="all">v.out.ogr -c <b>OVERWRITE=YES</b> input=&quot;bacia_usuario&quot; type=area &#39;dsn=PG:host=localhost 
dbname=gis user=marcello password=mypass&#39; olayer=bacia_1 layer=1 
format=PostgreSQL<br><br>What is the correct way to do this?<br><br>Thanks in advance,<br>-- <br><b>Marcello Benigno B. de Barros Filho</b><br><font size="1">Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB<br>
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE<br><a href="http://profmarcello.blogspot.com" target="_blank">http://profmarcello.blogspot.com</a></font><div><a href="http://about.me/marcello.benigno" target="_blank"><font size="1">http://about.me/marcello.benigno</font></a></div>
<br>