Hi list,

I'm trying to design a model whose last step is to package 3 layers into one GeoPackage using the "Package layers" algorithm. The 3 layers are outputs from three distinct "Refactor fields" algorithms respectively.

When I run the model, I get only one layer into the GeoPackage named "Refactored". I believe this is because all three "Refactor fields" algorithms each outputs a layer named "Refactored". Thus the "Package layers" algorithm writes a layer named "Refactored", the overwrites it with the second layer, and overwrites the second one with the third layer. At the end only the last layer written is seen in the GeoPackage.

Is there a way to work around this ?

I've tried to change output name of the "Refactor fields" algorithm, but:

* it does not work if output type is "Model output" (layer name in Geopackage still is "Refactored"),

* it does work if output type is "Value", but then it creates intermediate GeoPackages that must be deleted manually.

Thanks.

--
Yann Voté - ygver...@lilo.org
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to