I can think of a slightly hacky way. Use the 'Basic Statistics for Field' algorithm, and since your field will have a single value, use either the Minimum or Maximum value output from it (works for string fields too) as the parameter for another algorithm. [image: Logo] <https://spatialthoughts.com/> Ujaval Gandhi Spatial Thoughts mobile: +91-8095684687 email: [email protected] [image: LinkedIn icon] <https://www.linkedin.com/in/spatialthoughts/> [image: Twitter icon] <https://twitter.com/spatialthoughts> Subscribe to our newsletter http://bit.ly/spatialthoughts-newsletter
On Tue, Aug 11, 2020 at 1:23 PM Andreas Neumann <[email protected]> wrote: > Hi, > > In a model I aggregate values to a single feature. Then I would like to > extract a specific aggregated attribute to a string so I can use it as the > input parameter of another algorithm. > > I fail to find a way to do that. Aggregation works fine, string > concatenation as well, but I fail to find a way to extract an attribute of > a single feature to a string. > > Any ideas? > > I'm on QGIS 3.10, but if necessary I could also use a newer QGIS version. > > Thanks, > > Andreas > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
