1. A method for calculating a conformity between a representation of an environment and said environment, wherein said representation of the environment constitutes a representation in at least two dimensions, where a distance between two points in the representation has a known relation to the corresponding distance in said environment, wherein the method comprises estimating, with a mathematical model of a vehicle and on the basis of stored data, a first position for a point on the vehicle in said representation of the environment and, for said first estimated position in said representation of the environment, to calculate a first set of expected parameter values, comparing said computed first set of expected parameter values with a second set of stored parameter values, where said second set of stored parameter values has been determined for a second position, where said second position constitutes a position in said environment that essentially corresponds to said first estimated position, and calculating with the help of said comparison a measure of a conformity between said environment and said representation of the environment.