The calculated distance (air line) between Xi’an and Yima is approximately 172 miles respectively 276 kilometers.
By car or train, the actual journey to Yima is certainly longer, as only the direct route (as the crow flies) between Xi’an and Yima has been calculated here.