1. An apparatus for modifying a portion of a floor plan based on measurements made by one or more sensors, the apparatus comprising: a correction unit for compensating the sensor measurements for instrument errors; a layout unit for improving the conformity of the portion of the floor plan to a set of layout rules.