Reconstructing space-time from world-lines of charged particles