> Nyall's tip with the temporary layer store just runs through nicely, but 
> nothing gets added to the layer pane after the script finished.

Sorry - missed something here. Because you're directly using the
output from the child algorithm as your algorithm's final output, you
should also pass the OUTPUT parameter value direct to the child
algorithm. So in

>
>      def processAlgorithm(self, parameters, context, feedback):
>          # qgis:pointsalonglines
>          params = {
>              'INPUT': parameters[self.INPUT],
>              'DISTANCE': parameters[self.DISTANCE],
>              'START_OFFSET': 0,
>              'END_OFFSET': 0,
>              'OUTPUT': 'memory:'
>          }

 'OUTPUT': 'memory:'

should be

 'OUTPUT': parameters[self.OUTPUT]

Nyall
_______________________________________________
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