This information is derived from open signalling data, which the signalling system _has_ to track to operate trains safely and identify their locations.
The reality is the illusion of pinpoint accuracy is a figment of this site's imagination; this site is using some creative license to guess the precise location of trains.