Hi
When using the config PG_USE_COPY option the copy command does not include the
destination FID in the field list. In my case the destination FID field is a
primary key with a not null constraint, so the copy fails.
e.g.
ogr2ogr --config PG_USE_COPY TRUE -append -preserve_fid -f "PostgreSQL"
Le mardi 07 février 2012 00:41:38, Even Rouault a écrit :
> Le mardi 07 février 2012 00:23:20, Billy Newman a écrit :
> > Is the DataSource.delete() method (from java binding) thread safe?
>
> Yes, it should
To avoid any ambiguities, you can call the delete() method on 2 distinct
datasources"si
Le mardi 07 février 2012 00:23:20, Billy Newman a écrit :
> Is the DataSource.delete() method (from java binding) thread safe?
Yes, it should
>
> Thanks
>
> On Wed, Jan 11, 2012 at 3:09 PM, Even Rouault
>
> wrote:
> > **
> >
> > Le mercredi 11 janvier 2012 22:32:45, Billy Newman a écrit :
> >
Is the DataSource.delete() method (from java binding) thread safe?
Thanks
On Wed, Jan 11, 2012 at 3:09 PM, Even Rouault
wrote:
> **
>
> Le mercredi 11 janvier 2012 22:32:45, Billy Newman a écrit :
>
> > I am using a third party lib (imageio-ext) to leverage gdal in java code.
>
> > I have notice
The ticket is sort of a mess as there are 2 experimental features in there...
I have updated the ticket with more information and a modified shell script.
Etienne
On Mon, Feb 6, 2012 at 2:29 PM, Hermann Peifer wrote:
> On 06/02/2012 14:52, Etienne Tourigny wrote:
>>
>>
>> I have been working on
On 06/02/2012 14:52, Etienne Tourigny wrote:
I have been working on experimental EPSG lookup, see ticket #4345
http://trac.osgeo.org/gdal/ticket/4345
It requires gdalsrsinfo from gdal-1.9 and some extra data files
installed in the gdal data directory (see the ticket)
It could perhaps be an
Alessandro,
unfortunately there is not a reliable tool on GDAL at the moment, but
I have been working on experimental EPSG lookup, see ticket #4345
http://trac.osgeo.org/gdal/ticket/4345
It requires gdalsrsinfo from gdal-1.9 and some extra data files
installed in the gdal data directory (see the
Is it possible to get a SRID code from an ESRI shapefile?
For example, I've got the following:
~ $ ogrinfo -al LC_FIN_smooth.shp | head -n 30
INFO: Open of `LC_FIN_smooth.shp'
using driver `ESRI Shapefile' successful.
Layer name: LC_FIN_smooth
Geometry: Polygon
Feature Count: 33308
Extent: