Changes between Version 7 and Version 8 of rfc13_createfeatures


Ignore:
Timestamp:
May 17, 2007, 5:35:37 AM (17 years ago)
Author:
Kosta
Comment:

added C API functions

Legend:

Unmodified
Added
Removed
Modified
  • rfc13_createfeatures

    v7 v8  
    6363The following new virtual method is added to the OGRLayer class, with an analogous C function:
    6464{{{
    65 virtual OGRErr DeleteFeatures( OGRFeature** papoFeatures, int iFeatureCount );
     65virtual OGRErr DeleteFeatures( long *panFIDs, int iFIDCount );
    6666}}}
    6767
     
    8484Individual drivers can override the default implementation and can implement an optimized algorithm for deleting a set of features.
    8585
     86'''C API functions'''
     87
     88The following C functions are added:
     89{{{
     90OGRErr OGR_L_CreateFeatures( OGRFeature** papoFeatures, int iFeatureCount );
     91OGRErr OGR_L_SetFeatures( OGRFeature** papoFeatures, int iFeatureCount );
     92OGRErr OGR_L_DeleteFeatures( long* panFIDs, int iFIDCount );
     93}}}
     94
     95However, there are some issues with adding plain C arrays to the public OGR interface due to the SWIG based wrapping, see for example [http://lists.maptools.org/pipermail/gdal-dev/2007-May/013092.html GDAL-Dev Mail from Tamas]...
     96
    8697'''Additional Notes'''
    8798
     
    10111215-May-2007: !SetFeatures() added[[BR]]
    10211316-May-2007: !DeleteFeatures() added[[BR]]
     11417-May-2007: C API functions added; SWIG wrapping issues mentioned[[BR]]