girs.feat.proc.merge

merge(layers, target=None, layers_numbers=None, field_names=None)

Merge features from given layers

Parameters:
  • layers – a list of ogr layers, ogr datasets, or filenames
  • target
  • layers_numbers – list of layers numbers used for layers ogr-dataset or filename. If layers_numbers = None, the first layer will be used (layers_number=0). If the length of layers_numbers is less then the length of layers, the list layers_numbers will be completed with zeros.
  • field_names
Returns: