Spacetime coordinate transformation