Re: [gdal-dev] OGR Geometry methods

2011-07-12 Thread Luke Peterson
t; Date: Tue, 12 Jul 2011 09:13:00 -0400 > Subject: Re: [gdal-dev] OGR Geometry methods > From: luke.peter...@gmail.com > To: mariusjigm...@hotmail.com > > > > - > Luke Peterson > - sent via mobile device - > On Jul 11, 2011 11:00 PM, "Marius Jigmond&q

Re: [gdal-dev] Append a shapefile to a postgis table using the GDAL/OGR Python interface

2011-07-06 Thread Luke Peterson
ic failure somewhere? Or is it a performance issue? Is there a discussion thread I could read to catch up on this? - Luke Peterson ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Append a shapefile to a postgis table using the GDAL/OGR Python interface

2011-07-06 Thread Luke Peterson
On Wed, Jul 6, 2011 at 3:56 PM, Even Rouault wrote: > Le mercredi 06 juillet 2011 21:46:58, Luke Peterson a écrit : >> What CopyLayer() is supposed to do (and the code I've written does) is >> create a new layer based on an existing layer, copies a field set from >&

Re: [gdal-dev] Append a shapefile to a postgis table using the GDAL/OGR Python interface

2011-07-06 Thread Luke Peterson
On Wed, Jul 6, 2011 at 2:47 PM, Even Rouault wrote: > Le mercredi 06 juillet 2011 17:11:31, Luke Peterson a écrit : >> On Sat, Jul 24, 2010 at 10:31PM, Chaitanya kumar CH > > Hum, wait, how come can you use CopyLayer() to append to an existing table ? > CopyLayer() is suppos

[gdal-dev] Append a shapefile to a postgis table using the GDAL/OGR Python interface

2011-07-06 Thread Luke Peterson
On Sat, Jul 24, 2010 at 10:31PM, Chaitanya kumar CH wrote: > >Esben, > >I am not sure why the value is not quoted in the error report. The >PostgreSQL driver quotes the string values. >When using CreateFeature() you need to make sure to set the feature's FID to >OGRNullFID using SetFID(OGRNullFID)