Skip to content

Commit

Permalink
Doc: SetIgnoredFields(): clarify interaction with SetAttributeFilter()
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Apr 15, 2024
1 parent 5beb5cf commit 1ad1455
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ogr/ogrsf_frmts/ogrsf_frmts.dox
Original file line number Diff line number Diff line change
Expand Up @@ -3147,6 +3147,10 @@ form depending on the limitations of the format driver.

By default, no fields are ignored.

Note that fields that are used in an attribute filter should generally not be set as
ignored fields, as most drivers (such as those relying on the OGR SQL engine)
will be unable to correctly evaluate the attribute filter.

This method is the same as the C function OGR_L_SetIgnoredFields()

@param papszFields an array of field names terminated by NULL item. If NULL is passed, the ignored list is cleared.
Expand All @@ -3167,6 +3171,10 @@ form depending on the limitations of the format driver.

By default, no fields are ignored.

Note that fields that are used in an attribute filter should generally not be set as
ignored fields, as most drivers (such as those relying on the OGR SQL engine)
will be unable to correctly evaluate the attribute filter.

This method is the same as the C++ method OGRLayer::SetIgnoredFields()

@param hLayer handle to the layer
Expand Down

0 comments on commit 1ad1455

Please sign in to comment.