The short answer is: no. The "medium length" answer is: It's not possible, butIf you can achieve this usingjust need a virtual layerlist of coordinates, the answer by @Dror Bogin is the way to got.
The long answer is: I is not to be possibleIf you want to create thehave coordinates using expressions. Geometry generator does not create individual pointsper vertex (vertices)e. So you can't create new features, every vertex of the polygon will always be part of the polygon feature, so you can't address the points individually to get their coordinatesg. Also the attribute table of the polygons has just one entry per polygon featureto label them), so how could you individualise the points there? "it is not possible" is notcan't do this using without creating a solution, but at least an answernew layer.
But there is a good alternative: You can create a virtual layer with this solution proposed by @J. Monticolo: https://gis.stackexchange.com/a/382382/88814 - it works great even for complex multipart geometries with holes.
You can than very easily create a (virtual) field on this virtual layer for the coordinates using $x
and $y
.
Geometry generator however does not create individual points (vertices). So you can't create new features, every vertex of the polygon will always be part of the polygon feature, so you can't address the points individually to get their coordinates. Also the attribute table of the polygons has just one entry per polygon feature, so you can't individualise the points there.