The calculated distance (air line) between Santiago de Veraguas and David is approximately 102 miles respectively 163 kilometers.
By car or train, the actual journey to David is certainly longer, as only the direct route (as the crow flies) between Santiago de Veraguas and David has been calculated here.
Air line (approximately)
163 kilometers
88 nautical miles