I have a polygon layer that shows a parking area where one of the attributes is the number of parking spaces. I would like to get, instead of a polygon, a layer of points that will be evenly scattered over the polygon and the number of these dots for the polygon depends on the attribute "number of spaces".
An example:
