Recording or indicating positions or identities of vehicles or vehicle trains or setting of track apparatus