wradlib.georef.vector.ogr_copy_layer

wradlib.georef.vector.ogr_copy_layer(src_ds, index, dst_ds, reset=True)

Copy OGR.Layer object.

Copy OGR.Layer object from src_ds gdal.Dataset to dst_ds gdal.Dataset

Parameters:
  • src_ds (gdal.Dataset) – object
  • index (int) – layer index
  • dst_ds (gdal.Dataset) – object
  • reset (bool) – if True resets src_layer