The calculated distance (air line) between Melgar and Palmira is approximately 124 miles respectively 199 kilometers.
By car or train, the actual journey to Palmira is certainly longer, as only the direct route (as the crow flies) between Melgar and Palmira has been calculated here.