The dataset contains 5G positioning measurements simulated using a MATLAB raytracer tool in realistic environments (outdoors and indoors). Outdoor scenarios include static and dynamic users in the urban area of Città Studi, Milan, Italy, near the Politecnico di Milano - Campus Leonardo. The indoor context is reconstructed using a LiDAR acquisition in the MADE Competence Center I4.0 located in Politecnico di Milano - Campus Durandò, Bovisa, Milan, Italy. The datasets include: