(EN) What is described is a configuration for determining the position of a body along a movement direction, wherein the body is in the form of a magnetized encoder with two magnetic tracks extending, on one surface of the body, along the movement direction, at least essentially in parallel with one another, wherein, at specified intervals along the movement direction, a first of the magnetic tracks exhibits magnetized sections in which the magnetic north poles are aligned so as to be at least largely coincident in a magnetization direction that is essentially at right-angles to the surface of the body, and wherein, at intervals specified to coincide with the above-mentioned intervals along the movement coordinate, the second of the magnetic tracks exhibits magnetized sections in which the magnetic south poles are aligned so as to be at least largely coincident in the said magnetization direction, and wherein, in each case, a magnetized section of one of the magnetic tracks is located at least largely centrally in relation to a gap between two magnetized sections of the other magnetic track, with a magnetoresistive sensor, in the form of an angle sensor, which is arranged above the magnetic tracks, for determining the directions of magnetic fields brought about by the magnetized sections of the magnetic tracks in an area extending along the movement coordinate, essentially in parallel with the surface of the body. By virtue of the invention, a simple configuration for the precise determination of the position of a body along a movement direction is created, wherein this configuration does not necessarily have to be affixed centrally upstream of the head of the body.