// Delete indicated feature from layer func (layer Layer) Delete(index int) error { return C.OGR_L_DeleteFeature(layer.cval, C.GIntBig(index)).Err() }
// Fetch a feature by its index func (layer Layer) Feature(index int) Feature { feature := C.OGR_L_GetFeature(layer.cval, C.GIntBig(index)) return Feature{feature} }
// Set feature identifier func (feature Feature) SetFID(fid int) error { return C.OGR_F_SetFID(feature.cval, C.GIntBig(fid)).Err() }
// Move read cursor to the provided index func (layer Layer) SetNextByIndex(index int) error { return C.OGR_L_SetNextByIndex(layer.cval, C.GIntBig(index)).Err() }
// Set maximum cache memory func SetCacheMax(bytes int) { C.GDALSetCacheMax64(C.GIntBig(bytes)) }