I’m working with the Field Calculator in the Graphical Modeler and I’m stuck. I need to assign the feature id from a polygon layer (track) to a point layer (StopPoint) so that I can group together those points to later be connected by a line. The suggested expression works flawlessly in the Field Calculator from the toolbox but fails when run inside the Modeler. I get the error:
Layer 'track' could not be loaded.
array_to_string ( overlay_nearest( 'track', id ) )
Is there a solution to this problem, or a workaround using other algorithms in the modeler?
tracklayer already loaded in QGIS, so it is not an output of the modeler? In this case: did you load the teack layer to the modeler? How looks your modeler window?
join attributes by nearestor
join by location