Re: [gdal-dev] OGRDataSource::CopyLayer

2014-01-28 Thread Ivan Lucena
Even, > From: even.roua...@mines-paris.org > To: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] OGRDataSource::CopyLayer > Date: Tue, 28 Jan 2014 20:50:26 +0100 > CC: lucena_i...@hotmail.com > > Le mardi 28 janvier 2014 19:52:26, Ivan Lucena a écrit : > > Hi ther

Re: [gdal-dev] OGRDataSource::CopyLayer

2014-01-28 Thread Even Rouault
Le mardi 28 janvier 2014 19:52:26, Ivan Lucena a écrit : > Hi there, > > I have question/suggestion about that method. When it goes though the loop > it calls the driver's CreateField several times, depending on the number > of columns on the table. In a DBMS environment, at that point the table i

[gdal-dev] OGRDataSource::CopyLayer

2014-01-28 Thread Ivan Lucena
Hi there, I have question/suggestion about that method. When it goes though the loop it calls the driver's CreateField several times, depending on the number of columns on the table. In a DBMS environment, at that point the table is already created and the only thing the driver's CreateField()

[gdal-dev] OGRDataSource::CopyLayer, PostGIS

2012-05-09 Thread Rui L. Pires
Hello everyone, when using the method OGRDataSource::CopyLayer with a PostGIS data source my data gets copied perfectly, however I'm seeing that the sequence for the feature id is not properly set up to the last existing id (ie. the current stays at 1). Obviously attempting to create a new featur