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 ?



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to