Diffeomorphism invariant measure for finite-dimensional geometries