[gdal-dev] OCI driver supports DeleteLayer but reports otherwise

Even Rouault even.rouault at mines-paris.org
Thu Oct 21 17:05:02 EDT 2010


Le jeudi 21 octobre 2010 22:50:25, Anders Moe a écrit :
> Hi everyone
> 
> Just did a
> 
>   svn checkout https://svn.osgeo.org/gdal/trunk/gdal gdal
> 
> 
> The OGR/OCI driver seems to have a functional ::DeleteLayer but does not
> report this as a capability. Therefore, it will not respond to
> 
> ogr2ogr   -overwrite
> 
> either. However the SQL command DELLAYER is understood, which in turn calls
> 
> ::DeleteLayer.

Perhaps you should open a ticket to track that.

> 
> I think the sqlite driver has a similar inconsistency.

It wasn't actually implementing the exact expected interface, but it was doing 
99% of the job, so I've just implemented the 1% missing.

> 
> Cheers,
> Anders


More information about the gdal-dev mailing list