Skip to content

Commit

Permalink
Update OGRLayer::GetDataset() documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Mar 27, 2024
1 parent 50cd7f1 commit 85ce499
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ogr/ogrsf_frmts/generic/ogrlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5644,8 +5644,9 @@ OGRErr OGR_L_SetActiveSRS(OGRLayerH hLayer, int iGeomField,

/** Return the dataset associated with this layer.
*
* NOTE: that method is implemented in very few drivers, and cannot generally
* be relied on.
* As of GDAL 3.9, GetDataset() is implemented on all in-tree drivers that
* have CreateLayer() capability. It may not be implemented in read-only
* drivers or out-of-tree drivers.
*
* It is currently only used by the GetRecordBatchSchema()
* method to retrieve the field domain associated with a field, to fill the
Expand All @@ -5670,8 +5671,9 @@ GDALDataset *OGRLayer::GetDataset()

/** Return the dataset associated with this layer.
*
* NOTE: that method is implemented in very few drivers, and cannot generally
* be relied on.
* As of GDAL 3.9, GetDataset() is implemented on all in-tree drivers that
* have CreateLayer() capability. It may not be implemented in read-only
* drivers or out-of-tree drivers.
*
* It is currently only used by the GetRecordBatchSchema()
* method to retrieve the field domain associated with a field, to fill the
Expand Down

0 comments on commit 85ce499

Please sign in to comment.