Re: [gdal-dev] I can't get ogr2ogr to overwrite an existing table

2017-04-08 Thread Stephen Woodbridge
On 4/8/2017 12:29 PM, Even Rouault wrote: On vendredi 7 avril 2017 15:59:49 CEST Stephen Woodbridge wrote: > Hi all, > > I'm having trouble figuring out how to overwrite an existing table with > ogr2ogr. I have tried various combos of arguments without success. > > What am I doing wro

Re: [gdal-dev] I can't get ogr2ogr to overwrite an existing table

2017-04-08 Thread Even Rouault
On vendredi 7 avril 2017 15:59:49 CEST Stephen Woodbridge wrote: > Hi all, > > I'm having trouble figuring out how to overwrite an existing table with > ogr2ogr. I have tried various combos of arguments without success. > > What am I doing wrong? I'm not sure. Similar requests work for me with G

Re: [gdal-dev] I can't get ogr2ogr to overwrite an existing table

2017-04-07 Thread Saulteau Don
just a guess, thinking off the top of my head but does it need the -update flag too? On Fri, Apr 7, 2017 at 1:59 PM, Stephen Woodbridge wrote: > Hi all, > > I'm having trouble figuring out how to overwrite an existing table with > ogr2ogr. I have tried various combos of arguments without success

[gdal-dev] I can't get ogr2ogr to overwrite an existing table

2017-04-07 Thread Stephen Woodbridge
Hi all, I'm having trouble figuring out how to overwrite an existing table with ogr2ogr. I have tried various combos of arguments without success. What am I doing wrong? ogr2ogr -t_srs EPSG:4326 -nln roads -nlt PROMOTE_TO_MULTI -f PostgreSQL -overwrite -lco OVERWRITE=YES -lco PRECISION=NO -l