A measuring device for measuring magnetic properties in a vicinity of the measuring device, in connection with a sensor line having sensor elements, includes a magnetization device for generating a magnetic field substantially homogeneous in a region of the sensor line, the field direction of the magnetic field, in the region of the sensor line, being at an angle of greater than 0° and less than 90° to the direction of the sensor line.