1. A method for calculating a conformity between an estimated representation of an environment and an actual 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 a first position for a point on a vehicle in said representation of the environment based on a mathematical model of the vehicle and stored data and, calculating a first set of expected parameter values for said first estimated position in said representation of the environment, 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 using said comparison for calculating a measure of a conformity between said actual environment and said representation of the environment.