[gdal-dev] SQLite/SpatiaLite driver capabilities

Alexander Bruy alexander.bruy at gmail.com
Wed Oct 6 15:58:07 EDT 2010


Hi Even,

thanks for clarification

2010/10/6 Even Rouault <even.rouault at mines-paris.org>:
> Le mercredi 06 octobre 2010 20:17:29, Alexander Bruy a écrit :
>> Hi,
>>
>> Seems, that OGR reports wrong capabilities for SQLite/SpatiaLite layers.
>> At least for DeleteFeature capability. I always get FALSE when test this
>> capability, but I can delete features from layer passing to the ExecuteSQL
>> method DELETE statement.
>
> There are sometimes inconsistencies between actual capabilities and reported
> capabilities, which is a bug then.
>
> But in that case, it is not a bug. the DeleteFeature capability must be
> reported if the layer has an implementation of OGRLayer::DeleteFeature(),
> which the SQlite driver has not. The fact that it the SQLite SQL engine can
> process DELETE statements doesn't influence that fact.
>
>>
>> Is this bug or feature?
>
> So this is a "feature"

-- 
Alexander Bruy


More information about the gdal-dev mailing list