copy_layer
fio.GeomSource.copy_layer(layer, layer_fn)Copy a layer to an existing dataset.
Bit of a spoof off of create_layer_from_copy. This method is a bit more forcing and allows to set it’s own variable as layer name. Only in write ('w') mode.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| layer | ogr.Layer |
description | required |
| layer_fn | str | description | required |