[gdal-dev] how to test the creation and deletion capability of ogr?
atubar
atubar at 126.com
Thu Oct 15 10:48:55 EDT 2009
Hi,
I want to take a test about the capability of creation and deletion for all supported formats of ogr .
The code like below, The parameter "const char" are copied from api doc. But all flag return a value of 0, why ?
int flag;
flag=poDriver->TestCapability("ODrCCreateDataSource");
if(flag==TRUE)
cout<<endl<<" --Supported Creation. "<<endl;
flag=poDriver->TestCapability("ODrCDeleteDataSource");
if(flag==TRUE)
cout<<endl<<" --Supported Deletion. "<<endl;
Many funcions need const char * params, is there a list of these values ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20091015/e028ace0/attachment-0001.html
More information about the gdal-dev
mailing list