Hi Even,

thanks for clarification

2010/10/6 Even Rouault <[email protected]>:
> 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
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to