We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 5e061b1 commit e338a90Copy full SHA for e338a90
python/plugins/processing/algs/qgis/Merge.py
@@ -61,13 +61,12 @@ def defineCharacteristics(self):
61
62
def processAlgorithm(self, progress):
63
inLayers = self.getParameterValue(self.LAYERS)
64
- paths = inLayers.split(';')
65
66
layers = []
67
fields = QgsFields()
68
totalFeatureCount = 0
69
- for x in range(len(paths)):
70
- layer = QgsVectorLayer(paths[x], str(x), 'ogr')
+ for layerSource in inLayers.split(';'):
+ layer = dataobjects.getObjectFromUri(layerSource)
71
72
if (len(layers) > 0):
73
if (layer.wkbType() != layers[0].wkbType()):
0 commit comments