Le mercredi 06 juillet 2011 17:11:31, Luke Peterson a écrit : > On Sat, Jul 24, 2010 at 10:31PM, Chaitanya kumar CH <chaitanya.ch at > Hum, wait, how come can you use CopyLayer() to append to an existing table ? CopyLayer() is supposed to create a new layer, so I don't see how it would work with an existing target layer.
Actually I've just tested it to append to an existing Postgis table, and as expected, I get : ERROR 1: Layer XXXXXX already exists, CreateLayer failed. Use the layer creation option OVERWRITE=YES to replace it. So, I don't even understand how you manage to get to the point where features are about to be inserted... So I'm not sure at all the PRESERVE_FID option makes sense. Or do I miss something ?? _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
