Opened 17 years ago
Closed 9 years ago
#1618 closed enhancement (fixed)
OGRFeatureDefn::removeFieldDefn() missing
Reported by: | Kosta | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.3 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Since I can add new field definitions to a feature definition, I would also like to remove them again...
Is there a reason for not providing OGRFeature::removeFieldDefn().
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 9 years ago
Milestone: | → 1.9.3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
There is a OGRLayer::DeleteField method since GDAL 1.9.0
http://gdal.org/1.11/ogr/classOGRLayer.html#aaebe7c671dca995549543eecf0f7a76a
Note:
See TracTickets
for help on using tickets.
After browsing a little bit more through the API docs, I think, the right (but still missing) method would be: OGRLayer::RemoveField() (in symmetry to OGRLayer::CreateField()