I need to get the weighted centroid from a grid layer (according to an attribute of the polygons on this layer). For that, I am using the "mean coordinates" tool, but I realized that the yielded points are displaced from the place they should be located. This is clear when I apply a mean coordinate to just one feature, like in the image:
The red point is the one yielded by the mean coordinates, while the orange one appears to be the logic centroid for the selected feature (yellow piece from grid). Distance between both points is around 20m, but this distance it's not always the same for other cases (even though it's around that value).
Can this be due to having a different CRS for the grid from the project one?