1. A device for measuring a parking space as a vehicle drives by the parking space, comprising: at least one sensor located on the vehicle and movable with the vehicle for acquiring data concerning the environment surrounding the vehicle in a horizontal direction transverse to a longitudinal direction of the vehicle, wherein the at least one sensor is a depth-measuring line scan camera, wherein the acquired data concerning the environment surrounding the vehicle are configured to be one-dimensionally resolved in an additional direction transverse to a longitudinal direction of the vehicle, and wherein the data concerning the environment surrounding the vehicle contain brightness information and depth information resolvable in the additional direction; an arrangement configured to acquire data regarding movement of the vehicle as the vehicle drives past the parking space; and at least one evaluation device configured to evaluate the data.